I have an FC switch which I try to monitor using SNMP:
snmpwalk -v2c -c public <IP ADDRESS>|wc -l
888
When I use MIB file I have a name of (almost) each line. For example:
snmpwalk -v2c -c public -m /usr/share/mibs/ietf/FIBRE-CHANNEL-FE-MIB <IP ADDRESS> | grep FIBRE-CHANNEL-FE-MIB::fcFxPortC2InFrames.1.10
FIBRE-CHANNEL-FE-MIB::fcFxPortC2InFrames.1.10 = Counter32: 0
But how do I know which numeric OID is it ? I'd like to avoid counting lines ...
Regards
snmpwalk -v2c -c public <IP ADDRESS>|wc -l
888
When I use MIB file I have a name of (almost) each line. For example:
snmpwalk -v2c -c public -m /usr/share/mibs/ietf/FIBRE-CHANNEL-FE-MIB <IP ADDRESS> | grep FIBRE-CHANNEL-FE-MIB::fcFxPortC2InFrames.1.10
FIBRE-CHANNEL-FE-MIB::fcFxPortC2InFrames.1.10 = Counter32: 0
But how do I know which numeric OID is it ? I'd like to avoid counting lines ...
Regards