check_snmp on a cisco

Mark Grafing mgrafing at voyence.com
Wed Jul 7 16:58:08 CEST 2004


This is for checking CPU usage on a Concentrator 3005 so you may need to
change OID....
For the Service I created this:

define service {
host_name                      VPN_Router
service_description            CPU Utilization
check_command                  check_vpn_cpu!community_string!50!75
max_check_attempts             3
normal_check_interval          5
retry_check_interval           1
check_period                   24x7
notification_interval          15
notification_period            24x7
notification_options           u,c,r
contact_groups                 router-admins
}

For the checkcommand.cfg I created this:

# 'check_vpn_cpu' command definition
define command{
        command_name    check_vpn_cpu
        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o
.1.3.6.1.4.1.3076.2.1.2.25.1.2.0 -w $ARG2$ -c $ARG3$ -l "CPU
Utilization" -u "%" -m :
        }

Hope this helps!
Mark Grafing
RHCE #:809003165808980

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ric
Moseley
Sent: Wednesday, July 07, 2004 8:12 AM
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_snmp on a cisco


I have looked around but not really found anything on the forums or
mainling lists.  Does anyone have an example of using check_snmp to get
the CPU readings off of a Cisco device? 

Thanks.

Ric.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend
Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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