could not expand member hosts specified in hostgroup....
Marc Powell
marc at ena.com
Thu Feb 19 17:57:30 CET 2004
On Thursday, February 19, 2004 10:44 AM, David Strappazon shared with
us:
> here is my hostgroup.cfg file:
>
>
> define hostgroup{
>
>
> hostgroup_name INFORMATIQUE
> alias pc du
service informatique
> contact_groups david
> members levens
>
>
> hostgroup_name INTERNET
> alias service
internet motorpresse
> contact_groups david
> members mail,ftp
> }
>
>
>
> When i verified my config the first error is:
>
> could not find host 'ftp'
>
> I don't unterstand because nagios was running without problem until i
> decided to add new machine in my configuration !!!
You can't have multiple hostgroup definitions within a single 'define
hostgroup'. You'll need two hostgroup definitions as so--
define hostgroup{
hostgroup_name INFORMATIQUE
alias pc du
service informatique
contact_groups david
members levens
}
define hostgroup{
hostgroup_name INTERNET
alias service
internet motorpresse
contact_groups david
members mail,ftp
}
As far as not being able to find host 'ftp', do you have a 'define
host{' with host_name of 'ftp'? It seems to me you might be confusing
service definitions for host definitions.
--
Marc
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
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