hostgroup with no members - Enhancement

Max Schubert maxs at webwizarddesign.com
Tue Nov 2 16:50:03 CET 2010


On Tue, Nov 2, 2010 at 10:52 AM, Fredrik Barrud <fredrik at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20101026171548-allow_empty_hostgroups.patch
Type: application/octet-stream
Size: 3335 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101102/7a12c548/attachment.obj>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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