0

(Bild)Zone 无人接听

(图片)我可以查看的所有其他服务

  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"
4

0 回答 0