Ad Widget

Collapse

Macros in executed scripts via ssh.run command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tonnynathan
    Junior Member
    • Nov 2011
    • 5

    #1

    Macros in executed scripts via ssh.run command

    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 ?
    Attached Files
  • tonnynathan
    Junior Member
    • Nov 2011
    • 5

    #2
    Just foun this bug.



    Does this mean it will not be fixed ? And do anyone have another aproach to this issues ? I can created items for each server i want to monitor backup for, but that is a nasty hack and will ruin the idea of a template based solution.

    Comment

    Working...