hello,
I have a need to build dashboards that will get data from hosts belonging to 2 different hostgroups
e.g.
Hostgroup A:
host a
host b
host c
Hostgroup B:
host b
host c
I want to build a dashboard for hosts that are part of hostgroup A and B i.e. it should show 'host b'. Is it doable?
thanks. Vikas
Dashboards with data from multiple hostgroups
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Dashboards with data from multiple hostgroups
Based upon your example it's not clear what you want.
If you're seeking hosts that are in hostgroup A AND hostgroup B that would be host b and host c right? If that's the case I don't know of a way within Nagios itself to create such a grouping, maybe someone else will have an idea, but I expect that you'd have to create a tool of your own to identify those hosts and create a new hostgroup for you.
Maybe I'm misunderstanding the desired outcome though?
If you're seeking hosts that are in hostgroup A AND hostgroup B that would be host b and host c right? If that's the case I don't know of a way within Nagios itself to create such a grouping, maybe someone else will have an idea, but I expect that you'd have to create a tool of your own to identify those hosts and create a new hostgroup for you.
Maybe I'm misunderstanding the desired outcome though?
Re: Dashboards with data from multiple hostgroups
jdalrymple - your understanding was write - my initial post had a typo. I need hosts b and c.
Re: Dashboards with data from multiple hostgroups
Creating a dashboard, that would show the "overlapping" hosts (members) of two different host groups is not possible in Nagios XI. You will need to do this manually, i.e. create a new (different) hostgroup and add to "overlapping" members to it.
Be sure to check out our Knowledgebase for helpful articles and solutions!