inventory management - filtered listing of host groups
Posted: Thu Aug 01, 2013 9:11 pm
Hi,
We have a new requirement to provide a list of systems for one of our clients. We were hoping that Nagios could do this for us (Since all the systems of interest are being monitored by Nagios already) but there doesn't seem to be a clean way of showing this information.
We seem to be able to show a very very basic count of systems via "Host Status Summary" (see attached hostStatusSummary.png) or we can dive deeper and get a summary for all host groups via "Status Summary for All Host Groups" (see attached statusSummaryForAllHostGRoups.png)
What we would like to be able to have is a hybrid of the two:
The basic info of the Host Status summary, but with the ability to show only selected HostGroups so we don't get overlaps.
We use HostGroups extensively to make Nagios easier to manage (rightly or wrongly we don't use service groups).
So if I use the following canned example to demonstrate
If we have two hosts, both windows servers, but one with Intel NICs and one with AMD NICs
So we have three hostgroups: windows servers, AMD NICs and Intel NICs
Both hosts are members of Windows servers, but each host only belongs to one of the NICs groups
So if we show a summary of all host groups it would look as if we have 4 hosts instead of the actual 2 because we see all the three host groups and see that one has two members and the other two both have one member. It overlaps.
(At the service level we apply the Windows server group to CPU, memory, uptime, etc etc and we apply the two NIC groups to the appropriate service group for each brand.)
if there a way to suppress or filter what hostrgoups are shown when we select "Status Summary for all Host Groups". This way the inventory list would only show the number of core groups to the client (eg Windows Servers, network Switches, ESXi Servers etc) and ignore the tweaks such as NIC brand etc.
I appreciate this may not be entirely clear, and I may have missed some reporting functionality that already performs this feat.
Cheers,
KB
We have a new requirement to provide a list of systems for one of our clients. We were hoping that Nagios could do this for us (Since all the systems of interest are being monitored by Nagios already) but there doesn't seem to be a clean way of showing this information.
We seem to be able to show a very very basic count of systems via "Host Status Summary" (see attached hostStatusSummary.png) or we can dive deeper and get a summary for all host groups via "Status Summary for All Host Groups" (see attached statusSummaryForAllHostGRoups.png)
What we would like to be able to have is a hybrid of the two:
The basic info of the Host Status summary, but with the ability to show only selected HostGroups so we don't get overlaps.
We use HostGroups extensively to make Nagios easier to manage (rightly or wrongly we don't use service groups).
So if I use the following canned example to demonstrate
If we have two hosts, both windows servers, but one with Intel NICs and one with AMD NICs
So we have three hostgroups: windows servers, AMD NICs and Intel NICs
Both hosts are members of Windows servers, but each host only belongs to one of the NICs groups
So if we show a summary of all host groups it would look as if we have 4 hosts instead of the actual 2 because we see all the three host groups and see that one has two members and the other two both have one member. It overlaps.
(At the service level we apply the Windows server group to CPU, memory, uptime, etc etc and we apply the two NIC groups to the appropriate service group for each brand.)
if there a way to suppress or filter what hostrgoups are shown when we select "Status Summary for all Host Groups". This way the inventory list would only show the number of core groups to the client (eg Windows Servers, network Switches, ESXi Servers etc) and ignore the tweaks such as NIC brand etc.
I appreciate this may not be entirely clear, and I may have missed some reporting functionality that already performs this feat.
Cheers,
KB