Question about Host Groups

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
pato
Posts: 18
Joined: Thu Oct 10, 2013 6:06 pm
Location: Melbourne, Australia

Question about Host Groups

Post by pato »

Hi there,

Nagios Core 3.5.1 user here - If I have host groups "A" and "B", then through the Host Groups page on the web interface I have visibility on hosts assigned to Host Group "A" and hosts assigned to Host Group "B". What I would like to do but can't is view hosts who are members of BOTH "A" and "B" host groups. Is this possible via the Core web interface or a community addon?

Thanks in advance for your time!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Question about Host Groups

Post by abrist »

No, currently. Viewing members of both host groups requires viewing both host groups. There is no additive views or ways to only show mutual members. You could create your own frontend/script to scrape the cgi, run the comparisons, and then output the desired information though. This would require some custom scripting or web frontend development.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked