Yup - that fixed it! I did not have an snmp statement for access from 
10.1.102.21 to 10.1.100.3 once I added it I could successfully get my results 
from check_snmp - thanks Marc! :-)

[r...@dns libexec]# ./check_snmp -C public -H 10.1.100.3 -o ifOperStatus.1 -r 1 
-m RFC1213-MIB
SNMP OK - up(1) |
[r...@dns libexec]#

-----Original Message-----
From: Natalie Aloi [mailto:na...@experisdatacenters.com]
Sent: Wednesday, July 15, 2009 03:22 PM
To: 'Nagios Users Mail-list'
Subject: strange results from v2.11 vs. 3.0.6 for check_snmp


Hello, I have two versions of nagios running v 2.11 on server nagios and 3.0.6 
on dns
when I execute the commands manually from the servers this is my output can 
anyone help me understand why when I run the identical commands on v2.11 I get 
output from both switches but when I run it on the dns server only one host 
responds?

ver 3.0.6 host output below:
[r...@dns libexec]# ./check_snmp -C public -H 10.1.100.2 -o ifOperStatus.1 -r 1 
-m RFC1213-MIB
SNMP OK - up(1) |
[r...@dns libexec]# ./check_snmp -C public -H 10.1.100.3 -o ifOperStatus.1 -r 1 
-m RFC1213-MIB
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 1 [authpriv] 10.1.100.3:161 
ifOperStatus.1
[r...@dns libexec]#


ver 2.11 output below:
[r...@nagios plugins]# ./check_snmp -C public -H 10.1.100.3 -o ifOperStatus.1 
-r 1 -m RFC1213-MIB
SNMP OK - up(1) |
[r...@nagios plugins]# ./check_snmp -C public -H 10.1.100.2 -o ifOperStatus.1 
-r 1 -m RFC1213-MIB
SNMP OK - up(1) |
[r...@nagios plugins]#



Network Operations Center Manager
Experis Data Center LLC
8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.com
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to