(Bild)All other Services i can check
apply Service "load" {
import "generic-service"
check_command = "load"
if (host.name != NodeName){
command_endpoint = host.name}
assign where host.name == NodeName
assign where host.vars.os == "Linux" && host.vars.zone == "Cluster"
当检查Icinga服务在目标运行时运行时,我完全相同,只是我得到了一个结果,但没有“加载”。
apply Service "icinga" {
import "30-mins"
check_command = "icinga"
assign where host.name == NodeName
assign where host.vars.os == "Linux" && host.vars.zone == "Cluster"