Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Cisco IPS SNMP Checks
157535
File | Description |
---|---|
check_cisco_ips.pl.txt | Nagios IPS CPU/Mem/Health Check |
check_cisco_ips_int.pl.txt | Nagios IPS-adopted Interface Check |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Checks for CPU, Traffic and IPS status. Tested with AIP-SSM modules for Cisco ASA.
Some examples:
host$ ./check_cisco_ips.pl -H -C -2 -T cpu -w 70%,50%,40% -c 90%,70%,50%
Cisco IPS CPU : 5sec = 13 %, 2min = 13 %, 5min = 18 % : OK
host$ ./check_cisco_ips.pl -H -C -2 -T mem -w 60% -c 80%
Cisco IPS Memory : used = 977 MB, free = 1018 MB, utilization = 48 % : OK
host$ ./check_cisco_ips.pl -H -C -2 -T health -w 1,0,1,1 -c 0,1,5,5
Cisco IPS Health : inactive = 0, memory critical = 0, packet loss = 0 %, packet deny rate = 0 % : OK
host$ ./check_cisco_ips_int.pl -H -C -2 -n ge0_[0,1] -k -w 10000,10000 -c 20000,20000 --label
ge0_1:Unpaired (in=597.9KBps/out=597.9KBps), ge0_0:UP (in=0.4KBps/out=4.1KBps) : 2 UP : OK
Tested with AIP-IPS-20 modules hosted in an ASA5540. May have still bugs, any feedback is welcome.
Some examples:
host$ ./check_cisco_ips.pl -H -C -2 -T cpu -w 70%,50%,40% -c 90%,70%,50%
Cisco IPS CPU : 5sec = 13 %, 2min = 13 %, 5min = 18 % : OK
host$ ./check_cisco_ips.pl -H -C -2 -T mem -w 60% -c 80%
Cisco IPS Memory : used = 977 MB, free = 1018 MB, utilization = 48 % : OK
host$ ./check_cisco_ips.pl -H -C -2 -T health -w 1,0,1,1 -c 0,1,5,5
Cisco IPS Health : inactive = 0, memory critical = 0, packet loss = 0 %, packet deny rate = 0 % : OK
host$ ./check_cisco_ips_int.pl -H -C -2 -n ge0_[0,1] -k -w 10000,10000 -c 20000,20000 --label
ge0_1:Unpaired (in=597.9KBps/out=597.9KBps), ge0_0:UP (in=0.4KBps/out=4.1KBps) : 2 UP : OK
Tested with AIP-IPS-20 modules hosted in an ASA5540. May have still bugs, any feedback is welcome.
Reviews (1)
byaf, February 26, 2012
Hello,
the script is good, but I want to know, how I can modificate the script, that check only the 5min CPU-status? Without the 5s- and 1min CPU-Status!
Thanks
the script is good, but I want to know, how I can modificate the script, that check only the 5min CPU-status? Without the 5s- and 1min CPU-Status!
Thanks