Class SystemGroup
- java.lang.Object
- 
- org.opennms.netmgt.snmp.CollectionTracker
- 
- org.opennms.netmgt.snmp.AggregateTracker
- 
- org.opennms.netmgt.provision.service.snmp.SystemGroup
 
 
 
- 
- All Implemented Interfaces:
- Collectable,- ProxiableTracker
 
 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/receive replies. 
- 
- 
Field SummaryFields Modifier and Type Field Description static NamedSnmpVar[]ms_elemListThe keys that will be supported by default from the TreeMap base class.static StringSYS_CONTACT_ALIASConstantSYS_CONTACT_ALIAS="sysContact"static StringSYS_DESCR_ALIASConstantSYS_DESCR_ALIAS="sysDescr"static StringSYS_LOCATION_ALIASConstantSYS_LOCATION_ALIAS="sysLocation"static StringSYS_NAME_ALIASConstantSYS_NAME_ALIAS="sysName"static StringSYS_OBJECTID_ALIASConstantSYS_OBJECTID_ALIAS="sysObjectID"static StringSYS_UPTIME_ALIASConstantSYS_UPTIME_ALIAS="sysUptime"static StringSYSTEM_OIDThe SYSTEM_OID is the object identifier that represents the root of the system information in the MIB forest.
 - 
Constructor SummaryConstructors Constructor Description SystemGroup(InetAddress address)The class constructor is used to initialize the collector and send out the initial SNMP packet requesting data.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSysContact()getSysContactStringgetSysDescr()getSysDescrStringgetSysLocation()getSysLocationStringgetSysName()getSysNameStringgetSysObjectID()getSysObjectIDprotected voidreportFatalErr(ErrorStatusException ex)protected voidreportGenErr(String msg)protected voidreportNonFatalErr(ErrorStatus status)protected voidreportNoSuchNameErr(String msg)protected voidstoreResult(SnmpResult res)voidupdateSnmpDataForNode(OnmsNode node)updateSnmpDataForNodevoidupdateSnmpDataForResource(ScanResource sr)updateSnmpDataForResource- 
Methods inherited from class org.opennms.netmgt.snmp.AggregateTrackerbuildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setFailed, setMaxRepetitions, setMaxRetries, setTimedOut
 - 
Methods inherited from class org.opennms.netmgt.snmp.CollectionTrackerfailed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
 
- 
 
- 
- 
- 
Field Detail- 
SYS_OBJECTID_ALIASpublic static final String SYS_OBJECTID_ALIAS ConstantSYS_OBJECTID_ALIAS="sysObjectID"- See Also:
- Constant Field Values
 
 - 
SYS_UPTIME_ALIASpublic static final String SYS_UPTIME_ALIAS ConstantSYS_UPTIME_ALIAS="sysUptime"- See Also:
- Constant Field Values
 
 - 
SYS_NAME_ALIASpublic static final String SYS_NAME_ALIAS ConstantSYS_NAME_ALIAS="sysName"- See Also:
- Constant Field Values
 
 - 
SYS_DESCR_ALIASpublic static final String SYS_DESCR_ALIAS ConstantSYS_DESCR_ALIAS="sysDescr"- See Also:
- Constant Field Values
 
 - 
SYS_LOCATION_ALIASpublic static final String SYS_LOCATION_ALIAS ConstantSYS_LOCATION_ALIAS="sysLocation"- See Also:
- Constant Field Values
 
 - 
SYS_CONTACT_ALIASpublic static final String SYS_CONTACT_ALIAS ConstantSYS_CONTACT_ALIAS="sysContact"- See Also:
- Constant Field Values
 
 - 
ms_elemListpublic 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_OIDpublic 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 retrieved by adding their specific index to the string, and an additional Zero(0) to signify the single instance item. - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SystemGrouppublic 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
 
 
- 
 - 
Method Detail- 
storeResultprotected void storeResult(SnmpResult res) - Overrides:
- storeResultin class- CollectionTracker
 
 - 
reportGenErrprotected void reportGenErr(String msg) - Overrides:
- reportGenErrin class- CollectionTracker
 
 - 
reportNoSuchNameErrprotected void reportNoSuchNameErr(String msg) - Overrides:
- reportNoSuchNameErrin class- CollectionTracker
 
 - 
reportFatalErrprotected void reportFatalErr(ErrorStatusException ex) - Overrides:
- reportFatalErrin class- CollectionTracker
 
 - 
reportNonFatalErrprotected void reportNonFatalErr(ErrorStatus status) - Overrides:
- reportNonFatalErrin class- CollectionTracker
 
 - 
updateSnmpDataForResourcepublic void updateSnmpDataForResource(ScanResource sr) updateSnmpDataForResource - Parameters:
- sr- a- ScanResourceobject.
 
 
- 
 
-