Hello,
I've noticed that on a passive check, if there are 2 ok status in sequence, the passive service does not process any event handler on the last Ok status received but registers it.
Is there a way to initiate a self check to trigger the event handler. I did one send custom notification it did trigger the event handlers. Is there a way that can be done in automatic ?
SAleem
Passive Service SElf check
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Passive Service SElf check
Saleem THUPSEE
-
kyang
Re: Passive Service SElf check
The event handler is triggered when there is a self-check? Is that correct?
Could you tell us what the event handler will do if the state is in OK.
Could you tell us what the event handler will do if the state is in OK.
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Re: Passive Service SElf check
the event handler will update the status of another passive service. That displays the overall status of audio, video on channels flowing out of a broadcast facility. (In audio visual broadcast system, audio, video on a tv channel are depedant on serveral services/servers)
Saleem THUPSEE
-
kyang
Re: Passive Service SElf check
If the passive check is OK, then you are wanting to recheck itself again through the event handler? Correct?
Is the status update somehow different every time a check is placed? Is that the reason for rechecking with an event handler?
How do you have this event handler set up? What macro's did you indicate for it to trigger on an OK state?
Is the status update somehow different every time a check is placed? Is that the reason for rechecking with an event handler?
How do you have this event handler set up? What macro's did you indicate for it to trigger on an OK state?
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Re: Passive Service SElf check
If the passive check is OK, then you are wanting to recheck itself again through the event handler? Correct? - Thats correct !
Is the status update somehow different every time a check is placed? Is that the reason for rechecking with an event handler? - Yes because i want to update another passive service to indicate the real status - decorrelated from the service being monitored
How do you have this event handler set up? - event handler is setup through a script command and triggered through Manage service notification handler. Assigned through contact management
What macro's did you indicate for it to trigger on an OK state? The variable from $SErvicestate$
Is the status update somehow different every time a check is placed? Is that the reason for rechecking with an event handler? - Yes because i want to update another passive service to indicate the real status - decorrelated from the service being monitored
How do you have this event handler set up? - event handler is setup through a script command and triggered through Manage service notification handler. Assigned through contact management
What macro's did you indicate for it to trigger on an OK state? The variable from $SErvicestate$
Saleem THUPSEE
-
kyang
Re: Passive Service SElf check
I think the best solution to this is to use freshness checking on this passive check. Freshness checking will put the service into a critical state when no passive check has been received (you can set the timeframe). Then set the event handler to the service state "critical" to recheck for status when a check has not been triggered in x amount of time.
Starting on page 8, it talks about freshness checking and how to set it up.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Starting on page 8, it talks about freshness checking and how to set it up.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf