Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4416Themes and Skins13Add-ons768Graphics 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
NTP and Time check_timezone.pl (Advanced Nagios Plugins Collection)
0.0 (0)
37K
RSS Feed
Newest Listings Updated Listings
Top Contributors
John Shorey (4)deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Nick Overstreet (3)
See More
Newest Contributors
Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)faddom (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Glyn Astill
GA

Glyn Astill

@glynastill

User Stats

Member Since: October 13, 2014

Favorites0

Views

Projects0

No Projects Found
check_linux_bonding

Bonding driver changed in linux 3.13

It would appear the patch by BlauwBlaatje on April 29, 2014 has been truncated so is missing the final part of the patch. The following works for me: --- check_linux_bonding.a 2014-10-13 11:13:17.899342000 +0100 +++ check_linux_bonding.b 2014-10-13 11:33:03.010804900 +0100 @@ -255,7 +255,14 @@ my $masters_file = "$sysdir/bonding_masters"; my @bonds = (); my %bonding = (); - + my $device; + my ($kernver, @rest) = split('-', `uname -r`); + if ( $kernver >= 3.13 ) { + $device = "lower"; + } else { + $device = "slave"; + } + if (! -f $masters_file) { return {}; } @@ -311,8 +318,8 @@ # get slave status foreach my $slave (@slaves) { - open my $STATE, '

Reviewed 12 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile