Page 2 of 2

Re: Change default time for check_nrpe

Posted: Thu Oct 04, 2012 9:38 am
by lmiltchev
OK, I just noticed that you showed us two different commands...

You run from the command line:
. / check_nrpe-H $ HOST-p 5666-v-l SERVICESTATE service1-t 100
and say that it is working fine, but *same* command is timing out in the gui...

However, you show a completely different command on your screenshot - "check_mailbox"... What happens when you run this command from the command line?

Can you verify this, please?

Re: Change default time for check_nrpe

Posted: Thu Oct 04, 2012 11:12 am
by quental
Hi,
yeah, you're right.
if I run the command on console mode, I get the same result:

Code: Select all

./check_nrpe-H $HOST -p 5666 -c check_mailbox -t 200
Result: Service Chequed Time Out

Re: Change default time for check_nrpe

Posted: Thu Oct 04, 2012 11:54 am
by lmiltchev
I don't believe this is a Nagios XI problem. Check the command that you are executing. Also, review the "Troubleshooting" section in this document, concerning timeouts:

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

Re: Change default time for check_nrpe

Posted: Fri Oct 05, 2012 9:43 am
by quental
hello,
the problem is resolved.

I rebooted the machine in the process dnxcld slave, and now it works.

I do not know why, but it works.

thank you very much to all for your time!

regards

Re: Change default time for check_nrpe

Posted: Fri Oct 05, 2012 9:46 am
by lmiltchev
I am glad it's resolved! If you have any more issues, please, start a new thread - I am locking this one.