Problem with check_snmp
Mark D. Valpreda
mark at insynclh.com
Tue Jul 8 01:13:20 CEST 2003
I am running into an issue with check_snmp that has become quite
frustrating.
I am trying to monitor temperature on an APC Symmetra. The problem I am
running into is with the check_snmp module. I am testing the commands
outside of Nagios for now and this is the command I planned on using:
check_snmp -v -H X.X.X.X -o .1.3.6.1.4.1.318.1.1.2.1.1.0 -C public
The command that is created from that is:
snmpget -m ALL -v 1 -c public X.X.X.X:161 .1.3.6.1.4.1.318.1.1.2.1.1.0
And that command is just wrong. Near as I can tell, the command should
be:
snmpget -v 1 X.X.X.X public .1.3.6.1.4.1.318.1.1.2.1.1.0
Adding "-m ALL" gives me a response, but "Did not find 'iso' in module
SNMPv2-SMI (/usr/share/snmp/mibs/SNMPv2-CONF.txt)" crops up.
Explicitly defining port 161 causes "snmpget: Unknown host
(157.185.1.70:161)"
But I don't know how or what I am doing wrong that is causing that
command to be so botched up. Can anyone point me in the right direction?
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list