2016-11-09 27 views
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设置)配置改变显示的名字吗?

+0

你解决了吗? –

+1

不幸的不是。我仍然在web界面中使用FQDN。 –

回答

1

我从底部向上移动到自上而下的配置模式,并将Icinga2更新到2.6.0版,然后按照上述问题中的描述工作。