SNMP showing Unknown
IT Toonz
it.toonz at gmail.com
Mon Sep 13 11:48:51 CEST 2010
Thanks Marc, checking out what your said.
-----Original Message-----
From: Marc Powell [mailto:lists at xodus.org]
Sent: 09 September 2010 17:42
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown
On Sep 9, 2010, at 4:36 AM, IT Toonz wrote:
> below is the config settings for windows servers
>
> # Create a service for monitoring SNMP
>
> define service{
> use generic-service
> host_name taipl-domsrv
> host_name tai3dserver
> host_name tai3dstorage-02
> host_name tai3d-avsrv
> service_description SNMP
> check_command
check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000
> }
>
> Please advice....what else is there to configure, please be specific, we
just started in Fully Automated Nagios, with a lot of help we have reached
this far.... J
> > define command{
> > command_name check_snmp
> > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
> > }
Based on the check_command that you have above, the command_line you've told
nagios to run is --
</path/to/plugins>/check_snmp -H <address from host{}>
.1.3.6.1.2.1.25.1.3.1.6.2
As you can see, this is far from complete or formatted properly. I'm not
sure what the parameters you are trying to pass are but way you have the
command_line set up requires that you pass them as part of the check_command
like so --
define service {
...
check_command check_snmp!-o .1.3.6.1.2.1.25.2.3.1.6.2 -C
<communitystring> -l Cachebuffers -(... whatever other paramenters you are
trying to pass to check_snmp)
You probably want to read the documentation on using arguments in commands,
specifically the $ARGx$ macros and check_snmp documenation (man check_snmp)
to fully understand why what you tried didn't work.
--
Marc
----------------------------------------------------------------------------
--
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list