[Nagiosplug-help] Probleme with the use of check_snmp

Denis WAGNER denis.wagner at neurochem.u-strasbg.fr
Wed Apr 9 08:50:30 CEST 2008


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 ?

    Best regards,
                            Denis

===========================================

Denis WAGNER

IFR 37 : Centre de Neurochimie
5, rue Blaise Pascal
67084 Strasbourg cedex
http://neurochem.u-strasbg.fr <http://neurochem.u-strasbg.fr/> 

denis.wagner at neurochem.u-strasbg.fr
tel. : 03 88 45 66 69
telecopie : 03.88.61.29.08

===========================================

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080409/fa3ed562/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Denis WAGNER (denis.wagner at neurochem.u-strasbg.fr).vcf
Type: text/x-vcard
Size: 180 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080409/fa3ed562/attachment.vcf>


More information about the Help mailing list