Page 1 of 1

plugin time out

Posted: Wed Aug 28, 2019 12:55 pm
by sagesoft
Hi;

Would like to seek help strange behavior of Nagios XI after upgrading from 5.4.11 to 5.6.5 all the check_xi_by_ssh encountering plugin time out. What could be the cause of this issue since all of the services are critical state.


Thank you.

Refer attached image:

Re: plugin time out

Posted: Wed Aug 28, 2019 2:37 pm
by benjaminsmith
Hi @brezner,

It looks like the hosts are up but the all the checks are timing out. Besides the upgrade, did anything else change? From the Nagios XI server, are you able to ssh into the remote hosts without a password.

Code: Select all

su nagios
ssh <IP Address of the remote system>
If that works, what happens you when run the check command from the command line.

Code: Select all

/usr/local/nagios/libexec/check_by_ssh -H remoteip -C uptime
See: Nagios XI - How To Test Check Commands From The Command-line

Re: plugin time out

Posted: Wed Aug 28, 2019 4:35 pm
by sagesoft
We tried to increase time out to 60 and it is working in cli. however it's very tedious to update around 900 services. is there an easier way to modify this?

Re: plugin time out

Posted: Thu Aug 29, 2019 1:56 pm
by benjaminsmith
Hello @brezner,

Probably, the simplest way is to modify the check command. Go to Configure > CCM > Command and find the command for check_by_ssh, and add the -t 60 to the command string ( see image).
ssh-check-command.png
Let me know if you get it resolved.

Re: plugin time out

Posted: Tue Sep 24, 2019 2:02 am
by sagesoft
Thank you @benjaminsmith you may now lock this thread. Regards.