簡體   English   中英

Icinga2正在監視同一主機

[英]Icinga2 is monitoring the same host

我遇到了一個問題,即使我將IP設置為其他服務器,Icinga2仍在監視lochalhost(例如磁盤使用情況)。 我做錯了什么?

這是我對主機之一的配置:

object Host "tellus" {
    import "generic-host"
    address = "10.1.1.48"
    address6 = "::1"
    vars.os = "Linux"
}

object Service "http" {
    host_name = "tellus"
    check_command = "http"
}

object Service "procs" {
    host_name = "tellus"
    check_command = "procs"
}

object Service "load" {
    host_name = "tellus"
    check_command = "load"
}

object Service "users" {
    host_name = "tellus"
    check_command = "users"
}

object Service "disk" {
    host_name = "tellus"
    check_command = "disk"
}

object Service "swap" {
    host_name = "tellus"
    check_command = "swap"
}

除非您配置傳輸方式(例如,使用icinga2客戶端作為命令端點或SSH,或使用其他方法在客戶端上遠程執行檢查),否則這些檢查插件將在本地執行。 地址屬性,其中檢查執行不影響,它僅提供需要這種(例如ping命令遠程主機),用於特定的運行時宏的信息。

特別是看一下文檔。 分布式監控章節介紹了一些基礎知識。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM