<div class="gmail_quote">On Wed, Mar 24, 2010 at 6:01 PM, Raymond Setchfield <span dir="ltr"><<a href="mailto:raymond.setchfield@seewhy.com">raymond.setchfield@seewhy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi Folks</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am trying to follow the documentation on the Nagios
Application Monitoring and I am having a few issues which if someone could help
me resolve. I have copied the files VirtualHost.cfg and HelloWorld.cfg into my
objects folder and pointed nagios.cfg to look at them. I have altered the files
to suit my requirements etc. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Whilst doing the pre-flight checks it is flagging up an
error; </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Error: Service description, host name, or check command is
NULL</p>
<p class="MsoNormal">Error: Could not register service (config file
'/usr/local/nagios/etc/objects/HelloWorld.cfg', starting on line 16)</p>
<p class="MsoNormal"> Error processing object config files!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When checking line 16 of the HelloWorld it is this;</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">define service{</p></div></div></blockquote><div><br>What the error message means is that it has a problem with the definition that starts on line 16, not necessarily what's on line 16 - confusing, I know :-)<br>
<br>Show us the full define service {} block and we can probably tell you what's wrong.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB"><div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">This appears to me that there is nothing wrong with it at
all, but for some reason Nagios doesn’t like it. Can someone please help
me on why this isn’t working? Or possibly point me in the direction of
some documentation on how to install this Appender properly? </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Many Thanks</p>
<p class="MsoNormal"> </p><font color="#888888">
<p class="MsoNormal">Raymond </p>
</font></div>
</div>
<br></blockquote></div><br><br>-- <br>Martin Melin<br><br>May your delusions be benign and your compulsions have utility<br>____________________________<br>op5 AB<br><a href="http://www.op5.com">http://www.op5.com</a><br>
<br><a href="http://www.op5.org/">http://www.op5.org/</a><br><a href="http://www.op5.com/op5/products/network-monitor/nagios/">http://www.op5.com/op5/products/network-monitor/nagios/</a> <br>