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

Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now

Plugins4379Themes and Skins11Addons732Documentation283Graphics 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
Distributed Monitoring Integrating MNTOS With Nagios
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (4)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)TcoUpLoad (1)
See More
Newest Contributors
Community Member (51)Davide Lemma (4)Alarig Le Lay (1)Penn Rabb (1)Sean Falzon (1)
See More
Home > Jay Libove
JL

Jay Libove

@libove

User Stats

Favorites0

Views

Projects0

No Projects Found
check_yum

CentOS 6

Augmenting the excellent advice of the previous poster, here is a small diff against check_yum 0.7.1 which will allow the script to continue working with CentOS 5 while also making it compatible with the yum output format of CentOS 6: *** check_yum.old 2012-03-18 18:58:12.000000000 +0100 --- check_yum 2012-03-18 18:57:36.000000000 +0100 *************** *** 318,326 **** output = self.run(cmd) re_security_summary = ! re.compile("Needed d+ of d+ packages, for security") re_no_security_updates_available = ! re.compile("No packages needed, for security, d+ available") summary_line_found = False for line in output: if re_no_security_updates_available.match(line): --- 318,326 ---- output = self.run(cmd) re_security_summary = ! re.compile("Needed d+ of d+ packages,? for security") re_no_security_updates_available = ! re.compile("No packages needed,? for security[;,] d+ (packages )?available") summary_line_found = False for line in output: if re_no_security_updates_available.match(line):

Reviewed 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks