Using SNMP to monitor interface status
Currently having issues with snmpget pulling the status of an interface.
https://support.f5.com/csp/article/K01528351
This link details that running an snmptranslate for the OID of a particular interface returns an OID as such:
# snmptranslate -On F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus."1.1"
.1.3.6.1.4.1.3375.2.1.2.4.1.2.1.17.1.1
However when trying to run either an snmpget *or* snmpwalk for this OID it will return with
snmpwalk 127.0.0.1 -c public -v2c .1.3.6.1.4.1.3375.2.1.2.4.1.2.1.17.1.1
F5-BIGIP-SYSTEM-MIB::sysInterfaceStatus."." = No Such Instance currently exists at this OID
Downloading the MIB files to examine the System MIB has not revealed any clues as to why this is the case. Documentation shows that there should be a return of integer values:
sysInterfaceStatus OBJECT-TYPE
SYNTAX INTEGER {
up(0),
down(1),
uninitialized(3),
unpopulated(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current state of the specified interface.
up - has link and is initialized;
down - has no link and is initialized;
uninitialized - has not been initialized;
unpopulated - interface not physically populated."
::= { sysInterfaceEntry 17 }