H,
Good day!
Is it possible to automatically schedule downtime in Nagios XI based on logs on the server?
We are monitoring hundreds of Unix servers and we need to reboot random servers but we don't know which particular server and what time. All depends on a log on any of those servers. If that particular log is present in the server then that server will automatically reboot and Nagios needs to schedule a downtime.
Please advise.
Thanks,
Ann
Schedule Downtime in Nagios XI Triggered by Logs
Re: Schedule Downtime in Nagios XI Triggered by Logs
Yes, it is possible. You have to figure out how to monitor your logs, and then you can trigger an action based on that. There are ways within Nagios XI to do that, and there are ways (that are easier) with Nagios Log Server.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Schedule Downtime in Nagios XI Triggered by Logs
As @eloyd mentioned, collecting logs is much easier in Nagios Log Server, but it can be done in XI. If you do it in XI, you will need to set up event handlers to schedule the downtime: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
Re: Schedule Downtime in Nagios XI Triggered by Logs
Hi Guys,
Thanks for your response, I appreciate it.
Will give this a try and let you know of the result.
Thanks,
Ann
Thanks for your response, I appreciate it.
Will give this a try and let you know of the result.
Thanks,
Ann
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Schedule Downtime in Nagios XI Triggered by Logs
Sounds great let us know how it turns out.