F5

check_f5_cpu_mem_utilization.pl

Description:

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.

Current Version

0.2

Last Release Date

2013-08-11

Compatible With

Owner

License

GPL


Project Files
Project Photos
Project Notes
Reviews (1) Add a Review
Add Performance Data
by flingo, September 30, 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);



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (1)
Favorites
0
Views
40,173