Sometimes it's useful to get value executing a command on host. In my case, I'm trying to run zas agents in docker containers and want to get container name or id for further using in Zabbix as host name. So I want to use something like this:
[agent.hostname]
value=cmd:uname,-n
Not sure about security, so maybe you have a better solution.
Sometimes it's useful to get value executing a command on host. In my case, I'm trying to run zas agents in docker containers and want to get container name or id for further using in Zabbix as host name. So I want to use something like this:
Not sure about security, so maybe you have a better solution.