Skip to content

Category Archives: nagios

nagios sample object config file for monitoring machines.

27-Nov-09

nagios sample object config file for monitoring machines.
First you need to have the
Host definition — > Host group definition [here we add the hosts for this group]–>and then the Service Definition
Example: for Service Definition
# Define a service to check the disk space of the root partition
# on the local machine. Warning [...]

nagios configuraiton files

27-Nov-09

nagios configuration files
root@jyothis:/usr/local/nagios/etc# ls -l
total 68
-rw-rw-r– 1 nagios nagios 10699 Mar 22 2009 cgi.cfg
-rw-r–r– 1 root root 26 Mar 22 2009 htpasswd.users
-rw-rw-r– 1 nagios nagios 42730 Mar 22 2009 nagios.cfg
drwxrwxr-x 2 nagios nagios 4096 Nov 27 13:19 objects
-rw-rw—- 1 nagios nagios 1340 Mar [...]

Verify the sample Nagios configuration files.

27-Nov-09

Verify the sample Nagios configuration files.
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/bin#
./nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data…
Running pre-flight check on configuration data…
Checking services…
Checked 9 services.
Checking hosts…
Checked 2 hosts.
Checking host groups…
Checked 1 host groups.
Checking service groups…
Checked 0 service groups.
Checking contacts…
Checked 1 contacts.
Checking contact groups…
Checked 1 contact groups.
Checking service escalations…
Checked 0 [...]

Quickstart Installation Guides install Nagios from source (code) on Ubuntu

27-Nov-09

Quickstart Installation Guides install Nagios from source (code) on Ubuntu
* Nagios and the plugins will be installed underneath /usr/local/nagios
* Nagios will be configured to monitor a few aspects of your local system (CPU load, disk usage, etc.)
* The Nagios web interface will [...]