check_snmp now working in checkcommands.cfg
Atul Shrivastava
atulsh at hclinsys.com
Thu Jan 16 08:11:02 CET 2003
Hello,
I have checked that my SNMP is working fine. I can use snmpwalk to query my router and get the response. I can also be able to run the check_snmp command from the command line and I am getting the response.
The syntax I am specifyig is as below:
./check_snmp -H 192.168.1.1 -C public system.sysUpTime.0
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.
Thanks in advance.
Regards and have a nice day,
Atul Shrivastava
Info Structure Services
HCL INFOSYSTEMS LTD.
E - 4,5,6 Sector XI,
Noida - 201301
Tel: 91-120-2526910,2443013
--------------------------------------------------------------------------------
----- Original Message -----
From: "Pascal Miquet" <p.miquet at hafiba.fr>
To: "Atul Shrivastava" <atulsh at hclinsys.com>
Sent: Wednesday, January 15, 2003 3:28 PM
Subject: Re: [Nagios-users] check_snmp file not found in libexec directory
> First you may checks that the snmp tools are working fine.
> This is done using smpwalk and snmpget command.
>
> If those are working, then you may checks the Nagios plugins manually
> first and then test in nagios.
>
> HTH
> Regards
> Pascal Miquet
> Le mer 15/01/2003 à 05:26, Atul Shrivastava a écrit :
> > Hello,
> > Thx for this.
> >
> > 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.
> >
> > Regards and have a nice day,
> > Atul Shrivastava
> > Info Structure Services
> > HCL INFOSYSTEMS LTD.
> > E - 4,5,6 Sector XI,
> > Noida - 201301
> > Tel: 91-120-2526910,2443013
> >
> >
> > ----- Original Message -----
> > From: "Pascal Miquet" <p.miquet at hafiba.fr>
> > To: "Atul Shrivastava" <atulsh at hclinsys.com>
> > Cc: "Nagios users" <nagios-users at lists.sourceforge.net>
> > Sent: Tuesday, January 14, 2003 12:19 AM
> > Subject: Re: [Nagios-users] check_snmp file not found in libexec directory
> >
> >
> > > During the ./configure into nagios plugins take a look at the history,
> > > because you should install some added software for some plugins, like
> > > snmp, flexlm, ...
> > > HTH
> > > Regards
> > >
> > > Le sam 11/01/2003 à 06:56, Atul Shrivastava a écrit :
> > > > Hello All,
> > > >
> > > > In my libexec directory, there is no file check_snmp
> > > > 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.
> > > >
> > > > Regards and have a nice day,
> > > > Atul Shrivastava
> > > > Info Structure Services
> > > > HCL INFOSYSTEMS LTD.
> > > > E - 4,5,6 Sector XI,
> > > > Noida - 201301
> > > > Tel: 91-120-2526910,2443013
> > > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.NET email is sponsored by: FREE SSL Guide from Thawte
> > > are you planning your Web Server Security? Click here to get a FREE
> > > Thawte SSL guide and find the answers to all your SSL security issues.
> > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030116/af527d49/attachment.html>
More information about the Users
mailing list