Critical - Plugin timed out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
STR IT
Posts: 1
Joined: Mon Feb 24, 2020 8:23 am

Critical - Plugin timed out

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Critical - Plugin timed out

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked