Search found 7 matches

by renavas
Tue Apr 27, 2010 5:32 am
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

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 st...
by renavas
Sat Apr 24, 2010 11:07 am
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

Re: nrpe + check_mail

Hi.-

Now I have another problem .-

I'm doing the same on another server but now it produces the following error:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_mailq
Mailqueue WARNING - query returned no output!
by renavas
Sat Apr 24, 2010 11:05 am
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

Re: nrpe + check_mail

Hi.-

I solved the problem with the following line in /etc/sudoers:
nagios ALL=NOPASSWD:/usr/sbin/exim
by renavas
Sat Apr 24, 2010 5:33 am
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

Re: nrpe + check_mail

Hi.- This is the error I see: sudo(pam_unix)[25517]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=nagios With check_load works well /usr/local/nagios/libexec/check_nrpe -H localhost -c check_load OK - load average: 0.15, 0.09, 0.02|load1=0.150;15.000;30.000;0; load5=0.090;10...
by renavas
Thu Apr 22, 2010 8:35 pm
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

Re: nrpe + check_mail

mmestnik wrote:Check nrpe versions(client/server), they should be close if not matching. I'm assuming this happens with every check?
Only the error occurs check_eximailqueue
by renavas
Thu Apr 22, 2010 8:33 pm
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

Re: nrpe + check_mail

tonyyarusso wrote:Does NRPE work for other checks? Could you be a little clearer about exactly what is going on?
The NRPE works very well with the other services .-

With alterations are produced error check_eximailqueue
by renavas
Thu Apr 22, 2010 5:20 am
Forum: Nagios XI
Topic: nrpe + check_mail
Replies: 12
Views: 5585

nrpe + check_mail

Hi.-

I have a problem and not how to fix it .-

Apparently it should work:
./check_eximailqueue -w 200 -c 500
Mailqueue OK - 20 messages on queue

But with no nrpe:
/usr/local/nagios/libexec/check_nrpe -H localhost -c check_mailq
CHECK_NRPE: Socket timeout after 10 seconds.

What is the problem?