If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

a passive check that start going only active

Hi everyone,
(sorry for the long post... and bad english)

I&#039;m still a noob with Shinken and recently I encountered a problem with one of my passive checks.

- The context is very simple :

1 little Shinken Server, listening to dozens of passive checks with the WS_Arbiter (all the monitored machines are behind firewalls).
The hosts are not checked at all, only their services : custom Python scripts verify what I want and send the result to the WS_Arbiter, generally every hour.
If Shinken doesn&#039;t receive the result in time (freshness_threshold 4200 seconds to have a margin for hourly passive checks), a dummy active check put the service in Critical state.

One of the passive checks didn&#039;t received the result in time and the dummy active check was triggered to put the service to critical.
I checked the problem on the host and manually run the script that monitor the service and send the result to Shinken.
Shinken received the result through WS_Arbiter and changed the service state from Critical to OK.

However, for a reason that I don&#039;t know, that service continue to be regularly actively checked, launching the dummy script that just return a Critical result code.
Of course the template of the service include active_checks_enabled 0.

- What i&#039;ve done so far :

I verify the configuration of that service and his template = everything seems ok.
I tested a similar service, that is configured the same way (same template), and willingly stopped the monitoring script = the service state goes to Critical and return to Ok when receiving again the passive result but didn&#039;t continue to actively check the service.
I restarted all Shinken services = nothing changed.

I could test to erase this service from my config and create it again, but I&#039;d rather like to understand what is going on and how to fix it.

Re: a passive check that start going only active

Remeber that the active_check_enabled (and passive one) are only read from configuration at the first service launch. Then it&#039;s saved into the retention data (so got to use use an external command to change it, configuration won&#039;t).

Try to remove your retention data and restart. Can solve this.

No direct support by personal message. Please open a thread so everyone can see the solution