Nagios®Core™It is an open-source system and network monitoring application that can monitor your specified host and service. When a problem occurs, you are reminded to help you improve the system. Nagios Core initially runs in Linux, but it runs in most other Unix.
Nagios Core features include:
Monitoring Network Services (SMTP, POP3, HTTP, NNTP, PING, etc)
Monitor host resources (processor load, disk usage, etc)
Simple plug-in design allows you to easily develop your own service inspection
Parallel service check
Define the network host hierarchy using the "parent" host to detect and differentiate hosts
When a service or host problem occurs, it notifies you (via email, pager or user-defined method)
Define the event handler capability to proactively solve problems during service or host running
Log Files
Support for redundant host monitoring
Optional Web interface to view the current network status, notification and problem history, log files, and so on.
Before installation, you 'd better have installed the lamp server software. In addition, you need to install some dependency packages and use the following command:
Sudo apt-get install wget build-essential php5-gd wget libgd2-xpm libgd2-xpm-dev libapache2-mod-php5 apache2-utils daemon
Download Nagios and plug-ins:
Nagios details: click here
Nagios: click here
Add Nagios users and groups
Sudo useradd nagios
Sudo groupadd nagcmd
Sudo usermod-a-G nagcmd nagios
Now install nagios core
Try to log on as root and run the following command
Decompress the downloaded file (Nagios kernel and plug-in)
Tar zxvf nagios-4.0.1.tar.gz
Tar zxvf nagios-plugins-1.5.tar.gz
Change to the new Nagios directory and install the software package:
Cd nagios-4.0.1/
./Configure -- with-nagios-group = nagios -- with-command-group = nagcmd -- with-mail =/usr/bin/sendmail
Make all
Make install
Make install-init
Make install-config
Make install-commandmode
For more details, please continue to read the highlights on the next page:
Related reading:
Network Monitor Nagios Overview
Nagios construction and Configuration
Build a Nagios monitoring platform in the Nginx Environment
Configure the basic Nagios System on RHEL5.3 (using Nagios-3.1.2)
CentOS 5.5 + Nginx + Nagios monitoring and control terminal installation and Configuration Guide