Hello,
We are monitoring devices across our office and two labs. Currently in Nagios Core, I have everything organized into hostgroups by device category (Windows Servers, Network Devices, SAN Devices, etc.). I want to break it down further so that when I look at the web interface, I see everything separated by location first, then by category. I thought Hostgroup nesting would do the trick, but what this seems to do is create a bunch of groups with redundant host data. Is there a better way of nesting groups in the web interface, and keeping it tidy? I'm guessing I am just missing something simple, but I didn't come up with anything when I did a Google search.
Nesting hostgroups and the web interface
Re: Nesting hostgroups and the web interface
You might consider parent relationships, which tend to tidy up maps (and provide the additional benefit of reducing the potential for alert storms!)Is there a better way of nesting groups in the web interface, and keeping it tidy
Lets say you have four locations:
A (nagios lives here)
B
C
D
These locations will all appear next to one another on the map with no parents defined. If you made B C and D depend upon the Nagios Server or perhaps location A, the map would adjust accordingly.
I don't know if this will fit your purpose, but it's worth noting that parental relationships _do_ change map behaviors, and it might be enough to solve your issue. Let me know, thanks!
Re: Nesting hostgroups and the web interface
Interesting. Reducing Nagios "spam" will be a useful side effect. Last night I got about 50 emails after changing a couple of IPs.
Re: Nesting hostgroups and the web interface
Do you have monitoring setup using DNS or IPs? As Nagios cannot detect a change in IPs, this could be the cause for your alerts.
Former Nagios Employee