Stop monitoring a host if it's OFF and re-monitor when ON?

Discuss new project and feature ideas here.
See labs.nagios.com for new projects under development.

Stop monitoring a host if it's OFF and re-monitor when ON?

Postby Dotzek » Mon Nov 12, 2018 7:29 am

Hi guys!

I was wondering if there's a possibility that Nagios could stop monitoring a Host if it's OFF, and turn monitoring ON when it's ON?

The idea was to use my Nagios server that will monitor if a CLIENTserver is OFF through a script which uses an API, and if the CLIENTserver is off it'll auto-remove its monitoring on it, But if the server is ON it'll re-install the monitoring automatically into the templates,

The reason I need it is because there are Hourly CLIENTservers that we need to monitor aswell, and when the hourly servers are OFF it's SPAMMING US with alerts.

I know there are better ways for it, I welcome every solution.
Thanks allot!
Dotzek
 
Posts: 5
Joined: Sun Mar 04, 2018 4:52 am

Re: Stop monitoring a host if it's OFF and re-monitor when O

Postby bolson » Mon Nov 12, 2018 11:53 am

Hello Dotzek,

Are these hosts brought down at a predetermined time? Ie; hourly? If so, the Scheduled Downtime functionality could be the solution you're looking for. If included a link to the documentation. If not, please describe with as much detail as possible the scenario you're facing.

Thank you for visiting the Nagios Support Forum!

https://support.nagios.com/kb/article.php?id=544
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Brian Olson
Nagios Support Team
---
Nagios Enterprises, LLC
Email: customersupport@nagios.com
Web: https://www.nagios.com/
User avatar
bolson
The Closer
 
Posts: 777
Joined: Tue Jul 11, 2017 10:34 am


Return to Nagios Ideas

Who is online

Users browsing this forum: No registered users and 1 guest