Custom SNMP Services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jcmanous
Posts: 61
Joined: Thu Dec 09, 2010 11:39 am

Custom SNMP Services

Post by jcmanous »

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.

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
I apologize in advance if this is documented somewhere, but I'm having difficulty making it all tie in.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Custom SNMP Services

Post by abrist »

Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jcmanous
Posts: 61
Joined: Thu Dec 09, 2010 11:39 am

Re: Custom SNMP Services

Post by jcmanous »

I attempted that and I only received a "No data received from host".
jcmanous
Posts: 61
Joined: Thu Dec 09, 2010 11:39 am

Re: Custom SNMP Services

Post by jcmanous »

I was able to figure out what the $ARG command wanted. Now I can get this to monitor just fine.
Locked