<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Starting NRPE via launchd</title>
	<atom:link href="http://arfore.com/2008/10/12/starting-nrpe-via-launchd/feed/" rel="self" type="application/rss+xml" />
	<link>http://arfore.com/2008/10/12/starting-nrpe-via-launchd/</link>
	<description>welcome to the foremind</description>
	<lastBuildDate>Tue, 09 Mar 2010 18:49:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rob McLean</title>
		<link>http://arfore.com/2008/10/12/starting-nrpe-via-launchd/comment-page-1/#comment-1003</link>
		<dc:creator>Rob McLean</dc:creator>
		<pubDate>Thu, 19 Nov 2009 14:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://arfore.com/?p=138#comment-1003</guid>
		<description>Hi Andy:  I know your plist was right according to the documentation, but it took many hours of experimentation to discover that the only way I could get it to work was to use the ProgramArguments only.  Who knows why.

Thanks very much for your tutorials ... very helpful.</description>
		<content:encoded><![CDATA[<p>Hi Andy:  I know your plist was right according to the documentation, but it took many hours of experimentation to discover that the only way I could get it to work was to use the ProgramArguments only.  Who knows why.</p>
<p>Thanks very much for your tutorials &#8230; very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arfore</title>
		<link>http://arfore.com/2008/10/12/starting-nrpe-via-launchd/comment-page-1/#comment-1001</link>
		<dc:creator>arfore</dc:creator>
		<pubDate>Mon, 16 Nov 2009 04:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://arfore.com/?p=138#comment-1001</guid>
		<description>Rob,

This may be a working fix, however according to the documentation provided by Apple, this should not be necessary.

Providing the name of the daemon as the first item in the ProgramArguments array is a fallback for not listing the daemon as the string in the Program key.

Andy</description>
		<content:encoded><![CDATA[<p>Rob,</p>
<p>This may be a working fix, however according to the documentation provided by Apple, this should not be necessary.</p>
<p>Providing the name of the daemon as the first item in the ProgramArguments array is a fallback for not listing the daemon as the string in the Program key.</p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob McLean</title>
		<link>http://arfore.com/2008/10/12/starting-nrpe-via-launchd/comment-page-1/#comment-999</link>
		<dc:creator>Rob McLean</dc:creator>
		<pubDate>Fri, 13 Nov 2009 22:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://arfore.com/?p=138#comment-999</guid>
		<description>I had all of the same problems with Config file ‘//nrpe.cfg’ contained errors, aborting… 

This was in OSXServer 10.5.8 ...

... was able to get it to work by symlinking nrpe.cfg to the root directory ...

... but a better fix was to change the launchd plist file from:

Program
/usr/local/nagios/bin/nrpe
ProgramArguments

-c
/usr/local/nagios/etc/nrpe.cfg
-i


to:

  ProgramArguments
        
                /usr/local/nagios/bin/nrpe
                -c
                /usr/local/nagios/etc/nrpe.cfg
                -i
        

For some reason, the Program argument in the original .plist was preventing the ProgramArguments from being sent ... so the cause of the&quot; ‘//nrpe.cfg’ contained errors, aborting…&quot; message was that the config file location was not being sent to the daemon, and nrpe had no path to find the config file at other than &quot;/&quot;

Hope that helps.  This may be specific to higher versions of 10.5 server ...</description>
		<content:encoded><![CDATA[<p>I had all of the same problems with Config file ‘//nrpe.cfg’ contained errors, aborting… </p>
<p>This was in OSXServer 10.5.8 &#8230;</p>
<p>&#8230; was able to get it to work by symlinking nrpe.cfg to the root directory &#8230;</p>
<p>&#8230; but a better fix was to change the launchd plist file from:</p>
<p>Program<br />
/usr/local/nagios/bin/nrpe<br />
ProgramArguments</p>
<p>-c<br />
/usr/local/nagios/etc/nrpe.cfg<br />
-i</p>
<p>to:</p>
<p>  ProgramArguments</p>
<p>                /usr/local/nagios/bin/nrpe<br />
                -c<br />
                /usr/local/nagios/etc/nrpe.cfg<br />
                -i</p>
<p>For some reason, the Program argument in the original .plist was preventing the ProgramArguments from being sent &#8230; so the cause of the&#8221; ‘//nrpe.cfg’ contained errors, aborting…&#8221; message was that the config file location was not being sent to the daemon, and nrpe had no path to find the config file at other than &#8220;/&#8221;</p>
<p>Hope that helps.  This may be specific to higher versions of 10.5 server &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William Ottley</title>
		<link>http://arfore.com/2008/10/12/starting-nrpe-via-launchd/comment-page-1/#comment-987</link>
		<dc:creator>William Ottley</dc:creator>
		<pubDate>Fri, 23 Oct 2009 19:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://arfore.com/?p=138#comment-987</guid>
		<description>I keep getting the error:

Config file ‘//nrpe.cfg’ contained errors, aborting…

I&#039;ve tried all the suggestions by putting ln -s for:

/etc/nrpe.cfg
/users/nagios/nrpe.cfg

nothing seems to help.

yet it works fine in standalone....</description>
		<content:encoded><![CDATA[<p>I keep getting the error:</p>
<p>Config file ‘//nrpe.cfg’ contained errors, aborting…</p>
<p>I&#8217;ve tried all the suggestions by putting ln -s for:</p>
<p>/etc/nrpe.cfg<br />
/users/nagios/nrpe.cfg</p>
<p>nothing seems to help.</p>
<p>yet it works fine in standalone&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://arfore.com/2008/10/12/starting-nrpe-via-launchd/comment-page-1/#comment-922</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 23 Jul 2009 22:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://arfore.com/?p=138#comment-922</guid>
		<description>This worked for me:

cd /etc
ln -s /usr/local/nagios/etc/nrpe.cfg .</description>
		<content:encoded><![CDATA[<p>This worked for me:</p>
<p>cd /etc<br />
ln -s /usr/local/nagios/etc/nrpe.cfg .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
