Nagios, Part I - Installing Nagios

25 Jul 2010 by Resident Unix Engineer

This is Part I of Nagios series and explains how to install Nagios. Part 2 will contain information on how to configure Nagios.

Nagios was compiled on a separate machine than the one where it is running since running machine is Production server and does not have a compiler. These instructions have been tested on RHEL 5 systems and apply to Nagios version 3.2.1 and Plugins ver 1.4.15.

The following need to be done on machine with gcc installed.

Step 1: Download Nagios

*Step 2*: Create user for Nagios

Step 3: Compile Nagios and Nagios plugins

This is needed for https check

Step 4: Copy compiled binaries to target server

Copy tar file to Production Machine under /tmp *Step 5*: Cleanup

Step 6: Installing Nagios on target server

Following needs to be done on Production machine where nagios will run

Step 7: Starting Nagios on target server

Restart httpd

Next article will cover Nagios configuration.

blog comments powered by Disqus