<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face="Courier New" color=#000080 size=2>Hello,</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2></FONT> </DIV>
<DIV align=justify><FONT face="Courier New" color=#000080 size=2>I have
checked that my SNMP is working fine. I can use snmpwalk to query my router and
get the response. </FONT><FONT face="Courier New" color=#000080 size=2>I can
also be able to run the check_snmp command from the command line and I am
getting the response.</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>The syntax I am specifyig is
as below:</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>./check_snmp -H 192.168.1.1
-C public system.sysUpTime.0</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2></FONT> </DIV>
<DIV align=justify><FONT face="Courier New" color=#000080 size=2>And this query
returns me the UpTime. Also the query system.sysDescr.0 and many other in this
category is working. But when I specify this command in the checkcommands.cfg,
it doesn't work. Can you tell me how can I write this in checkcommands.cfg
to make this work.</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>Thanks in
advance.</FONT> </DIV>
<DIV><FONT face="Courier New" color=#000080 size=2></FONT><FONT
face="Courier New" color=#000080 size=2></FONT><BR><FONT face="Courier New"
color=#000080 size=2>Regards and have a nice
day,<BR>
Atul
Shrivastava<BR>
Info Structure
Services<BR>
HCL INFOSYSTEMS
LTD.<BR>
E - 4,5,6 Sector
XI,<BR>
Noida -
201301<BR>
Tel: 91-120-2526910,2443013</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>
<HR>
</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>----- Original Message -----
</FONT>
<DIV><FONT face="Courier New" color=#000080 size=2>From: "Pascal Miquet"
<</FONT><A href="mailto:p.miquet@hafiba.fr"><FONT face="Courier New"
color=#000080 size=2>p.miquet@hafiba.fr</FONT></A><FONT face="Courier New"
color=#000080 size=2>></FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>To: "Atul Shrivastava"
<</FONT><A href="mailto:atulsh@hclinsys.com"><FONT face="Courier New"
color=#000080 size=2>atulsh@hclinsys.com</FONT></A><FONT face="Courier New"
color=#000080 size=2>></FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>Sent: Wednesday, January 15,
2003 3:28 PM</FONT></DIV>
<DIV><FONT face="Courier New" color=#000080 size=2>Subject: Re: [Nagios-users]
check_snmp file not found in libexec directory</FONT></DIV></DIV>
<DIV><FONT face="Courier New"><BR><FONT color=#000080
size=2></FONT></FONT></DIV><FONT face="Courier New" color=#000080 size=2>>
First you may checks that the snmp tools are working fine.<BR>> This is done
using smpwalk and snmpget command.<BR>> <BR>> If those are working, then
you may checks the Nagios plugins manually<BR>> first and then test in
nagios.<BR>> <BR>> HTH<BR>> Regards<BR>> Pascal Miquet<BR>> Le
mer 15/01/2003 à 05:26, Atul Shrivastava a écrit :<BR>> > Hello,<BR>>
> Thx for this.<BR>> > <BR>> > Can you tell me, how can I
configure the check_snmp plugin so that i can be able to make it working.
Basically first of all i want to run it as a command line to check if it is
working or now. I have configured the Win NT SNMP service and it is running. But
I can't able to communicate this machine. Can you give me the syntax for
check_snmp. I have checked the help for this but can't get enough for it. Thx in
advance.<BR>> > <BR>> > Regards and have a nice day,<BR>>
>
Atul Shrivastava<BR>>
>
Info Structure Services<BR>>
>
HCL INFOSYSTEMS LTD.<BR>>
>
E - 4,5,6 Sector XI,<BR>>
>
Noida - 201301<BR>>
>
Tel: 91-120-2526910,2443013<BR>> > <BR>> > <BR>> > -----
Original Message ----- <BR>> > From: "Pascal Miquet" <</FONT><A
href="mailto:p.miquet@hafiba.fr"><FONT face="Courier New" color=#000080
size=2>p.miquet@hafiba.fr</FONT></A><FONT face="Courier New" color=#000080
size=2>><BR>> > To: "Atul Shrivastava" <</FONT><A
href="mailto:atulsh@hclinsys.com"><FONT face="Courier New" color=#000080
size=2>atulsh@hclinsys.com</FONT></A><FONT face="Courier New" color=#000080
size=2>><BR>> > Cc: "Nagios users" <</FONT><A
href="mailto:nagios-users@lists.sourceforge.net"><FONT face="Courier New"
color=#000080 size=2>nagios-users@lists.sourceforge.net</FONT></A><FONT
face="Courier New" color=#000080 size=2>><BR>> > Sent: Tuesday, January
14, 2003 12:19 AM<BR>> > Subject: Re: [Nagios-users] check_snmp file not
found in libexec directory<BR>> > <BR>> > <BR>> > > During
the ./configure into nagios plugins take a look at the history,<BR>> >
> because you should install some added software for some plugins,
like<BR>> > > snmp, flexlm, ...<BR>> > > HTH<BR>> > >
Regards<BR>> > > <BR>> > > Le sam 11/01/2003 à 06:56, Atul
Shrivastava a écrit :<BR>> > > > Hello All,<BR>> > > >
<BR>> > > > In my libexec directory, there is no file
check_snmp<BR>> > > > Can you tell me why it is not there. I have
also find this file in the whole harddisk but it is not there. Thanks in
advance.<BR>> > > > <BR>> > > > Regards and have a nice
day,<BR>> > >
>
Atul Shrivastava<BR>> > >
>
Info Structure Services<BR>> > >
>
HCL INFOSYSTEMS LTD.<BR>> > >
>
E - 4,5,6 Sector XI,<BR>> > >
>
Noida - 201301<BR>> > >
>
Tel: 91-120-2526910,2443013<BR>> > > > <BR>> > > <BR>>
> > <BR>> > > <BR>> > > <BR>> > >
-------------------------------------------------------<BR>> > > This
SF.NET email is sponsored by: FREE SSL Guide from Thawte<BR>> > >
are you planning your Web Server Security? Click here to get a FREE<BR>> >
> Thawte SSL guide and find the answers to all your SSL security
issues.<BR>> > > </FONT><A
href="http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en"><FONT
face="Courier New" color=#000080
size=2>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en</FONT></A><BR><FONT
face="Courier New" color=#000080 size=2>> > >
_______________________________________________<BR>> > > Nagios-users
mailing list<BR>> > > </FONT><A
href="mailto:Nagios-users@lists.sourceforge.net"><FONT face="Courier New"
color=#000080 size=2>Nagios-users@lists.sourceforge.net</FONT></A><BR><FONT
face="Courier New" color=#000080 size=2>> > > </FONT><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users"><FONT
face="Courier New" color=#000080
size=2>https://lists.sourceforge.net/lists/listinfo/nagios-users</FONT></A><BR><FONT
face="Courier New" color=#000080 size=2>> </FONT></BODY></HTML>