[Nagiosplug-help] Problem with check_snmp

Matthieu COUVRAND matthieu.couvrand at proservia.fr
Tue Oct 31 11:50:17 CET 2006


Hello,
 
I try to use check_snmp from nagios-plugins-1.4.4 but I had some errors.
I am on Mandriva 2006 with net-snmp-mibs-5.2.1.2-4mdk, php-snmp-5.0.4-2mdk, net-snmp-utils-5.2.1.2-4mdk, libnet-snmp5-5.2.1.2-4mdk, net-snmp-5.2.1.2-4mdk
 
My commande and the error message is the fallowing :
[root at ocsinventory-ng libexec]# ./check_snmp -H 192.168.2.99 -C public -o .1.3.6.1.2.1.25.2.3.1.4.2
SNMP problème - Pas de données reçues de l'hôte
Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 192.168.2.99:161  .1.3.6.1.2.1.25.2.3.1.4.2
 
And when I run directly the snmpget command, there is no problem
[root at ocsinventory-ng libexec]# /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 192.168.2.99:161  .1.3.6.1.2.1.25.2.3.1.4.2
iso.3.6.1.2.1.25.2.3.1.4.2 4096
 
 
I forgot some parameters ?
 
 
 
Best regards,
 
 
 
Matthieu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20061031/a255f3ce/attachment.html>


More information about the Help mailing list