Nagios Basic Setup

Basic Setup

On fedora or CentOS just install the RPM for Nagios and the plugins

yum install nagios

Edit the config files in /etc/nagios/objects

Check the config files are valid by typing

nagios -v /etc/nagios/nagios.cfg

Start nagios by typing

/etc/init.d/nagios restart

WebGUI Addons

Lilac is a configuration tool written in PHP to manage Nagios configurations

Lilac Intall Documentation

Auto Discovery

Install Lilac

Add dirctory where downloaded to apache

Run Setup by typeing: http://localhost/lilac/install.php

Note: Fedora 11: php-posix is provided by php-process

Run Lilac at: http://orasos/lilac/index.php

set up sudo for Lilac

Login to Nagios test server

Nagios objects

at: http://orasos/nagios/index.php

User: nagiosadmin

Password: visit

Overview of Nagios Object Definitions