Nagios

Installation on Fedora

Installed nagios and nagios-plugins-all rpms from yum.


Configuration

it starts working.


ePN

Nagios for Fedora comes default with ePN or Embedded Perl Nagios. That means any plugins written in perl will be interpreted not by perl, but by nagios. There are a lot of wierd caviats that this creates including:


Quieting Down Nagios During Host Service

OK, so you're supposed to use nagios's fancy 'planned downtime' stuff, but that includes letting the CGIs have write access, which I don't like. If you're like me, and you don't want pages when you take a system offline, set up a check host command that always says the host is down, and says the host is being maintained.

This way, you'll get one page when nagios realises the system is offline. You won't get repeated onnline/offline pages from rebooting, and even better, you won't get the 8 pages you get when the system is pingable, but not offering any other services.

Here's a command (in checkcommands.cfg in my setup) that will do just that.

define command{
    command_name check-host-planned
    command_line    $USER1$/check_dummy 2 "Down For Service"
}


CategoryNotes

Nagios (last edited 2008-02-27 01:17:57 by localhost)