如何在單一 Debian 機器上配置 ganglia-monitor?

如何在單一 Debian 機器上配置 ganglia-monitor?

這裡是我目前在線的內容,如您所見,沒有關於我的 debian 伺服器的資訊。

(在安裝時我試圖遵循下一步說明

我預設更改了什麼gmond.conf

cluster {
  name = "dspproc"
  owner = "unspecified"
  latlong = "unspecified"
  url = "dspproc"
}

udp_send_channel {
  mcast_join = 127.0.0.1
  port = 8649
  ttl = 1
}

udp_recv_channel {
  mcast_join = 127.0.0.1
  port = 8649
  bind = 127.0.0.1
}

這就是我改變的gmetad.conf

data_source "dspproc" 10 127.0.0.1
authority "http://195.19.243.13/ganglia/"
trusted_hosts 127.0.0.1 195.19.243.13
case_sensitive_hostnames 0

我的問題是:我做錯了什麼,以及如何做神經節顯示有​​關目前安裝的電腦的資訊?

更新 下列的這個答案變成:

   udp_send_channel {
      host = 127.0.0.1
      port = 8649
      ttl = 1
    }

    /* You can specify as many udp_recv_channels as you like as well. */
    udp_recv_channel {
      host = 127.0.0.1 /* line 41 */
      port = 8649
      bind = 127.0.0.1
    }

重新啟動時得到這個:

Starting Ganglia Monitor Daemon: /etc/ganglia/gmond.conf:41: no such option 'host'

並且仍在Hosts up: 0網路使用者介面中。

更新2:

所以...當我再次閱讀答案並繼續訪問連結時,對配置進行了下一步更改,一切順利!諾夫爾

現在 gmod.conf 的區塊看起來像

    udp_send_channel {
      host = 127.0.0.1
      port = 8649
      ttl = 1
    }

  udp_recv_channel {
    port = 8649
    family = inet4
  }
  udp_recv_channel {
    port = 8649
    family = inet6
  }

一切似乎都有效......

答案1

我似乎記得很多個月前在設定 Ganglia 時也遇到類似的問題。這可能不是同一個問題,但對我來說,這是我的盒子/網路不喜歡 Ganglia 的多播。一旦我將其設置為使用單播,一切都很好。

來自Ganglia 文檔

如果僅指定主機和端口,則 gmond 將向指定的主機發送單播 UDP 訊息。

也許嘗試將 替換mcast_join = 127.0.0.1host = 127.0.0.1.

相關內容