Schedule Downtime in Nagios XI Triggered by Logs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
admingirl
Posts: 17
Joined: Tue Jun 13, 2017 6:33 am

Schedule Downtime in Nagios XI Triggered by Logs

Post 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
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Schedule Downtime in Nagios XI Triggered by Logs

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Schedule Downtime in Nagios XI Triggered by Logs

Post 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
Former Nagios employee
admingirl
Posts: 17
Joined: Tue Jun 13, 2017 6:33 am

Re: Schedule Downtime in Nagios XI Triggered by Logs

Post 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
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

Post by scottwilkerson »

Sounds great let us know how it turns out.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked