BPI service check timing out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jvaira
Posts: 59
Joined: Tue Dec 22, 2015 7:40 pm

BPI service check timing out

Post by jvaira »

Hello,
We are running into an issue where every time we do an apply config we get an alert about our bpi service check timing out. We are getting the following error ( Service check timed out after 60.01 seconds ) so I am trying to increase the timeout value to see if that helps. I changed the check_bpi command to /usr/bin/php $USER1$/check_bpi.php $ARG1$ -t 90 but still get the error about the 60 second timeout. Is this not the correct syntax for increasing the timeout to 90 seconds?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: BPI service check timing out

Post by lmiltchev »

This could happen on a very large system. You have two options the way I see it.

If you wanted to sync hostgroups and servicegroups each time you apply configuration, you would need to increase the "global" timeout for services in the nagios.cfg file. The default value is 60. You can increase it to 90 to see if this is going to solve the issue:

Code: Select all

service_check_timeout=90
Save, exit, and restart nagios:

Code: Select all

service nagios restart
The second option is to modify the BPI settings:
Home > BPI > Edit BPI Settings > Sync all hostgroups and servicegroups on apply config = cleared > Apply Settings
This way, the BPI service won't be timing out, but hostgroups/servicegroups won't be synced during apply configuration, so you may need to sync them once in a while manually.

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked