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?
BPI service check timing out
Re: BPI service check timing out
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:
Save, exit, and restart nagios:
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.
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=90Code: Select all
service nagios restartHome > 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!