Page 1 of 1

How to group multiple IT equipments from the same location

Posted: Mon Feb 25, 2019 5:13 am
by rbozdog
Hello,

I need a suggestion. I am monitoring 220 Gas Stations, each gas station has some IT equipments (router,switch,computers...).
Each of those equipments have a unique IP address that I use to PING them from Nagios and monitor other services from them.

In the Nagios GUI I cand see all the hosts(IP's), but I need a solution to make a group for each Gas Station when I click on a main host(example the router) to see all the other equipments from that gas station. I have done the parenting. All the Gas Stations have a unique code that I am setting on every equipment ALIAS (example 01), the equipments alias is defined like this: 01router, 01switch, 01computer1. 01computer2 and so on...

All I want is that when I am entering in the Nagios GUI to click on the Gas Station unique code (example 01) and see all the equipments from that station and their states.

I have made host groups for each equipment (routers, switches...), but when I want to search for equipments from a specific gas station I have to look in different hostgroups and this is very time consuming.

Thank you!

Re: How to group multiple IT equipments from the same locati

Posted: Mon Feb 25, 2019 4:48 pm
by cdienger
Instead of(or in addition to) using hostgroups to group types of equipment, you could instead group by location. hostgroup 01 for example would contain all the equipment at the 01 location.

Re: How to group multiple IT equipments from the same locati

Posted: Tue Feb 26, 2019 1:57 am
by rbozdog
I know what are you saying but it's also time consuming and a lot of work to make a separate hostgroup for each location and the Host Groups tab in the Nagios interface will look a little bit awkward with 220 different hostgroups. That's why I asked for a solution.

Re: How to group multiple IT equipments from the same locati

Posted: Tue Feb 26, 2019 3:16 pm
by scottwilkerson
rbozdog wrote:I know what are you saying but it's also time consuming and a lot of work to make a separate hostgroup for each location and the Host Groups tab in the Nagios interface will look a little bit awkward with 220 different hostgroups. That's why I asked for a solution.
Unfortunately Nagios only has 2 mechanisms to group object, hostgroups and servicegroups, so the process would be the same for both.