<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vipin</id>
	<title>TetraWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vipin"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Special:Contributions/Vipin"/>
	<updated>2026-07-25T08:08:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Main_Page/Nagios_Server_Tetra&amp;diff=812</id>
		<title>Main Page/Nagios Server Tetra</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Main_Page/Nagios_Server_Tetra&amp;diff=812"/>
		<updated>2013-01-04T13:09:03Z</updated>

		<summary type="html">&lt;p&gt;Vipin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Tetra Local]]&lt;br /&gt;
&#039;&#039;&#039;Downloading The Latest Version :-&#039;&#039;&#039;&lt;br /&gt;
You can check for new versions of Nagios 3.x.x at http://www.nagios.org/download/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pre-list activity in terms of  packages for Nagios&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # yum install httpd php &lt;br /&gt;
 # yum install gcc glibc glibc-common &lt;br /&gt;
 # yum install gd gd-devel 	&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pre-list activity in terms of  compiling Nagios:-&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # useradd -m nagios&lt;br /&gt;
 #&lt;br /&gt;
 # passwd nagios ( we have give a password nagios)&lt;br /&gt;
 # groupadd nagcmd &lt;br /&gt;
 # usermod -a -G nagcmd nagios &lt;br /&gt;
 # usermod -a -G nagcmd apache &lt;br /&gt;
&lt;br /&gt;
 # mkdir /downloads&lt;br /&gt;
 # cd /downlaods&lt;br /&gt;
 # wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.x.tar.gz&lt;br /&gt;
 # wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;Run the Nagios configure script, passing the name of the group you created earlier like so:&#039;&#039;&#039;&lt;br /&gt;
		&lt;br /&gt;
 #	 tar xzf nagios-3.x.tar.gz&lt;br /&gt;
 # cd nagios-3.x&lt;br /&gt;
 # ./configure --with-command-group=nagcmd&lt;br /&gt;
 # make all&lt;br /&gt;
 # make install&lt;br /&gt;
 # make install-init&lt;br /&gt;
 # make install-config&lt;br /&gt;
 # make install-commandmode&lt;br /&gt;
 # make install-webconf&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Don’t start Nagios yet - there’s still more that needs to be done...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you’ll need it later. &lt;br /&gt;
&lt;br /&gt;
 # htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin  (Note:- admin is the password we are using)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart Apache to make the new settings take effect.&#039;&#039;&#039; &lt;br /&gt;
  # service httpd restart &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart Nagios. Linux users should use&#039;&#039;&#039;&lt;br /&gt;
 # /etc/init.d/nagios restart.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Compile and Configure Nagios Plugins&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # yum install openssl-devel&lt;br /&gt;
&lt;br /&gt;
 Extract the Nagios plugins source code tarball. &lt;br /&gt;
 # cd /downloads &lt;br /&gt;
 # tar xzf nagios-plugins-1.4.11.tar.gz &lt;br /&gt;
 # cd nagios-plugins-1.4.11 &lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;Install the plugins.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
 # ./configure --with-nagios-user=nagios –with-nagios-group=nagios &lt;br /&gt;
&lt;br /&gt;
	OR if you get some error in the above command go with this command&lt;br /&gt;
&lt;br /&gt;
 # ./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-redhat-pthread-workaround&lt;br /&gt;
 # make &lt;br /&gt;
 # make install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add Nagios to the list of system services and have it automatically start when the system boots.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
 # chkconfig --add nagios &lt;br /&gt;
 # chkconfig nagios on &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Verify the sample Nagios configuration files.&#039;&#039;&#039; &lt;br /&gt;
                                              &lt;br /&gt;
 # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;
 ( This is a test command to Verify your configuration files. Correct any errors shown here before proceeding with  the next step.)&lt;br /&gt;
&lt;br /&gt;
 If there are no errors, start Nagios. &lt;br /&gt;
 # service nagios start &lt;br /&gt;
&lt;br /&gt;
 Login to the Web Interface &lt;br /&gt;
 (You should now be able to access the Nagios web interface at the URL below. You’ll be prompted for the username  (nagiosadmin) and password you specified earlier. )&lt;br /&gt;
