[Yum] Yum scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2003-09-24 at 08:09, Matthew.Quinney@xxxxxxxxxxxxxxxxxxxxx
wrote:
> Hello all,
> 
> I was wondering if anybody had written any scripts for Yum and Nagios.
> I would like to run a check every day on Nagios to see if any updates
> were available. Nagios expects to see a 0 if all is okay.
> 
> I am aware of the yum check-update but I cannot seem to get Nagios to
> work with it.
> 

yum should exit with a result of 0 if no updates are needed and no
errors occurred while running yum check-update

it should exit with 1 if an error occurs and exit w/100 if updates are
found.

what's not working?
-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux