Package org.opennms.netmgt.enlinkd.snmp
Class LldpLocalGroupTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.AggregateTracker
-
- org.opennms.netmgt.enlinkd.snmp.LldpLocalGroupTracker
-
- All Implemented Interfaces:
Collectable
,ProxiableTracker
public final class LldpLocalGroupTracker extends AggregateTracker
-
-
Field Summary
Fields Modifier and Type Field Description static String
LLDP_LOC_CHASSISID_ALIAS
static String
LLDP_LOC_CHASSISID_OID
static String
LLDP_LOC_CHASSISID_SUBTYPE_ALIAS
static String
LLDP_LOC_CHASSISID_SUBTYPE_OID
static String
LLDP_LOC_OID
static String
LLDP_LOC_SYSNAME_ALIAS
static String
LLDP_LOC_SYSNAME_OID
static NamedSnmpVar[]
ms_elemList
-
Constructor Summary
Constructors Constructor Description LldpLocalGroupTracker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
decodeLldpChassisId(SnmpValue lldpchassisid, Integer lldpLocChassisidSubType)
static String
decodeMacAddress(SnmpValue snmpValue)
static String
getDisplayable(SnmpValue snmpValue)
LldpElement
getLldpElement()
SnmpValue
getLldpLocChassisid()
Integer
getLldpLocChassisidSubType()
String
getLldpLocSysname()
protected void
reportFatalErr(ErrorStatusException ex)
protected void
reportGenErr(String msg)
protected void
reportNonFatalErr(ErrorStatus status)
protected void
reportNoSuchNameErr(String msg)
protected void
storeResult(SnmpResult res)
-
Methods inherited from class org.opennms.netmgt.snmp.AggregateTracker
buildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setFailed, setMaxRepetitions, setMaxRetries, setTimedOut
-
Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
-
-
-
-
Field Detail
-
LLDP_LOC_CHASSISID_SUBTYPE_ALIAS
public static final String LLDP_LOC_CHASSISID_SUBTYPE_ALIAS
- See Also:
- Constant Field Values
-
LLDP_LOC_CHASSISID_SUBTYPE_OID
public static final String LLDP_LOC_CHASSISID_SUBTYPE_OID
- See Also:
- Constant Field Values
-
LLDP_LOC_CHASSISID_ALIAS
public static final String LLDP_LOC_CHASSISID_ALIAS
- See Also:
- Constant Field Values
-
LLDP_LOC_CHASSISID_OID
public static final String LLDP_LOC_CHASSISID_OID
- See Also:
- Constant Field Values
-
LLDP_LOC_SYSNAME_ALIAS
public static final String LLDP_LOC_SYSNAME_ALIAS
- See Also:
- Constant Field Values
-
LLDP_LOC_SYSNAME_OID
public static final String LLDP_LOC_SYSNAME_OID
- See Also:
- Constant Field Values
-
ms_elemList
public static NamedSnmpVar[] ms_elemList
-
LLDP_LOC_OID
public static final String LLDP_LOC_OID
- See Also:
- Constant Field Values
-
-
Method Detail
-
decodeLldpChassisId
public static String decodeLldpChassisId(SnmpValue lldpchassisid, Integer lldpLocChassisidSubType)
-
getLldpLocChassisidSubType
public Integer getLldpLocChassisidSubType()
-
getLldpLocChassisid
public SnmpValue getLldpLocChassisid()
-
getLldpLocSysname
public String getLldpLocSysname()
-
storeResult
protected void storeResult(SnmpResult res)
- Overrides:
storeResult
in classCollectionTracker
-
reportGenErr
protected void reportGenErr(String msg)
- Overrides:
reportGenErr
in classCollectionTracker
-
reportNoSuchNameErr
protected void reportNoSuchNameErr(String msg)
- Overrides:
reportNoSuchNameErr
in classCollectionTracker
-
reportFatalErr
protected void reportFatalErr(ErrorStatusException ex)
- Overrides:
reportFatalErr
in classCollectionTracker
-
reportNonFatalErr
protected void reportNonFatalErr(ErrorStatus status)
- Overrides:
reportNonFatalErr
in classCollectionTracker
-
getLldpElement
public LldpElement getLldpElement()
-
-