problem creatin hostgroup

Gezina Dekker gezinker at gmail.com
Thu Mar 11 17:48:43 CET 2010


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.Breite at altertrading.com>

>  Check your config.
>
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
>
>
>
>
> *From:* Gezina Dekker [mailto:gezinker at gmail.com]
> *Sent:* Thursday, March 11, 2010 8:41 AM
> *To:* nagios-users at 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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100311/c7b51861/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list