If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Ad Widget
Collapse
Set alias name automatically during Zabbix Auto Registration
If we can set agent display name in agent configuration file.
I automated the agent installation through ansible, I want to pass display name as parameter.
Currently Zabbix dashboard shows the hostname / IP but end user will not know what the server (zabbix agent) is.
If we can set agent display name in agent configuration file.
I automated the agent installation through ansible, I want to pass display name as parameter.
Currently Zabbix dashboard shows the hostname / IP but end user will not know what the server (zabbix agent) is.
you have this option at zabbix agent conf :
### Option: Alias
# Sets an alias for an item key. It can be used to substitute long and complex item key with a smaller and simpler one.
# Multiple Alias parameters may be present. Multiple parameters with the same Alias key are not allowed.
# Different Alias keys may reference the same item key.
# For example, to retrieve the ID of user 'zabbix':
# Alias=zabbix.userid:vfs.file.regexp[/etc/passwd,^zabbix:.[0-9]+),,,,\1]
# Now shorthand key zabbix.userid may be used to retrieve data.
# Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
#
# Mandatory: no
# Range:
# Default:
im sorry i dont seem to have the knowledge that you need , i never used anisble
Comment