check_snmp

Ford, Andy andrew.ford at wachovia.com
Thu Jun 5 21:24:21 CEST 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of dave stern - e-mail.pluribus.unum
> Sent: Thursday, June 05, 2008 2:17 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_snmp
> 
> I've got two nagios installs with snmp giving different responses.
> 
> Details:
> Host1 is an operational nagios 2.9 install on SuSE 10.1-64bit machine
> 
> Host2 is a development machine, Suse 10.2-64bit with newly installed
> nagios 3.02 and nagios-plugins-1.4.12. I have all the perl 
> modules necessary
> (Net SNMP, Crypt DES, Digest HMAC as well as libgd.
> 
> running
> 
> check_snmp -H SOMEHOST -o 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1 -C
> Nmystring% -P 1 -c 1:250 -u degC*10 -l 'Front side I/O Temp: '
> 
> returns on the operational host
>   Front side I/O Temp:  OK - 200 degC*10 |
> iso.3.6.1.4.1.674.10892.1.700.20.1.6.1.1=200
> 
> But from the development host, I get
> Front side I/O Temp:  problem - No data received from host
> CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] SOMEHOST:161
> 1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1
> 
> Both resolve the hostname the same and other plugins to same host
> (ping,Mysql) work fine.
> Strace of the command shows it finding all the same files 
> until it times out.
> Where else can I look for  differences?

Look for an access control list of some kind on the target device which
restricts who can query it via SNMP.

Andrew Ford
Wachovia Corporate Information Security
314-955-6647 desk
314-600-7025 cell
andrew.ford at wachovia.com 


Wachovia Securities, LLC's outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.

A.G. Edwards, a division of Wachovia Securities, LLC




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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