Roxen.git / server / base_server / snmpagent.pike

version» Context lines:

Roxen.git/server/base_server/snmpagent.pike:1:   /* -  * $Id: snmpagent.pike,v 1.23 2008/07/09 20:49:36 mast Exp $ +  * $Id: snmpagent.pike,v 1.24 2008/08/15 12:33:54 mast Exp $    *    * The Roxen SNMP agent    * Copyright © 2001, Honza Petrous, hop@unibase.cz    *    * Author: Honza Petrous    * January 2001         RFC 1213 base MIB    system.* (all done)
Roxen.git/server/base_server/snmpagent.pike:155:    private object fd; // opened UDP port    private int inited; // flag    private int snmpinpkts;    private int snmpoutpkts;    private int snmpbadver;    private int snmpbadcommnames;    private int snmpbadcommuses;    private int snmpenaauth;    private mapping events;    private mixed co; -  private static object mib; +  private object mib;    private mapping vsdb; // table of registered virtual servers    private array dtraps; // delayed traps       array get_snmpinpkts() { return OBJ_COUNT(snmpinpkts); }    array get_snmpoutpkts() { return OBJ_COUNT(snmpoutpkts); }    array get_snmpbadver() { return OBJ_COUNT(snmpbadver); }    array get_snmpbadcommnames() { return OBJ_COUNT(snmpbadcommnames); }    array get_snmpbadcommuses() { return OBJ_COUNT(snmpbadcommuses); }    array get_snmpenaauth() { return OBJ_INT(snmpenaauth); }   
Roxen.git/server/base_server/snmpagent.pike:769:       //! External function for MIB object returning nothing    array get_null() { return OBJ_COUNT(0); }      } // SubMIBManager      // base external feeders      //! External function for MIB object 'system.sysDescr'   array get_description() { -  return OBJ_STR("Roxen Webserver SNMP agent v"+("$Revision: 1.23 $"/" ")[1]+" (devel. rel.)"); +  return OBJ_STR("Roxen Webserver SNMP agent v"+("$Revision: 1.24 $"/" ")[1]+" (devel. rel.)");   }      //! External function for MIB object 'system.sysOID'   array get_sysoid() {    return OBJ_OID(RISMIB_BASE_WEBSERVER);   }      //! External function for MIB object 'system.sysUpTime'   array get_sysuptime() {    return OBJ_TICK((time(1) - roxen->start_time)*100);