O'Reilly logo

Icinga Network Monitoring by Viranch Mehta

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

A localhost monitoring setup

Let us take a close look at our current setup, which we created in the first chapter, for monitoring a localhost. Icinga by default comes with object configuration for a localhost. The object configuration files are inside /etc/icinga/objects for default installations.

$ ls /etc/icinga/objects
commands.cfg   notifications.cfg  templates.cfg
contacts.cfg   printer.cfg        timeperiods.cfg
localhost.cfg  switch.cfg         windows.cfg

There are several configuration files with object definitions. Together, these object definitions define the monitoring setup for monitoring some services on a localhost.

Let's first look at localhost.cfg, which has most of the relevant configuration. We have a host definition:

define host{ use linux-server ...

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