Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • 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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4405Themes and Skins13Add-ons758Graphics 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
Linux Linux Software Raid Plugin for 32-bit and 64-bit systems
4.5 (11)
122.8K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)deskwork_itunes142 (4)Davide Lemma (3)Chad Columbus (3)Marcin Bednarski (3)
See More
Newest Contributors
Linuxfabrik (1)signalgrid (1)Sanna Glue (2)fisherrs (1)smolinux (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Balu
B

Balu

@kovacsbalu

User Stats

Member Since: November 5, 2011

Favorites0

Views

Projects0

No Projects Found
check_networkusage

Patch for trimming interface line

When you have longer interface names (eg. vboxnet0) the result always was 0Kb/s because @splitinterface first item was empty. --- check_networkusage.pl.20111106a 2011-11-06 11:04:22.000000000 +0100 +++ check_networkusage.pl 2011-11-06 11:07:32.000000000 +0100 @@ -61,6 +61,7 @@ while (){ $completestring = $_ if ($_=~ /$opt_I/); @splitinterface = split(/:/,$completestring,2); + @splitinterface[1] =~ s/^s+|s+$//g; @dataset_in = split(/s+/,@splitinterface [1]); $new_in_bytes = @dataset_in[0]; @dataset_out = split(/s+/,@splitinterface [1]);

Reviewed 15 years ago

check_cpu

Patch for trimming idLine and lastLine

There was bug when the first item (r) is not one char. That is a simple fix for it: --- check_cpu.py.orig 2011-11-05 20:23:46.000000000 +0100 +++ check_cpu.py 2011-11-05 20:14:00.000000000 +0100 @@ -117,13 +117,13 @@ statLines = string.split( statOut, 'n') -lastLine = statLines[-2] +lastLine = statLines[-2].strip() n = len(statLines) for i in range(0, n): idcheck = re.search("id", statLines[i]) if idcheck: - idLine = statLines[i] + idLine = statLines[i].strip()

Reviewed 15 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile