<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>Good
morning,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>I try to use
check_snmp on a nagios system to receive some informations about differents
devices like, switch, printers, ...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>At first, I try to
use check_snmp directly like this :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>[nagios@dw2
libexec]$ ./check_snmp -H localhost -o .1.3.6.1.2.1.1.3.0 -C
public</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>the answer is
:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008> </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>SNMP problem
- No data received from the host<BR>Commande: /usr/bin/snmpget -t 1 -r 5 -m
'' -v 1 [authpriv] localhost:161 .1.3.6.1.2.1.1.3.0</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>So I try to
use snmpget to know if there is a trouble
with localhost :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>[nagios@dw2
libexec]$ snmpget -v 1 -c public localhost
.1.3.6.1.2.1.1.3.0</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=924024106-09042008><FONT face=Arial size=2>and the answer
is</FONT></DIV>
<DIV><BR><FONT face=Arial size=2>DISMAN-EVENT-MIB::sysUpTimeInstance
786704</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=924024106-09042008></SPAN><FONT face=Arial size=2>e<SPAN
class=924024106-09042008>very thing is working well with
snmpget.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>What's wrong with
the use of check_snmp ?</SPAN></DIV>
<DIV><BR></DIV></FONT></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=924024106-09042008>
Best regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=924024106-09042008>
Denis</SPAN></FONT></DIV>
<DIV><FONT size=2><BR>===========================================<BR><BR>Denis
WAGNER<BR><BR>IFR 37 : Centre de Neurochimie<BR>5, rue Blaise Pascal<BR>67084
Strasbourg cedex<BR><A
href="http://neurochem.u-strasbg.fr/">http://neurochem.u-strasbg.fr</A><BR><BR>denis.wagner@neurochem.u-strasbg.fr<BR>tel.
: 03 88 45 66 69<BR>telecopie :
03.88.61.29.08<BR><BR>===========================================<BR></FONT></DIV>
<DIV> </DIV></BODY></HTML>