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
Plugins4400Themes and Skins12Add-ons753Documentation283Graphics 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
Nagios Log Server Documentation Nagios Log Server – Upgrade Instructions
0.0 (0)
6.5K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Chad Columbus (3)
See More
Newest Contributors
fisherrs (1)juanfertor (1)zsoltaire (1)RavuAlHemio (1)sowoii (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Gordon
G

Gordon

@grdnkln

User Stats

Member Since: July 6, 2013

Favorites0

Views

Projects0

No Projects Found
Check Newest files age and size in Diredtory

Bug in algorithm, needs fix

The script doesn't properly determine which file is the newest one. The IF statement on line 113 is incorrect. Also the name "check_fileage" is confusing, it's too similar to the natively provided "check_file_age" plugin. My suggestion is: 1) Rename the script to "check_newestfileage", and so a search/replace inside the plugin to change all instances of "check_fileage" to "check_newestfileage". 2) Remove the "else" clause on the IF statement on Line 111, so change this: if($diff

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile