Hi,
I do have a problem checking my mailservers mailq from my nagios server.
I checked the message from P. Houseland a few day ago; he had nearly the
same problem. His solution didden't solve my problem.
The servers are both centos 4.4, the nagios software is nagios-2.5-1.el4.rf
nagios-plugins-
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
Hi
Ive just started using nagios and have it set up on a Cent 0S 4.3 box.
Seems to be working ok but ive ran into a problem where I want to check the
size of the mail queue on another server. Ive installed nrpe on the remote
server and checked its working by running on the nagios server:-
/usr/l