My manager would like to get more out of the log files. We would like to display all status (OK, Warning, Critical) at every interval they are checked.
So far it seems that the log file will only show W and C states. I configured an hourly log rotation which will show every hour all initial states (O W and C). BUT, for example, if we wanted to show the Server Load at 15 minute intervals in the log file, even if it is in OK state, is there anyway to do this? OR is there a file where Nagios stores this data in case we want to go back and debug an issue?
I'm using RHEL release 6.3 server. Linux 2.6.32-279.el6.x86_64 x86_64 with Proxy
Thanks
Phil
Logging All States (OK, Critical, Warning)
Re: Logging All States (OK, Critical, Warning)
That somewhat depends. Do you want to look at the state information or the performance metrics? If you want the state history (OK, Warning, Critical), you can look at the Reports->State History report for the host or service. If you want the performance metrics, then you would want to look at the performance graphs with either the Home->All Host Graphs, or use the Graph Explorer component to be able to zoom and rescale the graphs.
Re: Logging All States (OK, Critical, Warning)
Mguthrie,
Thanks for your response. For the meantime, I stumbled upon Nagios Performance Data which might help me in the meantime for getting a log file with metrics. I will see if that helps. *(http://nagios.sourceforge.net/docs/3_0/perfdata.html).
With regards to the graphs, I only see Performance Graphs for ping times. What is the process to have performance graphs for other services (ie CPU Load).
Thanks for your response. For the meantime, I stumbled upon Nagios Performance Data which might help me in the meantime for getting a log file with metrics. I will see if that helps. *(http://nagios.sourceforge.net/docs/3_0/perfdata.html).
With regards to the graphs, I only see Performance Graphs for ping times. What is the process to have performance graphs for other services (ie CPU Load).
Re: Logging All States (OK, Critical, Warning)
If you click on the host graph from the Home->All Host Graphs, it will drill down and show you graphs for all services under that host : )
Re: Logging All States (OK, Critical, Warning)
Wow, you would think I would have enough intuition to do that, whoops........ Thanks!