Dashboards with data from multiple hostgroups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vahuja
Posts: 2
Joined: Tue Jul 30, 2013 3:27 pm

Dashboards with data from multiple hostgroups

Post 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
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Dashboards with data from multiple hostgroups

Post 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?
vahuja
Posts: 2
Joined: Tue Jul 30, 2013 3:27 pm

Re: Dashboards with data from multiple hostgroups

Post by vahuja »

jdalrymple - your understanding was write - my initial post had a typo. I need hosts b and c.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Dashboards with data from multiple hostgroups

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked