On 25 Oct 2006, at 13:57, Paul Houselander wrote:
This is a bug in Nagios Plugins 1.4.3 with check_mailq. If the nagios user runs "mailq", it comes back with a permissions error. However, the plugin does not recognise this correctly and instead says the queue is empty. This has been fixed in the the newer 1.4.4 release. Off the top of my head, on your server, you need to give the nagios user enough permissions to read /var/spool/mailq. You do this by adding the user into the mail group and chmod g+r /var/spool/mailq. Alternatively, you can do what Sjaak has recommended of running this plugin as root via sudo. Warning: I think some system updates may change the permission of /var/spool/mailq back to g-r, but at least the plugin will now return an error correctly :) Ton T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ 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