hostgroup definition

Assaf Flatto nagios at flatto.net
Wed Mar 10 17:58:23 CET 2010


Gezina Dekker wrote:
> Hi all,
>  
> Two things remain for me, one emails from nagios, two is hostgroups, 
> and I looked at all the documentation and, cannot find my error...
>  
> define hostgroup{
>         hostgroup_name          Linux_group
>         alias                           No_Call-Out
>         members                    svrlinux01
>         }
> 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???
>  
> Regards and thanks for all the help so far, learned a lot,
>  
> Gezina
try running this command

/path/to/nagios -v /path/to/nagios.cfg

this will give you some indication as to your problem.


Assaf

------------------------------------------------------------------------------
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





More information about the Users mailing list