<!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 dir=ltr align=left><SPAN class=111450114-09042008><FONT face=Arial
color=#0000ff size=2>Your check_snmp and snmpget invocations both work for me,
so it's likely something in your snmpd
configuration.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
nagiosplug-help-bounces@lists.sourceforge.net
[mailto:nagiosplug-help-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>Denis WAGNER<BR><B>Sent:</B> Wednesday, April 09, 2008 1:51
AM<BR><B>To:</B> nagiosplug-help@lists.sourceforge.net<BR><B>Subject:</B>
[Nagiosplug-help] Probleme with the use of check_snmp<BR></FONT><BR></DIV>
<DIV></DIV>
<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 size=+0><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></BLOCKQUOTE><PRE>
Wachovia Securities, LLC's outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
A.G. Edwards, a division of Wachovia Securities, LLC
</PRE>
</BODY></HTML>