<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://cocnm.computerisms.ca/index.php?action=history&amp;feed=atom&amp;title=Install_Nagios</id>
	<title>Install Nagios - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://cocnm.computerisms.ca/index.php?action=history&amp;feed=atom&amp;title=Install_Nagios"/>
	<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=Install_Nagios&amp;action=history"/>
	<updated>2026-11-14T11:44:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://cocnm.computerisms.ca/index.php?title=Install_Nagios&amp;diff=408&amp;oldid=prev</id>
		<title>Bob: /* Install NRPE */</title>
		<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=Install_Nagios&amp;diff=408&amp;oldid=prev"/>
		<updated>2014-06-15T22:24:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Install NRPE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:24, 15 June 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;lt;b&amp;gt;Find latest downloads here: &amp;lt;/b&amp;gt;http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE--2D-Nagios-Remote-Plugin-Executor/details&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;lt;b&amp;gt;Find latest downloads here: &amp;lt;/b&amp;gt;http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE--2D-Nagios-Remote-Plugin-Executor/details&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; use --with-ssl-lib=/usr/lib/x86_64-linux-gnu/ to configure on 64-bit machines&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; use --with-ssl-lib=/usr/lib/x86_64-linux-gnu/ to configure on 64-bit machines&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; Nagios plugins are now hosted here:http://nagios-plugins.org/download/nagios-plugins-2.0.2.tar.gz&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h4&amp;gt;On Houselian&amp;lt;/h4&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h4&amp;gt;On Houselian&amp;lt;/h4&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bob</name></author>
	</entry>
	<entry>
		<id>http://cocnm.computerisms.ca/index.php?title=Install_Nagios&amp;diff=269&amp;oldid=prev</id>
		<title>Bob: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://cocnm.computerisms.ca/index.php?title=Install_Nagios&amp;diff=269&amp;oldid=prev"/>
		<updated>2013-09-19T06:20:01Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Obtain and Install Nagios==&lt;br /&gt;
