Force Check on Passive Service Issue
Posted: Thu Dec 19, 2013 8:02 am
I am a software developer working on various applications which send status to Nagios via Passive Services. I do this from various languages using NSCA. The services use Freshness checks which can vary for 15 minutes to 26 hours. The Passive Services are on hosts which also contain various Active Services.
The issue I have occurs when a host has been down and numerous Active Services are Critical on the host. When these are believed to be resolved our IT guy always selects the Host, followed by 'Schedule a check of all services on this host'. He then issues a 'Force Check'. This of course forces Active Checks of the Passive Services on that host and results in 'CRITICAL: Results not updated!'. The passive services then stay in this state until my code sends the next passive update which in some cases is up to 24 hours. The IT guy wants us to stop using Passive checks for this reason but we have a lot of development time invested in it.
Is there a way to configure a Passive service so that it is ignored when a 'Force Check' is executed. If possible I'm looking for an automated configuration option rather than a manual process to go through before and after initiating the Force Check.
Thank you in advance,
Jason
The issue I have occurs when a host has been down and numerous Active Services are Critical on the host. When these are believed to be resolved our IT guy always selects the Host, followed by 'Schedule a check of all services on this host'. He then issues a 'Force Check'. This of course forces Active Checks of the Passive Services on that host and results in 'CRITICAL: Results not updated!'. The passive services then stay in this state until my code sends the next passive update which in some cases is up to 24 hours. The IT guy wants us to stop using Passive checks for this reason but we have a lot of development time invested in it.
Is there a way to configure a Passive service so that it is ignored when a 'Force Check' is executed. If possible I'm looking for an automated configuration option rather than a manual process to go through before and after initiating the Force Check.
Thank you in advance,
Jason