Re: HostGroup and Hosts Auto Deleting
Posted: Wed Jul 15, 2015 1:55 pm
Yes, that is the proper way to define a hostgroup config. The members have to be a comma separated list of hostnames.
After adding the hostgroup file to the static folder, you need to restart nagios.
Code: Select all
define hostgroup {
hostgroup_name linux-servers1
alias linux-servers1
members Centos7Core,localhost
}Code: Select all
service nagios restart