Open main menu

CDOT Wiki β

Changes

How to Setup and configure Nagios

No change in size, 10:27, 3 December 2010
5.0 Client Installation
<pre>Note: For the next step make sure you are connected to the Internet to download nagios plugins.</pre>
34. Download the source code tarball of the NRPE addon (visit http://www.nagios.org/download/ for links to the latest versions).
<code>wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz</code>
45. Extract the NRPE source code tarball.
<code>tar xzf nrpe-2.8.tar.gz </code>
<code>cd nrpe-2.8</code>
56. Compile the NRPE add-on.
<code>./configure </code>
<code>make all</code>
67. Install the NRPE plug-in.
<code>make install-plugin</code>
23. Instal Plugins:
<code>./configure --with-nagios-user=nagios --with-nagios-group=nagios</code>
<code>make install</code>
34. The permissions on the plugin directory and the plugins will need to be changed to nagios user.
<code>chown nagios.nagios /usr/local/nagios</code>
<code>chown -R nagios.nagios /usr/local/nagios/libexec</code>
45. Package xinted is needed.
<code>yum install xinetd</code>
56. Start xinetd service.
<code>service xinetd start</code>
1
edit