Ubuntu Icinga2——主机';icingaweb2忽略了的显示名称
我设置了一个icinga2安装来监视一组服务器。在客户端节点(ubuntu 16.04,通过apt从ubuntu存储库安装的icinga2)上,我在hosts.conf中设置:Ubuntu Icinga2——主机';icingaweb2忽略了的显示名称,ubuntu,icinga,Ubuntu,Icinga,我设置了一个icinga2安装来监视一组服务器。在客户端节点(ubuntu 16.04,通过apt从ubuntu存储库安装的icinga2)上,我在hosts.conf中设置: object Host NodeName { /* Import the default host template defined in `templates.conf`. */ display_name = "Gitlab-CI" import "generic-host" /* Specify
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界面中,我只看到它的FQDNgitlabci.example.com
谁能在不删除
NodeName
指令的情况下更改显示的名称,因为这是标准Ubuntu的一个不错的功能(我认为所有标准Icinga2设置都是如此)配置?我从自下而上切换到自上而下的配置模式,并将Icinga2更新为2.6.0版,然后它按照上述问题中的说明工作 你解决了吗?不幸的是没有。我仍然在webinterface中使用FQDN。