Jan 152008

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!!!

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

  1. RAS

  2. 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 port 80.

  3. I have installed Nagios via yum (RPMFORGE). My server is centOS 5.6. Everything seems ok but when i try to connect http://www.my-server-ip.com/nagios, it asks for user name and password, after that it show an error
    Not Found
    The requested URL /nagios/ was not found on this server.
    What should i do?

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>