Monitoring F5 BigIP TMM Utilization with Nagios and snmp

I came across a post on the Cacti-forums where a guy has posted a perl script for finding the F5 BigIP TMM Utilization via the commandline, so I modified it a bit, and now it works as a nagios-plugin.
I’ve also added performancedata to it, for usage with graphing tools like for instance pnp4nagios.

Here’s the complete modified script : check_tmm_utilization

Then you can simply add 4 lines to your commands.cfg file in Nagios.

define command{
command_name check_tmm_utilization
command_line $USER1$/check_tmm_utilization $HOSTADDRESS$ yoursnmpcommunitystring $ARG1$ $ARG2$
}

…and finally update services with something like :

define service{
use generic-service
host_name bigip-box
service_description CHECK_TMM_UTILIZATION
is_volatile 0
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups linux-admins
notification_period 24x7
notification_options c,w,r
process_perf_data 1
check_command check_tmm_utilization!75!90
}

check config and restart

woohooo

Tags: , , , ,