CRITICAL - Plugin timed out

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
supmethods
Posts: 10
Joined: Mon Jul 04, 2022 7:24 am

CRITICAL - Plugin timed out

Post 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.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: CRITICAL - Plugin timed out

Post 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.
supmethods
Posts: 10
Joined: Mon Jul 04, 2022 7:24 am

Re: CRITICAL - Plugin timed out

Post 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
Post Reply