SNMP setup

Thomas Earl tearl at cacdhh.org
Tue Jan 4 18:58:50 CET 2005


Its not really any different then any other check service... check your
documentation...

define service{
        use                             generic-service         ; Name of
service template to use

        host_name                       abc
        service_description             abc Uptime
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  system-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                check_snmp!1.3.6.1.2.1.1.3.0!0!0!public
        }

# "check_snmp " abc Uptime command definition
 define command{
          command_name    check_bgpstate
          command_line    $USER1$/check_snmp –H $HOSTADDRESS$ -o $ARG1$ -w
$ARG2$ -c $ARG$3 -C $ARG4$
          }

check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c crit_range] 
  [-C community] [-s string] [-r regex] [-R regexi] [-t timeout]
  [-l label] [-u units] [-p port-number] [-d delimiter]
  [-D output-delimiter] [-m miblist] [-P snmp version]
  [-L seclevel] [-U secname] [-a authproto] [-A authpasswd]
  [-X privpasswd]


--
Thomas Earl
Network Engineer & Designer
Communications Access Center (CAC)
1631 Miller Road
Flint, Michigan, 48503
248-705-7408 (cell)
810-239-3112 (office)

"Life is not a journey to the grave with the intention of arriving safely in
a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a
ride!!'” --Jack Wilson 
________________________________________
From: Brian J. Dent [mailto:bjd at compudentsystems.com] 
Sent: Tuesday, January 04, 2005 12:35 PM
To: tearl at cacdhh.org
Subject: RE: [Nagios-users] SNMP setup

Thomas,

I’ve installed SNMP on my WIN2K AD machine but I’m still not clear what to
put in the cfg files.  

________________________________________
From: Thomas Earl [mailto:tearl at cacdhh.org] 
Sent: Tuesday, January 04, 2005 7:38 AM
To: 'Brian J. Dent'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] SNMP setup

If you are just talking about SNMP polling then its easy, just make sure
that SNMP service is installed on your box and change your communities to
what you like
 then you can walk the box and find the OID that you want to
check and use check_snmp
 
That’s what I do for my servers

 
tom
 
--
Thomas Earl
Network Engineer & Designer
Communications Access Center (CAC)
1631 Miller Road
Flint, Michigan, 48503
248-705-7408 (cell)
810-239-3112 (office)

"Life is not a journey to the grave with the intention of arriving safely in
a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a
ride!!'” --Jack Wilson 
________________________________________
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian J. Dent
Sent: Tuesday, January 04, 2005 10:29 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] SNMP setup
 
Can anyone recommend a primer or specific documentation for setting up and
running SNMP from NAGIOS 1.2 to Windows 2000 or 2003 servers?  Thanks.
 
Regards,
bjd
 
Brian J. Dent
CompuDent Systems
 




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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