1
我设置了一个icinga2安装来监视一组服务器。在客户端节点(Ubuntu的通过apt安装16.04,icinga2从Ubuntu库)我在hosts.conf设置:Icinga2 - 主机的display_name被icingaweb2忽略
object Host NodeName {
/* Import the default host template defined in `templates.conf`. */
display_name = "Gitlab-CI"
import "generic-host"
/* Specify the address attributes for checks e.g. `ssh` or `http`. */
address = "127.0.0.1"
address6 = "::1"
/* Set custom attribute `os` for hostgroup assignment in `groups.conf`. */
vars.os = "Linux"
}
但在Web界面我只看到它的FQDN gitlabci.example.com
。
谁能我无需拆卸NodeName
指令,因为这是与标准的Ubuntu一个很好的功能(我认为所有的标准Icinga2设置)配置改变显示的名字吗?
你解决了吗? –
不幸的不是。我仍然在web界面中使用FQDN。 –