Nagios open source system monitor software

Tuning Nagios

In order to allow the Nagios system to run thousands of alert checks per minute, we needed to tune a few things in Nagios.

First we moved the database and program directories /var/lib and /usr/local over to a high speed EMC disk Array.

Subject

Setting up NRPE on Linux

NOTE: These instructions apply to a system that has not previously had NRPE installed on it.  If NRPE has been previously installed, you will need to backup the nrpe.cfg file to ensure it is not lost.

NOTE2: The system you are installing this on MUST have access to your nagios server on port 80.  You can verify this by typing "telnet nagiosserver.mycompany.com 80".

1. Install rpmforge on the linux system

Subject

Alert Types to setup in Nagios

a.  Regular Expression HTTP monitor

We need the ability to monitor a part of a page.   The content needs to be able to match content on a page using regular expressions.  Also needed is the ability to log into the page.  Example of expression: /Temp_P18.*\n.*\n.*;(.*) Deg. C.*\n.*\n.*\n.*;(.*) %/

We need to be able to catch the values in the "()" areas listed above and check against those values.

Subject