January 2019
Intermediate to advanced
798 pages
20h 33m
English
If you can't or don't want to copy vendor-specific MIB files to the Zabbix server, you can always use numeric OIDs, like we did before. While not being as descriptive, they are guaranteed to work even if the copied MIBs are not available for some reason or are removed during a system upgrade.
But how do we derive the corresponding numeric OID from a textual one? While we could use snmpget to retrieve the particular value and output it in numeric form, that requires the availability of the device and network round trip. Fortunately, there's an easier way—the snmptranslate command. To find out the numeric form of the OID, we can use PowerNet-MIB::upsAdvIdentSerialNumber.0:
$ snmptranslate -On PowerNet-MIB::upsAdvIdentSerialNumber.0 ...
Read now
Unlock full access