Page 1 of 1
Dashboards with data from multiple hostgroups
Posted: Wed Sep 30, 2015 4:09 pm
by vahuja
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
Re: Dashboards with data from multiple hostgroups
Posted: Wed Sep 30, 2015 10:26 pm
by jdalrymple
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?
Re: Dashboards with data from multiple hostgroups
Posted: Wed Sep 30, 2015 10:34 pm
by vahuja
jdalrymple - your understanding was write - my initial post had a typo. I need hosts b and c.
Re: Dashboards with data from multiple hostgroups
Posted: Thu Oct 01, 2015 11:13 am
by lmiltchev
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.