<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nl">
		<id>https://wiki.rolandow.com/index.php?action=history&amp;feed=atom&amp;title=Linux_Nagios_Different_Port</id>
		<title>Linux Nagios Different Port - Bewerkingsoverzicht</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.rolandow.com/index.php?action=history&amp;feed=atom&amp;title=Linux_Nagios_Different_Port"/>
		<link rel="alternate" type="text/html" href="https://wiki.rolandow.com/index.php?title=Linux_Nagios_Different_Port&amp;action=history"/>
		<updated>2026-04-19T04:23:34Z</updated>
		<subtitle>Bewerkingsoverzicht voor deze pagina op de wiki</subtitle>
		<generator>MediaWiki 1.27.3</generator>

	<entry>
		<id>https://wiki.rolandow.com/index.php?title=Linux_Nagios_Different_Port&amp;diff=101&amp;oldid=prev</id>
		<title>Rolandow: Nieuwe pagina aangemaakt met &#039;= Goal =  The gateway server also runs services that need to be monitored with Nagios. So we use another port to forward this to another server.  = Server side: comman…&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.rolandow.com/index.php?title=Linux_Nagios_Different_Port&amp;diff=101&amp;oldid=prev"/>
				<updated>2012-06-01T12:17:18Z</updated>
		
		<summary type="html">&lt;p&gt;Nieuwe pagina aangemaakt met &amp;#039;= Goal =  The gateway server also runs services that need to be monitored with Nagios. So we use another port to forward this to another server.  = Server side: comman…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nieuwe pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Goal =&lt;br /&gt;
&lt;br /&gt;
The gateway server also runs services that need to be monitored with Nagios. So we use another port to forward this to another server.&lt;br /&gt;
&lt;br /&gt;
= Server side: commands.cgi =&lt;br /&gt;
&lt;br /&gt;
Changed the file /etc/nagios-plugins/config/check_nrpe.cfg. Added a alternative command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# nrpe on alternate port&lt;br /&gt;
define command {&lt;br /&gt;
        command_name    check_nrpe_alt&lt;br /&gt;
        command_line    /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -p 15666 -c $ARG1$ -a $ARG2$&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Client side: nrpe =&lt;br /&gt;
&lt;br /&gt;
Easy, just change the nrpe config at /etc/nagios/nrpe.cfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# PORT NUMBER&lt;br /&gt;
# Port number we should wait for connections on.&lt;br /&gt;
# NOTE: This must be a non-priviledged port (i.e. &amp;gt; 1024).&lt;br /&gt;
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd&lt;br /&gt;
&lt;br /&gt;
server_port=15666&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rolandow</name></author>	</entry>

	</feed>