Page 1 of 1

CRITICAL - Plugin timed out

Posted: Tue Jul 12, 2022 8:45 pm
by supmethods
Hi

I have a Nagios error as follows "CRITICAL - Plugin timed out". The server is monitoring systems using SSH.

What can I do to troubleshoot this problem? Thank you.

Re: CRITICAL - Plugin timed out

Posted: Thu Jul 14, 2022 10:43 am
by gormank
SSH to the nagios host, become the nagios user, run the plugin with correct arguments and look at the results. If the plugin takes a long time to run you may need to increase the timeout in nagios.cfg.

Re: CRITICAL - Plugin timed out

Posted: Wed Sep 14, 2022 10:36 pm
by supmethods
It seems to run for 10 secs and I get the CRITICAL TIMEOUT warning.

Which timeout value do I need to change? I thought it would be service_check_timeout which has been set to 60 seconds. When I run the check, it seems to run only for 10 secs.

Here are the options I have:
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5