Capture information from the server when it gets an alert?
-
dpasacritacrown
- Posts: 24
- Joined: Tue Oct 13, 2015 12:57 pm
Capture information from the server when it gets an alert?
Hey, is there any way I can setup Nagios to capture some information from the server when a service or host sends out an alert? An example is this: We're like Nagios to do something similar to capturing the current server-status apache page when it detects a high Response Time for the site. Is there any way this can be done?
Re: Capture information from the server when it gets an aler
You're going to want to read up on event handlers. They can be very powerful when implemented properly.
Former Nagios Employee.
me.
me.
-
dpasacritacrown
- Posts: 24
- Joined: Tue Oct 13, 2015 12:57 pm
Re: Capture information from the server when it gets an aler
Thanks! After reading up on event handlers I managed to get it to run a script I created to pull the server status page every time it got an alert. Thanks for pointing me in the right direction!
Re: Capture information from the server when it gets an aler
Glad to hear it's working! Are we alright to close up the thread?
Former Nagios employee