[Nagiosplug-help] Probleme with the use of check_snmp
dermoth at aei.ca
Wed Apr 9 21:41:23 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
On 09/04/08 02:50 AM, Denis WAGNER wrote:
> Good morning,
> I try to use check_snmp on a nagios system to receive some informations
> about differents devices like, switch, printers, ...
> At first, I try to use check_snmp directly like this :
> [nagios at dw2 libexec]$ ./check_snmp -H localhost -o .188.8.131.52.184.108.40.206.0 -C
> the answer is :
> SNMP problem - No data received from the host
> Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv]
> localhost:161 .220.127.116.11.18.104.22.168.0
> So I try to use snmpget to know if there is a trouble with localhost :
> [nagios at dw2 libexec]$ snmpget -v 1 -c public localhost .22.214.171.124.126.96.36.199.0
> and the answer is
> DISMAN-EVENT-MIB::sysUpTimeInstance 786704
> every thing is working well with snmpget.
> What's wrong with the use of check_snmp ?
Can you try the exact command returned my check_snmp after changing
[authpriv] to your actual community name?
Also try removing "-t 1" from the command line.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Help