nrpe + check_mail
Re: nrpe + check_mail
This likely is just as the error describes, is this perhaps a new server that has yet to send an email?
Re: nrpe + check_mail
Hi.-
I should clarify that I am no expert user nagios not speak English.-
I have a server with the following characteristics:
cPanel 11.25.0-S44718 - WHM 11.25.0 - X 3.9
CENTOS standard 5.4 i686
nagios-plugins-1.4.14
nrpe 2.12
I installed the plugins and nrpe exactly like the nagios documentation states and other check work very well:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_load
OK - load average: 0.07, 0.07, 0.06|load1=0.070;15.000;30.000;0; load5=0.070;10.000;25.000;0; load15=0.060;5.000;20.000;0;
This does not work with nrpe:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_mailq
Mailqueue WARNING - query returned no output!
[/usr/local/nagios/libexec]# ./check_eximailqueue -w 800 -c 1000
Mailqueue OK - 159 messages on queue
I should clarify that I am no expert user nagios not speak English.-
I have a server with the following characteristics:
cPanel 11.25.0-S44718 - WHM 11.25.0 - X 3.9
CENTOS standard 5.4 i686
nagios-plugins-1.4.14
nrpe 2.12
I installed the plugins and nrpe exactly like the nagios documentation states and other check work very well:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_load
OK - load average: 0.07, 0.07, 0.06|load1=0.070;15.000;30.000;0; load5=0.070;10.000;25.000;0; load15=0.060;5.000;20.000;0;
This does not work with nrpe:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_mailq
Mailqueue WARNING - query returned no output!
[/usr/local/nagios/libexec]# ./check_eximailqueue -w 800 -c 1000
Mailqueue OK - 159 messages on queue
Re: nrpe + check_mail
http://go.nagios.com/forum/316/1360
At this point I'd say start stracing things. You'll want to compare the output of these:
At this point I'd say start stracing things. You'll want to compare the output of these:
Code: Select all
strace -fp $(pgrep nrped); # Then run the check_nrpe command.
strace ./check_eximailqueue