-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hugo van der Kooij wrote: | Hari Sekhon wrote: | | | I've just released the Check_Yum plugin on NagiosExchange.org as the | | only one there seemed quite inadequate. | | There is a design bug: | You must be root to run this plugin (otherwise yum cannot access | repository information)
And just to be sure. I can even run yum as nagios user: # su - nagios -c "yum check-update" Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files Skipping security plugin, no data clamav.i386 0.93-2.el5.rf rpmforge clamav-db.i386 0.93-2.el5.rf rpmforge clamd.i386 0.93-2.el5.rf rpmforge # su - nagios -c "yum update" Loading "installonlyn" plugin Loading "security" plugin You need to be root to perform this command. So why does this nagios plugin need to run with root priviliges? Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIGH2+BvzDRVjxmYERAvjiAJ0eyvyRV9VQF0BtrvlRDv7kHQU2vQCfZmWv Kb77wvRfmnkdK9t/EK2Ikt4= =bpsH -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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@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