&lt;br /&gt;
 http://192.168.1.14&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To Install check_nrpe service on the nagios server&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
 Install xinetd &lt;br /&gt;
 # yum install xinetd &lt;br /&gt;
 If Alredy install not need to follow following process.&lt;br /&gt;
&lt;br /&gt;
 Install the NRPE daemon &lt;br /&gt;
&lt;br /&gt;
 # cd /downloads &lt;br /&gt;
 # wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz &lt;br /&gt;
 Extract the NRPE source code tarball. &lt;br /&gt;
 # tar xzf nrpe-2.14.tar.gz &lt;br /&gt;
 # cd nrpe-2.14 &lt;br /&gt;
 # Compile the NRPE addon. &lt;br /&gt;
 #./configure &lt;br /&gt;
 # make all &lt;br /&gt;
 Install the NRPE plugin (for testing), daemon, and sample daemon config file. &lt;br /&gt;
 # make install-plugin &lt;br /&gt;
 # make install-daemon &lt;br /&gt;
 # make install-daemon-config &lt;br /&gt;
 Install the NRPE daemon as a service under xinetd. &lt;br /&gt;
 # make install-xinetd &lt;br /&gt;
 Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring server to the only_from directive. &lt;br /&gt;
 only_from = 127.0.0.1 &amp;lt;nagios_server_ip_address&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 Add the following entry for the NRPE daemon to the /etc/services file. &lt;br /&gt;
 # vim /etc/services &lt;br /&gt;
 nrpe 5666/tcp &lt;br /&gt;
 Restart the xinetd service. &lt;br /&gt;
 &lt;br /&gt;
 # service xinetd restart &lt;br /&gt;
 &lt;br /&gt;
 Go to location &lt;br /&gt;
 # cd /usr/local/nagios/libexec/&lt;br /&gt;
 run the command &lt;br /&gt;
 # ./check_nrpe -H localhost &lt;br /&gt;
 it will show the version of the nrpe &lt;br /&gt;
 &lt;br /&gt;
 NRPE v2.14&lt;/div&gt;</summary>
		<author><name>Vipin</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Main_Page/Nagios_Server_Tetra&amp;diff=811</id>
		<title>Main Page/Nagios Server Tetra</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Main_Page/Nagios_Server_Tetra&amp;diff=811"/>
		<updated>2013-01-04T13:06:59Z</updated>

		<summary type="html">&lt;p&gt;Vipin: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Downloading The Latest Version :-&amp;#039;&amp;#039;&amp;#039; You can check for new versions of Nagios 3.x.x at http://www.nagios.org/download/  &amp;#039;&amp;#039;&amp;#039;Pre-list activity in terms of  packages for Nagio...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Downloading The Latest Version :-&#039;&#039;&#039;&lt;br /&gt;
You can check for new versions of Nagios 3.x.x at http://www.nagios.org/download/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pre-list activity in terms of  packages for Nagios&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # yum install httpd php &lt;br /&gt;
 # yum install gcc glibc glibc-common &lt;br /&gt;
 # yum install gd gd-devel 	&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pre-list activity in terms of  compiling Nagios:-&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # useradd -m nagios&lt;br /&gt;
 #&lt;br /&gt;
 # passwd nagios ( we have give a password nagios)&lt;br /&gt;
 # groupadd nagcmd &lt;br /&gt;
 # usermod -a -G nagcmd nagios &lt;br /&gt;
 # usermod -a -G nagcmd apache &lt;br /&gt;
&lt;br /&gt;
 # mkdir /downloads&lt;br /&gt;
 # cd /downlaods&lt;br /&gt;
 # wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.x.tar.gz&lt;br /&gt;
 # wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;Run the Nagios configure script, passing the name of the group you created earlier like so:&#039;&#039;&#039;&lt;br /&gt;
		&lt;br /&gt;
 #	 tar xzf nagios-3.x.tar.gz&lt;br /&gt;
 # cd nagios-3.x&lt;br /&gt;
 # ./configure --with-command-group=nagcmd&lt;br /&gt;
 # make all&lt;br /&gt;
 # make install&lt;br /&gt;
 # make install-init&lt;br /&gt;
 # make install-config&lt;br /&gt;
 # make install-commandmode&lt;br /&gt;
 # make install-webconf&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Don’t start Nagios yet - there’s still more that needs to be done...&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Create a nagiosadmin account for logging into the Nagios web interface. Remember the password you assign to this account - you’ll need it later. &lt;br /&gt;
