org.opennms.netmgt.capsd.snmp
Class SystemGroup
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.capsd.snmp.SystemGroup
- All Implemented Interfaces:
- Collectable
public final class SystemGroup
- extends AggregateTracker
SystemGroup holds the system group properties It implements the SnmpHandler
to receive notifications when a reply is received/error occurs in the
SnmpSession used to send requests /recieve replies.
- Author:
- Sowmya , Weave , OpenNMS
- See Also:
- RFC1213
|
Constructor Summary |
SystemGroup(InetAddress address)
The class constructor is used to initialize the collector and send out
the initial SNMP packet requesting data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYS_OBJECTID_ALIAS
public static final String SYS_OBJECTID_ALIAS
- See Also:
- Constant Field Values
SYS_UPTIME_ALIAS
public static final String SYS_UPTIME_ALIAS
- See Also:
- Constant Field Values
SYS_NAME_ALIAS
public static final String SYS_NAME_ALIAS
- See Also:
- Constant Field Values
SYS_DESCR_ALIAS
public static final String SYS_DESCR_ALIAS
- See Also:
- Constant Field Values
SYS_LOCATION_ALIAS
public static final String SYS_LOCATION_ALIAS
- See Also:
- Constant Field Values
SYS_CONTACT_ALIAS
public static final String SYS_CONTACT_ALIAS
- See Also:
- Constant Field Values
ms_elemList
public static NamedSnmpVar[] ms_elemList
The keys that will be supported by default from the TreeMap base class.
Each of the elements in the list are an instance of the SNMP Interface
table. Objects in this list should be used by multiple instances of this
class.
SYSTEM_OID
public static final String SYSTEM_OID
The SYSTEM_OID is the object identifier that represents the root of the
system information in the MIB forest. Each of the system elements can be
retreived by adding their specific index to the string, and an additional
Zero(0) to signify the single instance item.
- See Also:
- Constant Field Values
SystemGroup
public SystemGroup(InetAddress address)
The class constructor is used to initialize the collector and send out
the initial SNMP packet requesting data. The data is then received and
store by the object. When all the data has been collected the passed
signaler object is notified using the notifyAll() method.
- Parameters:
address - TODO
getSysName
public String getSysName()
getSysObjectID
public String getSysObjectID()
getSysDescr
public String getSysDescr()
getSysLocation
public String getSysLocation()
getSysContact
public String getSysContact()
storeResult
protected void storeResult(SnmpObjId base,
SnmpInstId inst,
SnmpValue val)
- Overrides:
storeResult in class CollectionTracker
reportGenErr
protected void reportGenErr(String msg)
- Overrides:
reportGenErr in class CollectionTracker
reportNoSuchNameErr
protected void reportNoSuchNameErr(String msg)
- Overrides:
reportNoSuchNameErr in class CollectionTracker
Copyright © 2009. All Rights Reserved.