I'm looking at alert history for hosts and I would love to get a history for ALL hosts that goes further back than a day or so. Is there a way to do this? This is going to be used to leverage a hardware discussion today so I'd love to see something soon.
I'm running Nagios core 4.1.1 on a Centos 6.x host.
Thanks for any advice.
R
Alert history for longer than a day or so
Re: Alert history for longer than a day or so
Those reports are distilled from the nagios logs. You can switch which log file you are referencing to view older records. The log files are rotated every day, so you should be able to traverse days using the "latest archive" button:
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Alert history for longer than a day or so
Holy crap, what a fail on my part. Thank you very much.
Is there a way to dump this from the command line so I can play with it in Excel or something?
Is there a way to dump this from the command line so I can play with it in Excel or something?
Re: Alert history for longer than a day or so
Actually nevermind. I see that the log files are plain text and it should be fairly trivial (if not convenient, lol) to script something I can use. Thanks again for the coaching.