Other Tutorials And HOWTOs

Monitoring F5 BigIP TMM Utilization with Nagios and SNMP

Description:

In this blog you will find a perl script, which you can use to monitor F5 BigIP TMM utilization with Nagios and SNMP.

Current Version

Last Release Date

October 22, 2009

Compatible With

Owner


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!
Project Notes
Reviews (1) Add a Review
TMM utilization - percentage of use
by hiperesfera, January 31, 2012
Hi

first of all thanks so much for this plugin, great work!

I would like share with you something I have spotted as I have been using this plugin and always getting the same log output

[code] " TMM ulitization= 1 " [/code]

Having a look the script the function to round the variable I think it is not correct

[code]# Round to integer
$tmm_cpu = int($tmm_cpu + .5);[/code]

This is truncating the decimals with the int casting as you are only adding 0.5 and the number is in a range between 0 and 1, so I have changed it and now it is displaying fine:

[code]
# Round to integer
$tmm_cpu = int($tmm_cpu * 100); [/code]

just multiplying by 100 you get the percentage

[code] xxxx:/usr/local/nagios/libexec # ./check_f5_tmm.pl HOST STRING 76 90
OK: TMM utilization is 51 | pct=51
[/code]

hope it helps, thanks
Helpful? Yes  No 
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 (2)
Favorites
0
Views
77,157