Page 1 of 1

Critical - Plugin timed out

Posted: Thu Aug 13, 2020 2:38 pm
by STR IT
we have been getting hundreds of Critical Plugin timed out alerts from our nagiosxi server. There are from the check_xi_by_ssh service. They are always random and have been filling up our inboxes. Any help would be appreciated.
Here is an example of a notification

Notification Type: PROBLEM

Service: Var Disk Space
Host: hostname
Address: hostname
State: CRITICAL
Info:
CRITICAL - Plugin timed out
Date/Time: 2020-08-13 14:54:34

Re: Critical - Plugin timed out

Posted: Fri Aug 14, 2020 10:34 am
by lmiltchev
Can you show us the actual command that you are using, run from the command line, along with the output of it?

How long does it usually take before the check times out? Try using the "time" command in front of your check to time it. You may even run it a few times to get an idea of the "average".

Example check:

Code: Select all

time su -l nagios -c '/usr/local/nagios/libexec/check_by_ssh -H x.x.x.x -C "/usr/local/nagios/libexec/check_disk /"'
DISK OK - free space: / 24437 MiB (68.33% inode=92%);| /=11323MiB;;;0;37674

real    0m0.286s
user    0m0.087s
sys     0m0.082s
Also, run the following command, and show the output:

Code: Select all

grep check_timeout /usr/local/nagios/etc/nagios.cfg