snmp configuration
* Download MIB file from somewhere (I don't remember where it is)
According to http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_
$ mkdir $HOME/.snmp
$ mkdir $HOME/.snmp/mibs
$ scp WIENER-CRATE-MIB ~/.snmp/mibs/
$ cd $HOME/.snmp/
$ echo "mibs +WIENER-CRATE-MIB" >> snmp.conf
* Check whatever status of the crate with 129.57.168.139 (qwvme9mon)
$ snmpget -v 2c -m +WIENER-CRATE-MIB -c public 129.57.168.139 outputVoltage.U5
WIENER-CRATE-MIB::outputVoltage.U5 = Opaque: Float: 12.000000 V
Posted by Jeong Han Lee
|
Permanent link