O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.2 Getting Monitoring Started

During the Nagios installation, the command

linux:src/nagios # make install-init
...

saves a startup script in the directory containing the boot-up scripts, usually /etc/init.d.

3.2.1 Manual start

If the configuration test ran without error, Nagios on Debian, Ubuntu, and OpenSuSE is first started manually with this script:

linux:~ # /etc/init.d/nagios start

Fedora provides its own startup mechanism:

linux:~ # service nagios start

If everything runs smoothly here (which can be checked by running the Web interface—see 3.3 Overview of the Web Interface in page 85), you only need to make sure that the script is executed at system start. The required steps, depending on the distribution, are described in 1.3 Starting Nagios Automatically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required