Search found 8 matches
- Wed Sep 02, 2015 4:39 am
- Forum: Open Source Nagios Projects
- Topic: Changing service state to OK from the event handler
- Replies: 7
- Views: 3077
Re: Changing service state to OK from the event handler
Why not have your event handler just send a passive OK result? Great idea! Thank you! So, will the service state be affected both by active checks and passive checks (done only once the event handler sends a passive result)? As for the first_notification_delay, can I simply set it permanently to 2 ...
- Tue Sep 01, 2015 9:35 am
- Forum: Open Source Nagios Projects
- Topic: False positives avoidance
- Replies: 22
- Views: 18496
Re: False positives avoidance
The following design should work: a simple addon that instead of checking the service, compares the JSON reply from multiple Nagios servers and results in the concluded state based on its own logic. No event handler is required.
Any comments?
Any comments?
- Tue Sep 01, 2015 9:31 am
- Forum: Open Source Nagios Projects
- Topic: Changing service state to OK from the event handler
- Replies: 7
- Views: 3077
Re: Changing service state to OK from the event handler
Event handler running an external command was my first thought. The problem then is that you run into flapping issues potentially. Short of wrapping the check in a script that consults with the other server, I can't think of a good way to do this. Which external command? Disable globally the notifi...
- Tue Sep 01, 2015 7:21 am
- Forum: Open Source Nagios Projects
- Topic: False positives avoidance
- Replies: 22
- Views: 18496
Re: False positives avoidance
Actually, reading better, BPI handles only the view. It doesn't tell Nagios what is the right status based on the multiple remote Nagios servers. Nagios will still log false positive alerts and send the related notifications...
- Tue Sep 01, 2015 6:19 am
- Forum: Open Source Nagios Projects
- Topic: False positives avoidance
- Replies: 22
- Views: 18496
Re: False positives avoidance
The short version is that you can create a group of services (those three, for instance) that only triggers a warning if a percentage of results are in a warning state. So if you want to wait until all three are bad, you would set your warning at 100%. If you wanted to wait until only two are bad, ...
- Tue Sep 01, 2015 5:43 am
- Forum: Open Source Nagios Projects
- Topic: Changing service state to OK from the event handler
- Replies: 7
- Views: 3077
Re: Changing service state to OK from the event handler
I would like to add that the two Nagios servers to compare are located in different countries.
Thank you tmcdonald.
Thank you tmcdonald.
- Tue Sep 01, 2015 4:57 am
- Forum: Open Source Nagios Projects
- Topic: False positive detection with a second Nagios
- Replies: 1
- Views: 1049
False positive detection with a second Nagios
Hello, I would like to avoid false positive logs. I'm open to alternative suggestions, but I wonder if my plan is feasible: The event handler reads the JSON reply for a query for the same monitored service from a second Nagios, right before arriving to the max_check_attempts. If the second Nagios sa...
- Thu Aug 20, 2015 7:35 am
- Forum: Open Source Nagios Projects
- Topic: Changing service state to OK from the event handler
- Replies: 7
- Views: 3077
Changing service state to OK from the event handler
Hello, I wonder if it's possible to tell Nagios that actually this service is OK, from the service event handler. It's an even hander that confronts the status with a second Nagios server, for avoiding false positive alerts. I can try avoid sending notifications by sending an external command, but I...