On 25 Oct 2006, at 13:57, Paul Houselander wrote:If I run/usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_mailqI always get backOK: mailq is emptyThis 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
Hello Paul
check_nrpe will running as nagios user.
To check the mailq you need to be root.
add this line with visudo:
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_mailq
I'm running on Fedoracore4
Good luck
Sjaak
Paul Houselander wrote:
>Hi
>
>Ive just started using nagio