Robert,

 

Here is a brief sample of a check_snmp command that I using to grab the system description.

 

define service {

        use                                   Sensor-ND

        hostgroup_name                Switches,Routers,Firewalls

        service_description             Check-ND-Show-version

        check_command                check_snmp!sysDescr.0!public

        register                        1

        }

 

I do use a template for this one, but it’s fairly simple (mostly defaults).

 

When I want to find out what an OID is, or ?? I use snmpwalk to “walk” the MIB of the device. It gives enough information so you will want to start drinking early in the day. ;-)

 

 

I hope that helped.

 

Mike

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Stewart
Sent: Thursday, March 09, 2006 12:26 PM
To: '[email protected]'
Subject: [Nagios-users] help please - SNMP

 

I’m new to setting up SNMP on nagios.

I need some pointers.

I have downloaded the mibs that I need but I have never installed them on Suse 10 for nagios 2.0.

Could you all tell me how I would get the mibs in place to be used by the ./check_snmp command.

 

Could you all send me an example of the ./check_snmp command that you all use

 

Thank you

 

Robert Stewart

SalesEng.

E&H Integrated Systems

 

------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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

Reply via email to