Install and Configure Nagios 2.x on Debian 4.0 with Apache

January 15, 2008 · Filed Under Nagios 

NagiosĀ® is an Open Source enterprise grade host, service and network monitoring program. Nagios is a host and service monitor designed to alert network problems. Nagios is designed to run under linux but works fine under most *NIX variants as well. The monitoring daemon runs intermittent checks on hosts and services you specify using external “plugins” which return status information to Nagios. When problems are encountered, the daemon can send notifications out to administrative contacts in a variety of different ways (email, instant message, SMS, etc.). Current status information, historical logs, and reports can all be accessed via a web browser.

Installation of Nagios is rather a bit lenghtly but very easy and straight forward. I thought it would be better if we approach the installation one module at a time and hence have divided into 4 different posts as follows:

1. Install and configure the pre-requisites

2. Install Nagios Binaries & CGI

3. Install Nagios Plugins

4. Setup web interface and CGI Authentication

The installation platform for Nagios is as follows:

Operating System: Debian Linux 4.0r2 (minimal install using Business CD version)

Webserver: Apache 2.2.3

PHP: PHP version 5.2.0

Nagios Version: Nagios 2.11

Nagios Plugin version: Nagios Plugin 1.4.11

When you are through with the four steps, you are ready to add your hosts services and start monitoring them.

Happy Open source Nagios Monitoring!!!

Comments

2 Responses to “Install and Configure Nagios 2.x on Debian 4.0 with Apache”

  1. Anne on July 3rd, 2009 6:32 am

    RAS

  2. ruben on September 23rd, 2009 4:06 pm

    I just instlled Nagios in Sun solaris 10. launch the gui open Mozilla enter the url http://motstas334/nagios bang the nagios page is showing, that was a week ago. Now when I enter the url I get this error: the requested URL /nagios was not found on this server. Then below the line it shows an ip address: apache 1.3.41 server at 10.100.14.132 port 80.

Leave a Reply