Hi
I currently use the new Nagios XI 5.2.1
- Is it possible to define a service including hostgroups but exclude single hosts? In the config file it would be
hostgroup_name somegroup
host !excludedhost
- Or how can I create subsets. I have hosts in prod and clustered. But both hostgroups have extra hosts. I want to select only the hosts that are in both the hostgroups.
- What are the hostgroups options (+,null,standard) I can not find any documentation about them.
Thanks
Chris
Exclude / Sub set of Host / Hostgroups
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Exclude / Sub set of Host / Hostgroups
This is on the roadmap, but as a workaround you can use the process described here
https://support.nagios.com/forum/viewto ... 170#p83063
https://support.nagios.com/forum/viewto ... 170#p83063
Re: Exclude / Sub set of Host / Hostgroups
Hi
Thanks for the workaround. Can this be used to exclude hostgroups as well?
Hostgroup_name prod,!sec
Thanks for the workaround. Can this be used to exclude hostgroups as well?
Hostgroup_name prod,!sec
Re: Exclude / Sub set of Host / Hostgroups
It is not possible to exclude hostgroups in the CCM - at least I am not aware of any "workarounds". The only way to accomplish this is to place your configs in the "static" directory and manage them manually.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Exclude / Sub set of Host / Hostgroups
Thanks.
That is what I have done so far.
That is what I have done so far.
Re: Exclude / Sub set of Host / Hostgroups
As this has been answered, and is on the road map - do you mind if I close this thread out?
Former Nagios Employee