You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
one fix is to disable the HostnameItem when the Hostname is defined
<% if !@hostname -%>
HostnameItem=<%= @hostnameitem %>
<% end -%>
but the Hostname defaults to $fqdn, the HostnameItem is always disabled.
i think it should be no default for the hostname
hostname is not set -> defaults to hostnameItem (actual zabbix behaviour)
hostname is set -> hostname is used instead of HostnameItem (actual zabbix behaviour)
Hostname and HostnameItem are both set by default, this leads into this warning:
Shutting down Zabbix agent: [ OK ]
Starting Zabbix agent: zabbix_agentd [3912]: Warning: both Hostname and HostnameItem defined, using [xxx]
HostnameItem should not set by default, and Hostname should be disabled when HostnameItem is set
The text was updated successfully, but these errors were encountered: