Home Directory Plugins Hardware Network Gear F5 check_f5_cpu_mem_utilization.pl

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_f5_cpu_mem_utilization.pl

Current Version
0.2
Last Release Date
2013-08-11
License
GPL
Hits
40121
Files:
FileDescription
check_f5_cpu_mem_utilization.plcheck_f5_cpu_mem_utilization.pl
Nagios CSP

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!
check_f5_cpu_mem_utilization.pl
USAGE: ./check_f5_cpu_mem_utilization.pl-
-
description: checks CPU and memory utilization on F5 using SNMP-
Requires: Perl [naturally] and Net::SNMP Perl module.

CHANGELOG:

0.2: Neglected to add 'use strict' before.
Reviews (1)
byflingo, September 23, 2015
To add performance data, change line 83-end:
if($tmm_cpu > $cpu_crit) {
print "CRITICAL: TMM CPU utilization on $host is higher than threashold ($cpu_crit) - $tmm_cpu%";
$RC=$ERRORS{"CRITICAL"};
}
if($mem_prct > $mem_crit){
print "CRITICAL: TMM Memory utilization on $host is higher than threashold ($mem_crit) - $mem_prct%";
$RC=$ERRORS{"CRITICAL"};
}
if($tmm_cpu > $cpu_warn) {
print "WARNING: TMM CPU utilization on $host is higher than threashold ($cpu_warn) - $tmm_cpu%";
$RC=$ERRORS{"WARNING"};
}
if($mem_prct > $mem_warn){
print "WARNING: TMM Memory utilization on $host is higher than threashold ($mem_warn) - $mem_prct%";
$RC=$ERRORS{"WARNING"};
}
if (!defined $RC){
print "OK: TMM CPU is $tmm_cpu%, TMM Memory utilization is $mem_prct%";
$RC=$ERRORS{"OK"};
}
print "| cpu_percent=$tmm_cpu;$cpu_warn;$cpu_crit memory_percent=$mem_prct;$mem_warn;$mem_crit
";
exit($RC);