[Nagiosplug-devel] New plugin: check_yum
    Sean Dilda 
    agrajag at dragaera.net
       
    Wed Apr 21 07:28:09 CEST 2004
    
    
  
On Wed, 2004-04-21 at 05:55, Gerwin Krist -|- Digitalus.NL wrote:
> details at:
> 
> https://sourceforge.net/tracker/index.php?func=detail&aid=939170&group_id=29880&atid=541465
> 
Interesting.  From a quick look, I'd suggest relying more on exit codes
and textual output.  From the man page, if the exit code is 100, then
your system is not up to date.  If its 0, your system is up to date.  If
its anything else, yum had a problem running.  (A quick check just
showed python exits with a status of 1 if there's an IOError)
Checking the exit codes is a little more robust than your current
method.
    
    
More information about the Devel
mailing list