Page 1 of 1

Sub-Host Group

Posted: Mon May 03, 2021 11:07 am
by levidaurric
I have 2 Host Groups, one is called Windows and the other Linux. How can I create Sub-Host Groups within a Host Group ?, for example:

* Windows Servers (Host Group) *
-Antivirus (Sub-Host Group)
-172.16.201.xxxx
-172.16.202.xxxx
-Office (Sub-Host Group)
-172.16.201.xxxx
-172.16.201.xxxx
* Linux Servers (Host Group) *
-RHEL Satellite (Sub-Host Group)
-172.16.204.xxxx
-172.16.206.xxxx
-Abbyy (Sub-Host Group)
-172.16.201.xxxx
-172.16.208.xxxx

Possible solutions?........

Re: Sub-Host Group

Posted: Mon May 03, 2021 2:49 pm
by vtrac
Hi,
Hope you are having a good day!! ... :-)

Assuming that you want the followings:

Code: Select all

* Linux Servers (Host Group) *
    -RHEL Satellite (Sub-Host Group)
        -172.16.204.xxxx
        -172.16.206.xxxx
    -Abbyy (Sub-Host Group)
        -172.16.201.xxxx
        -172.16.208.xxxx
First, add two new groups "RHEL Satellite" and "Abbyy":
Nagios XI GUI > Configure > Core Config Manager > Host Groups
Click "+Add New" button, make sure to add all the hosts to each host group by clicking "Manage Hosts".

Once you have the two new hostgroups, you can assign those two new hostgroups to the "Linux Servers" by:
Nagios XI GUI > Configure > Core Config Manager > Host Groups
Select "Linux Server", then "Manage Host Group" ...... Now, add those two new "RHEL Satellite" and "Abbyy".

Now, click "Manage Hosts" and remove those hosts that already belong to those host group off of this list.

Click "save"
Click "Apply Configureation"


Best Regards,
Vinh

Re: Sub-Host Group

Posted: Mon May 03, 2021 4:24 pm
by vtrac
Hi,
Here's the one I tested on my VM.
M1.png

As you can see, both HG1 and HG2 are inside Linux-servers.

Sorry, but I don't understand your image you sent in my PM inbox.

Please upload this ticket, instead of PM me as other in my group might respond to this forum/ticket when I am not here.

Best Regards,
Vinh