Hi developers,
I am getting following warnings during the "Reading configuration
data..." step:
Warning: Specified hostgroup 'preita.abc' has no members (config file
'/etc/nagios/config/abc/hostgroups.cfg', starting on line 1)
Warning: Specified hostgroup 'def' has no members (config file
'/etc/nagios/config/hostgroup.cfg', starting on line 1)
Warning: Specified hostgroup 'postit.def' has no members (config file
'/etc/nagios/config/def/hostgroups.cfg', starting on line 1)
But Nagios starts without any errors. And Nagios knows the groups and
their members. objects.cache:
e.g. one group:
define hostgroup {
hostgroup_name preita.abc
alias preita.abc
members
batch2.preita.abc,batch1.preita.abc,online2.preita.abc,online1.preita.abc
}
So I am pretty sure this Warning messages are wrong!=20
BTW 2 wishes about hostgroups:
1. empty hostgroups
if hostgroups without any members exist Nagios won't start. I really
would appreciate if Nagios could throw warnings instead.=20
2. hide hostgroups from the cgi interface
With earlier Nagios Versions it was possible to define groups as
templates (register 0). These groups weren't shown on the webinterface.
I would really appreciate a switch like "hide_from_cgis 0/1" for the
hostgroups.=20
Cheers,
Gerd
Cheers,
Gerd
--=20
Gerd Mueller =20
Senior Consultant
NETWAYS GmbH | Deutschherrnstr. 47a | D-90429 N=FCrnberg=20
Tel: +49 911 92885-0 | Fax: +49 911 92885-33=20
GF: Julian Hein | AG N=FCrnberg HRB18461=20
=20
http://www.netways.de | [email protected]=20
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]