plugin time out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sagesoft
Posts: 28
Joined: Wed Aug 30, 2017 10:12 pm

plugin time out

Post 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:
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: plugin time out

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
sagesoft
Posts: 28
Joined: Wed Aug 30, 2017 10:12 pm

Re: plugin time out

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: plugin time out

Post 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.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
sagesoft
Posts: 28
Joined: Wed Aug 30, 2017 10:12 pm

Re: plugin time out

Post by sagesoft »

Thank you @benjaminsmith you may now lock this thread. Regards.
Locked