&lt;br /&gt;
 # htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin  (Note:- admin is the password we are using)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart Apache to make the new settings take effect.&#039;&#039;&#039; &lt;br /&gt;
  # service httpd restart &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restart Nagios. Linux users should use&#039;&#039;&#039;&lt;br /&gt;
 # /etc/init.d/nagios restart.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Compile and Configure Nagios Plugins&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 # yum install openssl-devel&lt;br /&gt;
&lt;br /&gt;
 Extract the Nagios plugins source code tarball. &lt;br /&gt;
 # cd /downloads &lt;br /&gt;
 # tar xzf nagios-plugins-1.4.11.tar.gz &lt;br /&gt;
 # cd nagios-plugins-1.4.11 &lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;Install the plugins.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
 # ./configure --with-nagios-user=nagios –with-nagios-group=nagios &lt;br /&gt;
&lt;br /&gt;
	OR if you get some error in the above command go with this command&lt;br /&gt;
&lt;br /&gt;
 # ./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-redhat-pthread-workaround&lt;br /&gt;
 # make &lt;br /&gt;
 # make install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add Nagios to the list of system services and have it automatically start when the system boots.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
 # chkconfig --add nagios &lt;br /&gt;
 # chkconfig nagios on &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Verify the sample Nagios configuration files.&#039;&#039;&#039; &lt;br /&gt;
                                              &lt;br /&gt;
 # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;
 ( This is a test command to Verify your configuration files. Correct any errors shown here before proceeding with  the next step.)&lt;br /&gt;
&lt;br /&gt;
 If there are no errors, start Nagios. &lt;br /&gt;
 # service nagios start &lt;br /&gt;
&lt;br /&gt;
 Login to the Web Interface &lt;br /&gt;
 (You should now be able to access the Nagios web interface at the URL below. You’ll be prompted for the username  (nagiosadmin) and password you specified earlier. )&lt;br /&gt;
&lt;br /&gt;
 http://192.168.1.14&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To Install check_nrpe service on the nagios server&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
 Install xinetd &lt;br /&gt;
 # yum install xinetd &lt;br /&gt;
 If Alredy install not need to follow following process.&lt;br /&gt;
&lt;br /&gt;
 Install the NRPE daemon &lt;br /&gt;
&lt;br /&gt;
 # cd /downloads &lt;br /&gt;
 # wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nrpe-2.8.tar.gz &lt;br /&gt;
 Extract the NRPE source code tarball. &lt;br /&gt;
 # tar xzf nrpe-2.14.tar.gz &lt;br /&gt;
 # cd nrpe-2.14 &lt;br /&gt;
 # Compile the NRPE addon. &lt;br /&gt;
 #./configure &lt;br /&gt;
 # make all &lt;br /&gt;
 Install the NRPE plugin (for testing), daemon, and sample daemon config file. &lt;br /&gt;
 # make install-plugin &lt;br /&gt;
 # make install-daemon &lt;br /&gt;
 # make install-daemon-config &lt;br /&gt;
 Install the NRPE daemon as a service under xinetd. &lt;br /&gt;
 # make install-xinetd &lt;br /&gt;
 Edit the /etc/xinetd.d/nrpe file and add the IP address of the monitoring server to the only_from directive. &lt;br /&gt;
 only_from = 127.0.0.1 &amp;lt;nagios_server_ip_address&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 Add the following entry for the NRPE daemon to the /etc/services file. &lt;br /&gt;
 # vim /etc/services &lt;br /&gt;
 nrpe 5666/tcp &lt;br /&gt;
 Restart the xinetd service. &lt;br /&gt;
 &lt;br /&gt;
 # service xinetd restart &lt;br /&gt;
 &lt;br /&gt;
 Go to location &lt;br /&gt;
 # cd /usr/local/nagios/libexec/&lt;br /&gt;
 run the command &lt;br /&gt;
 # ./check_nrpe -H localhost &lt;br /&gt;
 it will show the version of the nrpe &lt;br /&gt;
 &lt;br /&gt;
 NRPE v2.14&lt;/div&gt;</summary>
		<author><name>Vipin</name></author>
	</entry>
</feed>