still getting things in order, and having a problem with adding my 1st hostgroup.  Side note, is there any kind of logging, or debugging to see where a failure occurs?  Ex. I add a new config file with the following basic line in the main conf;
   
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
The file has the following;
    define hostgroup{
       hostgroup_name webservers
       alias    webservers
       contact_groups    sysadmins
       members    cs0
       }

The alias I just made up, the contact group sysadmin's exists and the member cs0 is one of my webservers.  In the actual server.cfg file for that server I have a line;
    hostgroups        webservers

I don't know if that needs to be there as I am defining his as a member in the hostgroups.cfg file.

Keeping things like this I start nagios and simply get;
Starting nagios:CONFIG ERROR!  Start aborted.  Check your Nagios configuration.
(which is why I am looking as the nagios.log says nothing helpful.

Now if I comment out the hostgroup line in the main conf, things start, but I would like to use hostgroups for the obvious reasons.  I am sure these and the new ones will be pretty basic as the needs are simple, and if I can debug where it stopping would be even easier, but again, this will be a1 or 2 sentence reply I bet!

Tnx

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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

Reply via email to