On Tue, Nov 2, 2010 at 10:52 AM, Fredrik Barrud <fred...@barrud.se> wrote:
> Hi,
>
> I would also like to be able to create empty hostgroups with services 
> assigned.
>
> The reason for this is that I've setup a nagios installation for a customer 
> where a host is only member to one hostgroup to inherit services from other 
> hostgroups, like all->windows->citrix->server and for a few special 
> servertypes I would like to prepare the chain with hostgroup and services so 
> that when the servers are ready to be monitored everything is prepared and 
> the servers only needs to be added to the apropriate hostgroup.

We have a local patch to turn the error into a warning, patched
against 3.2.0 - we needed this because we have customers who can use
host -> hostgroup -> N related services mappings but we do not control
their configs, we only define the global service sets - so we could
not have this be fatal and fail everyone's changes just because one
customer stopped using the mapping.

We have been using this patch in production for a year without issues.

To apply:
1) Put patch in top level source directory
2) patch -p0 < name-of-patch

- Max

Attachment: 20101026171548-allow_empty_hostgroups.patch
Description: Binary data

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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