Hostgroup nesting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gwijnant
Posts: 37
Joined: Tue Sep 08, 2015 4:22 am

Hostgroup nesting

Post by gwijnant »

Hi all,

I am trying out Nagios XI and I want to know if its possible to create a custom view like the following.
Our network is divided into multiple physical locations (City X, City Y,...) and in Layers of the network (Backbone Layer, Security Layer, Wireless Layer). When adding a node for monitoring it will be assigned to a hostgroup referring to the Location (Hostgroup City X) and a Hostgroup referring to the Layer (Hostgroup Backbone).
Now when I click on Hostgroup Summary on the GUI. I see a summary of all hostgroups which is not clear as you see the locations mixed with the layers. I want to create a summary view of all the hostgroups that refer to the location and a summary view that contains the hostgroups that refer to the Layer.
I have not found any way to make this possible. As extra I would like to know if its possible that when clicking on (as an example) the backbone Layer, I see a list of all the Locations where the Backbone Layer is present and the current status of the backbone nodes on the location.
I hope you understand my question :-)

Best Regards,

Guy
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Hostgroup nesting

Post by lmiltchev »

I hope I understand your question. :)

You could create two more hostgroups, for example: "physical_locations" and "network_layers" and add the existing hostgroups as members:

"physical_locations" -> City X, City Y, ...
"network_layers" -> Backbone Layer, Security Layer, Wireless Layer, ...

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gwijnant
Posts: 37
Joined: Tue Sep 08, 2015 4:22 am

Re: Hostgroup nesting

Post by gwijnant »

Hi lmiltchev,

Thanks for your feedback. I have created the hostgroups physical_location and network_layers and added the other hostgroups accordingly. When I click the Hostgroup Summary page, I receive a Status Summary For All Host Groups. Now is it possible to create the same type of view but for the hostgroup physical_location?

Best Regards,

Guy
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Hostgroup nesting

Post by jdalrymple »

If I'm understanding your question correctly you want a hostgroup summary for a subset of all hostgroups correct?

So you might have configured hostgroups 1,2,3,X,Y and Z but you want to have 2 hostgroup summary pages, one that shows 1,2,3 and one that shows only X,Y,Z. Is that correct? If so you can create your own views no problem to achieve this goal by just going to the hostgroup overview page and adding the individual hostgroups you want to see to custom dashboards.

Does this make sense?
gwijnant
Posts: 37
Joined: Tue Sep 08, 2015 4:22 am

Re: Hostgroup nesting

Post by gwijnant »

Hi jdalrymple,

You are correct but the problem is that when going to the Hostgroup Overview page I see the Hostgroup physical_locations. But in that view you see the name of the node that is in the hostgroup location x and not the name of location x. Which means an operator has to basicly decipher the hostname in order to know what location it is at instead of when it just gives the Hostgroup name (Location x).
If the above is getting unclear, let me know then I will try to provide a drawing or screenshots in order to make it more clear :-)
already thanks for sticking in here :-)
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Hostgroup nesting

Post by jdalrymple »

I guess I am confused. I would assume that "location x" would be in the name of the hostgroup?
Locked