How to group multiple IT equipments from the same location

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
rbozdog
Posts: 8
Joined: Thu Jan 17, 2019 2:12 am

How to group multiple IT equipments from the same location

Post 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!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rbozdog
Posts: 8
Joined: Thu Jan 17, 2019 2:12 am

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked