[Nagiosplug-help] Probleme with the use of check_snmp
Thomas Guyot-Sionnest
dermoth at aei.ca
Wed Apr 9 21:41:23 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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 .1.3.6.1.2.1.1.3.0 -C
> public
>
> 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 .1.3.6.1.2.1.1.3.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 .1.3.6.1.2.1.1.3.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.
Thanks
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH/Rvj6dZ+Kt5BchYRAue+AKCehuVVychKzVZEGt/JRiA4hEFIbwCeNdE4
jXP/CV2MWk1ScrC7LAHB7hE=
=qW8E
-----END PGP SIGNATURE-----
More information about the Help
mailing list