Page 1 of 1

Schedule Downtime in Nagios XI Triggered by Logs

Posted: Sat May 26, 2018 10:59 am
by admingirl
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

Re: Schedule Downtime in Nagios XI Triggered by Logs

Posted: Tue May 29, 2018 9:54 am
by eloyd
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.

Re: Schedule Downtime in Nagios XI Triggered by Logs

Posted: Tue May 29, 2018 11:26 am
by tmcdonald
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

Re: Schedule Downtime in Nagios XI Triggered by Logs

Posted: Tue May 29, 2018 11:28 pm
by admingirl
Hi Guys,
Thanks for your response, I appreciate it.

Will give this a try and let you know of the result.

Thanks,
Ann

Re: Schedule Downtime in Nagios XI Triggered by Logs

Posted: Wed May 30, 2018 8:57 am
by scottwilkerson
Sounds great let us know how it turns out.