Re: Add more Host Groups Nagios
Posted: Wed Sep 13, 2017 8:45 am
In the hostgroups file WSTEST1 is set as a member of the web-server hostgroup AND in the WSTEST1 host definition you are setting citrix-servers in the hostgroups directive
Code: Select all
define hostgroup{
hostgroup_name web-servers ; The name of the hostgroup
alias web servers ; Long name of the group
members WSTEST1
}
define host {
host_name WSTEST1
use windows-server
alias WSTEST1
address 10.xx.xx.x
hostgroups citrix-servers
max_check_attempts 3
check_period 24x7
check_command check-host-alive
notification_interval 60
notification_period 24x7
}