*&amp;lt;b&amp;gt;Find latest downloads here: &amp;lt;/b&amp;gt;http://www.nagios.org/download&lt;br /&gt;
*cd /usr/src/&lt;br /&gt;
*tar zxf nagios-3.5.0.tar.gz&lt;br /&gt;
*cd nagios/&lt;br /&gt;
*./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nagios --with-command-group=nagios --with-init-dir=&amp;quot;&amp;quot; --with-httpd-conf=&amp;quot;&amp;quot;&lt;br /&gt;
*make all&lt;br /&gt;
*make install &lt;br /&gt;
*cd ..&lt;br /&gt;
*tar zxf nagios-plugins-1.4.16.tar.gz&lt;br /&gt;
*cd nagios-plugins-1.4.16/&lt;br /&gt;
*./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-trusted-path=$PATH &lt;br /&gt;
*vi [[/usr/src/nagios-plugins-1.4.16/stdio.in.h.patch]]&lt;br /&gt;
*patch gl/stdio.in.h &amp;lt; stdio.in.h.patch&lt;br /&gt;
* make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
==Configure Nagios==&lt;br /&gt;
*mkdir -p /usr/local/nagios/etc/objects&lt;br /&gt;
*vi [[/usr/local/nagios/etc/cgi.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/nagios.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/commands.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/contacts.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/timeperiods.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/templates.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/resource.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/etc/objects/computerisms.lan.cfg]]&lt;br /&gt;
*vi [[/usr/local/nagios/libexec/check_mem_usage]]&lt;br /&gt;
*chmod 755 /usr/local/nagios/libexec/check_mem_usage&lt;br /&gt;
*chown -R nagios:nagios /usr/local/nagios/&lt;br /&gt;
&lt;br /&gt;
==Configure Apache==&lt;br /&gt;
*vi [[/etc/apache2/sites-available/nagios.computerisms.com.conf]]&lt;br /&gt;
*mkdir /var/log/apache2/nagios.computerisms.com&lt;br /&gt;
*chown root:adm /var/log/apache2/nagios.computerisms.com/&lt;br /&gt;
*a2ensite nagios.computerisms.com.conf&lt;br /&gt;
*/etc/init.d/apache2 restart&lt;br /&gt;
*samba-tool dns add houselian computerisms.com nagios A 192.168.26.10&lt;br /&gt;
&lt;br /&gt;
==Start Nagios==&lt;br /&gt;
*mkdir -p -m 1755 /var/service/nagios&lt;br /&gt;
*mkdir -p -m 0755 /var/service/nagios/log&lt;br /&gt;
*vi [[/var/service/nagios/run]]&lt;br /&gt;
*ln -s /var/service/multilog.run /var/service/nagios/log/run&lt;br /&gt;
*chmod 0755 /var/service/nagios/run /var/service/nagios/log/run &lt;br /&gt;
*ln -s /var/service/nagios/ /service/nagios&lt;br /&gt;
*sv &amp;lt;b&amp;gt;&amp;lt;= Make sure Nagios is running&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Install NRPE==&lt;br /&gt;
*&amp;lt;b&amp;gt;Find latest downloads here: &amp;lt;/b&amp;gt;http://exchange.nagios.org/directory/Addons/Monitoring-Agents/NRPE--2D-Nagios-Remote-Plugin-Executor/details&lt;br /&gt;
*&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; use --with-ssl-lib=/usr/lib/x86_64-linux-gnu/ to configure on 64-bit machines&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;On Houselian&amp;lt;/h4&amp;gt;&lt;br /&gt;
*cd /usr/src&lt;br /&gt;
*wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz&lt;br /&gt;
*tar zxf nrpe-2.14.tar.gz&lt;br /&gt;
*cd nrpe-2.14/&lt;br /&gt;
*./configure --with-nrpe-user=nagios --with-nrpe-group=nagios --with-nagios-user=nagios --with-nagios-group=nagios  --with-ssl-lib=/usr/lib/i386-linux-gnu/&lt;br /&gt;
*make all&lt;br /&gt;
*cp src/check_nrpe /usr/local/nagios/libexec/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;On Porchlian&amp;lt;/h4&amp;gt;&lt;br /&gt;
*ssh root@192.168.26.1&lt;br /&gt;
*apt-get install build-essential gcc openssl libssl-dev make&lt;br /&gt;
*groupadd -g 538 nagios&lt;br /&gt;
*useradd -u 538 -g nagios -r nagios -d /usr/local/nagios &lt;br /&gt;
*cd /usr/src&lt;br /&gt;
*wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz&lt;br /&gt;
*wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz &lt;br /&gt;
*tar zxf nrpe-2.14.tar.gz&lt;br /&gt;
*cd nrpe-2.14/&lt;br /&gt;
*./configure --with-nrpe-user=nagios --with-nrpe-group=nagios --with-nagios-user=nagios --with-nagios-group=nagios  --with-ssl-lib=/usr/lib/i386-linux-gnu/&lt;br /&gt;
*make all&lt;br /&gt;
*cp src/nrpe /bin/&lt;br /&gt;
*vi [[/etc/nrpe.cfg]]&lt;br /&gt;
*cd ..&lt;br /&gt;
*tar zxf nagios-plugins-1.4.16.tar.gz&lt;br /&gt;
*cd nagios-plugins-1.4.16&lt;br /&gt;
*./configure --with-nagios-user=nagios --with-nagios-group=nagios&lt;br /&gt;
*vi [[/usr/src/nagios-plugins-1.4.16/stdio.in.h.patch]]&lt;br /&gt;
*patch gl/stdio.in.h &amp;lt; stdio.in.h.patch &lt;br /&gt;
*make &amp;amp;&amp;amp; make install&lt;br /&gt;
*vi [[/usr/local/nagios/libexec/check_mem_usage]]&lt;br /&gt;
*chown nagios:nagios /usr/local/nagios/libexec/check_mem_usage&lt;br /&gt;
*chmod 755 /usr/local/nagios/libexec/check_mem_usage&lt;br /&gt;
*vi [[/etc/init.d/nrpe]]&lt;br /&gt;
*chmod 755 /etc/init.d/nrpe&lt;br /&gt;
*insserv -d nrpe&lt;br /&gt;
*/etc/init.d/nrpe start&lt;br /&gt;
*exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;On Shedlian&amp;lt;/h4&amp;gt;&lt;br /&gt;
*ssh root@192.168.26.11&lt;br /&gt;
*apt-get install build-essential gcc openssl libssl-dev make&lt;br /&gt;
*groupadd -g 538 nagios&lt;br /&gt;
*useradd -u 538 -g nagios -r nagios -d /usr/local/nagios &lt;br /&gt;
*cd /usr/src&lt;br /&gt;
*wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz&lt;br /&gt;
*wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.16.tar.gz &lt;br /&gt;
*tar zxf nrpe-2.14.tar.gz&lt;br /&gt;
*cd nrpe-2.14/&lt;br /&gt;
*./configure --with-nrpe-user=nagios --with-nrpe-group=nagios --with-nagios-user=nagios --with-nagios-group=nagios  --with-ssl-lib=/usr/lib/i386-linux-gnu/&lt;br /&gt;
*make all&lt;br /&gt;
*cp src/nrpe /bin/&lt;br /&gt;
*vi [[/etc/nrpe.cfg]]&lt;br /&gt;
*cd ..&lt;br /&gt;
*tar zxf nagios-plugins-1.4.16.tar.gz&lt;br /&gt;
*cd nagios-plugins-1.4.16&lt;br /&gt;
*./configure --with-nagios-user=nagios --with-nagios-group=nagios&lt;br /&gt;
*vi [[/usr/src/nagios-plugins-1.4.16/stdio.in.h.patch]]&lt;br /&gt;
*patch gl/stdio.in.h &amp;lt; stdio.in.h.patch &lt;br /&gt;
*make &amp;amp;&amp;amp; make install&lt;br /&gt;
*vi [[/usr/local/nagios/libexec/check_mem_usage]]&lt;br /&gt;
*chown nagios:nagios /usr/local/nagios/libexec/check_mem_usage&lt;br /&gt;
*chmod 755 /usr/local/nagios/libexec/check_mem_usage&lt;br /&gt;
*vi [[/etc/init.d/nrpe]]&lt;br /&gt;
*chmod 755 /etc/init.d/nrpe&lt;br /&gt;
*insserv -d nrpe&lt;br /&gt;
*/etc/init.d/nrpe start&lt;br /&gt;
*exit&lt;/div&gt;</summary>
		<author><name>Bob</name></author>
	</entry>
</feed>