Custom SNMP Services
Posted: Mon Feb 11, 2013 12:43 pm
Greetings,
I'm attempting to monitor a Sensatronics EM1 via Nagios and I'm having some difficulty "translating" what works from the CLI into a Nagios service.
This is what I'm using right now. These commands provide the output (in order of appearance) for Ambient Temp/Humidity/Moisture and the last gives me the Ambient Rack Temp.
I apologize in advance if this is documented somewhere, but I'm having difficulty making it all tie in.
I'm attempting to monitor a Sensatronics EM1 via Nagios and I'm having some difficulty "translating" what works from the CLI into a Nagios service.
This is what I'm using right now. These commands provide the output (in order of appearance) for Ambient Temp/Humidity/Moisture and the last gives me the Ambient Rack Temp.
Code: Select all
/usr/bin/snmpget -v1 -c public -Oqv $HOSTNAME SNMPv2-SMI::enterprises.16174.1.1.3.3.1.3.0
/usr/bin/snmpget -v1 -c public -Oqv $HOSTNAME SNMPv2-SMI::enterprises.16174.1.1.3.3.1.6.0
/usr/bin/snmpget -v1 -c public -Oqv $HOSTNAME SNMPv2-SMI::enterprises.16174.1.1.3.3.1.9.0
/usr/bin/snmpget -v1 -c public -Oqv $HOSTNAME SNMPv2-SMI::enterprises.16174.1.1.3.3.2.3.0