Hi
I setting up rdiff backup checks in zabbix, and i run a script against the rdiff server using ssh. As i want the hostname as part of the script i try to place {HOSTNAME} or {HOST.DNS} as part of the script, but i does not seem to work. If i just type the hostname in the script it works.
See attached screenshot from item configuration in zabbix.
How do i manage to use theese kind of macros in my scripts ?
I setting up rdiff backup checks in zabbix, and i run a script against the rdiff server using ssh. As i want the hostname as part of the script i try to place {HOSTNAME} or {HOST.DNS} as part of the script, but i does not seem to work. If i just type the hostname in the script it works.
See attached screenshot from item configuration in zabbix.
How do i manage to use theese kind of macros in my scripts ?
Comment