Announce: Check_Yum for RedHat/CentOS server packagealerts

Randal, Phil prandal at herefordshire.gov.uk
Wed Apr 30 16:30:12 CEST 2008


# ./check_yum -vvv
setting plugin timeout to 30 seconds
running command: /usr/bin/yum --security check-update
Returncode: '0'
Output: 'Loading "security" plugin
Loading "priorities" plugin
Loading "protectbase" plugin
Loading "installonlyn" plugin
Loading "dellsysidplugin" plugin
Setting up repositories
Reading repository metadata in from local files
Reducing city-fan.org repository for Red Hat Enterprise Linux (and
clones) 5 (x86_64) to included packages only
Finished
Excluding Packages from Red Hat Enterprise 5 - RPMforge.net - dag
Finished
Reducing city-fan.org repository for Fedora Core Rawhide (x86_64) to
included packages only
Finished
Limiting package lists to security relevant ones
No packages needed, for security, 0 available
0 packages excluded due to repository priority protections
0 packages excluded due to repository protections
'
Yum WARNING: Yum output signature does not match current known format,
please make sure you have upgraded to the latest version of this plugin.
If the problem persists, please contact the author for a fix 


Oh well, maybe one day it will work. :-p

Phil
--
Phil Randal
Networks Engineer
Herefordshire Council
Hereford, UK

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari
Sekhon
Sent: 30 April 2008 13:46
To: Nagios Users mailinglist
Subject: [Nagios-users] Announce: Check_Yum for RedHat/CentOS server
packagealerts

Hi,

   I've just released the Check_Yum plugin on NagiosExchange.org as the
only one there seemed quite inadequate.

Features of the new plugin (none of which are in the old plugin)
include:

- Differentiate between Security / normal package updates
- Better output - numbers of packages updates
- Support for extra Yum options including enabling and disabling repos,
running from the cache
- Optional Warning on non-security updates
- Optional Critical alerting on any package
- Timeout
- Verbosity
- Less false package alerts (the old plugin just used to misleading say
the O/S needed updates when yum failed for any reason at all), including
proper error feedback and a switch for lock handling to not raise an
alert like if somebody is running yum interactively at the same time.


You can download the plugin here:

http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=
1

(you may need to copy and paste that link if your mail client
misinterprets the link)

As ever, feedback is welcome, and development will continue if needed
for extra switches and features.
This should also work with Fedora or another RPM based distros that uses
yum as it's package management system but I've not tested it outside
RHEL/CentOS so feedback is welcome there too.


On a related note, I'm also quite interested in people's experiences of
updating and maintaining RedHat based systems especially with regards to
security. I spoke to a few people and they basically don't follow
security vulnerabilities and don't patch which ties in with my
experiences and what I've seen of other people's systems too which is
very disappointing. Hopefully this will make it easier to automatically
track and keep on top of security updates for those of us who have
RedHat Enterprise Linux 5 or later or equivalent.


Thanks

-h

--
Hari Sekhon


------------------------------------------------------------------------
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list