Viewing and interpreting trends

In this recipe, we'll learn how to use the Host and Service State Trends reporting tool on a host or service to show a graph of states over some fixed period of time. This can be useful to determine not only overall availability, perhaps to meet the terms of a service-level agreement, but also to ascertain whether there are certain intervals or consistent times that the host enters a non-OK state. It's a good way to look for patterns in the downtime of your hosts.

Getting started

You will need access to the Nagios Core web interface, and permission to run commands from the CGIs. The sample configuration installed by following the Quick Start Guide grants the nagiosadmin user all the necessary privileges when authenticated ...

Get Nagios Core Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.