Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
E-Commerce, Billing and Financial Check_PacificTimesheet
0.0 (0)
99.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Jesus Rodriguez
JR

Jesus Rodriguez

@hiperesfera

User Stats

Favorites0

Views

Projects0

No Projects Found
Monitoring F5 BigIP TMM Utilization with Nagios and SNMP

TMM utilization - percentage of use

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

Reviewed 14 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks