Open main menu

CDOT Wiki β

Changes

How to Setup and configure Nagios

155 bytes added, 21:03, 17 December 2010
no edit summary
</pre>
<code>#Allowed_hosts=127.0.0.1</code> is typically altered on the Remote host ONLY changes in IP address that allows a host to access the nrpe daemon system depends on an entitiesentity/organizations network requirements.
<pre>
<code></Directory></code>
'''4.9 Note: This section highlights a brief snippet of two critical detailed steps REQUIRED for the installation and successful configuration of a Remote host (on an ARM machine) Cdot-gurguru-4-1 (Utilize the installation steps (5.0) that follow this section).'''
<pre>Using the 'yum utility' install the nrpe daemon/ nrpe addon & required plugins</pre>
<code>vi /etc/nagios/nrpe.cfg</code>
Note: Hong Kong has two NICs so the allowed_hosts entry would be entered twice with the two corressponding IPs for both NICs <code>allowed_hosts=<Both the External & Internal IP Address to that of for the monitoring hosts> </code>
comment out the line:
<code>vi /etc/nagios/nrpe.cfg</code>
Add an allowed_hosts IP Address to nrpe.cfg file eg. 142.204.133.123 (chile’s IP Address), but for future configurations HongKongHong Kong's IP Address will be used:
<code> Allowed_hosts=142.204.133.123 </code>
<pre>This section will discuss some additional initiatives that were implemented on the Nagios Remote host. Due to the inability to obtain
a plugin that is capable of monitoring mounted devices (on ARM machines) upon boot. A supplemental perl script was identified and utilizedutilize for this purpose. The check_mounted_disks script was conveniently added to /etc/init.d directory, and a few symlinks (soft links)were linked to a few appropriate runlevels on the ARM system. Once the system is rebooted the aforementioned script will execute automaticallyand perform a verification check of all devices that should be mounted on boot.</pre>
1. Symlinks were created using the command syntax.
1
edit