Changes

Jump to: navigation, search

How to Setup and configure Nagios

42 bytes added, 11:13, 16 December 2010
no edit summary
<pre>Note: When you have installed all the required plugins, using the “yum” utility, you will have to exhibit due diligence by
ensuring that the “check_nrpe” plugin and check_nagios plugin is are located in the /usr/lib64/nagios/plugins directory. If the check_nrpe plugin is not present you will have to either copy it from a compatible machine that holds it on already contains the its systemappropriate/required plugin(s), or try uninstalling the previous installation of the nagios plugins and proceed to re-installing the plugins again, using yum install. </pre>
'''4.4 Nagios Configuration File'''
<pre>
Note: Here is view of what your configuration files should look like, in order to have successfully installed and configured version of Nagios. The following lines were either added or modified for the nagios.cfg file on the Nagios monitoring host.
</pre>
<code>command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20</code>
<code>command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/$hda1</code>
<code>command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s$Z</code>
<code>command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 700 -c 900</code>
1
edit

Navigation menu