Chapter 3. Startup

Once Nagios and the plugins are installed, Apache is set up for the Web interface, and a minimal configuration is created as previously described, operation of the system can get under way. If you have not already done so, it is recommended that you first spend a bit of time on the test for the check_icmp plugin, described in 1.4 Installing and Testing Plugins (page 43), to check the initial configuration.

3.1 Checking the Configuration

The nagios program, which normally runs as a daemon and continually collects data, can also be used to test the configuration:

nagios@linux:~$ /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 12-17-2007 ...

Get Nagios, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.