Thanks for all the mails.
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.
The problem was that the names specified in the individual server cfg files
(first line, after define host,host_name) the host_name was
serverone.vodacom.com 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...
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.
Regards
Gezina
2010/3/11 Charles Breite <charles.bre...@altertrading.com>
> Check your config.
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
>
>
>
>
> *From:* Gezina Dekker [mailto:gezin...@gmail.com]
> *Sent:* Thursday, March 11, 2010 8:41 AM
> *To:* nagios-users@lists.sourceforge.net
> *Subject:* [Nagios-users] problem creatin hostgroup
>
>
>
> Hi all,
>
>
>
> When I restart after adding this host-group using split.cfg I get the
> following.
>
> Running configuration check. CONFIG ERROR! Restart aborted. Check your
> Nagios configuration
>
> I have server a definition for it. if I comment the lines out, the resatrt
> is successful.
>
>
>
> I am just missing something???
>
>
>
> This is what my hostgroup definition looks like
>
>
>
> define hostgroup{
> hostgroup_name Linux_group
> alias No_Call-Out
> members svrlinux01
> }
>
>
>
> Any ideas that can help me out ?
>
>
>
> Regards and thanks for all the help so far, learned a lot,
>
>
>
> Gezina
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null