<div>Thanks for all the mails.</div>
<div> </div>
<div>The command below could not catch this one. You can test it yourself by inserting a wrong name in members, and see if the command pics it up. It does not.</div>
<div> </div>
<div>The problem was that the names specified in the individual server cfg files (first line, after define host,host_name) the host_name was <a href="http://serverone.vodacom.com">serverone.vodacom.com</a> with an alias of serverone, and in the host_group it was only serverone without the domain name. This mismatch caused the problem... tricky to spot if it is the first time...</div>
<div> </div>
<div>Thank you all for your help. Hope that the questions and subsequent answers I generated will make it easier on those to try it in the future.</div>
<div> </div>
<div>Regards</div>
<div> </div>
<div>Gezina<br><br></div>
<div class="gmail_quote">2010/3/11 Charles Breite <span dir="ltr"><<a href="mailto:Charles.Breite@altertrading.com">Charles.Breite@altertrading.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Check your config.</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> Gezina Dekker [mailto:<a href="mailto:gezinker@gmail.com" target="_blank">gezinker@gmail.com</a>] <br><b>Sent:</b> Thursday, March 11, 2010 8:41 AM<br>
<b>To:</b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br><b>Subject:</b> [Nagios-users] problem creatin hostgroup</span></p></div>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi all,</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">When I restart after adding this host-group using split.cfg I get the following.</p></div>
<p class="MsoNormal">Running configuration check. CONFIG ERROR! Restart aborted. Check your Nagios configuration</p>
<div>
<p class="MsoNormal">I have server a definition for it. if I comment the lines out, the resatrt is successful.</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">I am just missing something???</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<div>
<p class="MsoNormal">This is what my hostgroup definition looks like</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">define hostgroup{<br> hostgroup_name Linux_group<br> alias No_Call-Out<br> members svrlinux01<br> }</p></div></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">Any ideas that can help me out ?</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">Regards and thanks for all the help so far, learned a lot,</p></div>
<div>
<p class="MsoNormal"> </p></div>
<div>
<p class="MsoNormal">Gezina</p></div></div></div></div></div><br>------------------------------------------------------------------------------<br>Download Intel® Parallel Studio Eval<br>Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>See why Intel Parallel Studio got high marks during beta.<br><a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>