HostGroup and Hosts Auto Deleting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: HostGroup and Hosts Auto Deleting

Post by tgriep »

Yes, that is the proper way to define a hostgroup config. The members have to be a comma separated list of hostnames.

Code: Select all

define hostgroup {
        hostgroup_name                          linux-servers1
        alias                                   linux-servers1
        members                                 Centos7Core,localhost
        }
After adding the hostgroup file to the static folder, you need to restart nagios.

Code: Select all

service nagios restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
haile711
Posts: 197
Joined: Thu May 28, 2015 7:36 am

Re: HostGroup and Hosts Auto Deleting

Post by haile711 »

Thxs everyone for helping out! I was able to successfully implemented this feature. This thread can be locked now.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: HostGroup and Hosts Auto Deleting

Post by tmcdonald »

Glad we could help!
Former Nagios employee
Locked