Ubuntu is easy to install nagios, sudo apt-get install-y nagios3, you can complete the installation
Ubuntu @ ubuntu :~ $ Sudo apt-get install-y nagios3
1. How to set an alert message for nagios, select Internet Site, and send an email using SMTP protocol
2. Enter the Domain Name of the email server. Because you do not need to set up the email server, click OK]
3. Set the nagios web login password
4. log on to nagios, http: // 192.168.197.130/nagios3 account/password: nagiosadmin/111111
5. Install nrpe
Ubuntu @ ubuntu :~ $ Sudo apt-get install nagios-nrpe-server nagios-nrpe-plugin-y
6. nagios configuration file
1./etc/nagios3. This is the nagios installation directory.
2./usr/lib/nagios/plugins. This is the plugin directory of nagios.
3./etc/nagios: the installation directory of nrpe
7. Start nagios and nrpe services
Ubuntu @ ubuntu:/etc/nagios $ sudo/etc/init. d/nagios3 restart
* Restarting nagios3 monitoring daemon nagios3
[OK]
Ubuntu @ ubuntu:/etc/nagios $ sudo/etc/init. d/nagios-nrpe-server restart
* Stopping nagios-nrpe [OK]
* Starting nagios-nrpe [OK]
Nagios details: click here
Nagios: click here
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
Install Nagios Core for Ubuntu 13.10 Server