这里介绍servergroup的基本情况
【基本配置】
在对应的配置文件中添加相应的servicegroup
define servicegroup{ servicegroup_name services-name alias NA members host,service,host2,service2,………… }
【问题】
有了hostgroup,servicegroup等组的概念方便了查看,但是如果有时候一台服务器下线了,除了注释掉host的配置外,其他组包括该服务器的都应该做调整。
define servicegroup{ servicegroup_name services-name alias NA members host,service,host2,service2,………… }