Ad Widget

Collapse

Use of host macros

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcamelio
    Member
    • Jul 2005
    • 67

    #1

    Use of host macros

    HI folks,

    I am trying to use host macro unsuccessfully

    Host template _DFS
    Macro : {$DFS} => WDS

    Item
    nbfiles[{$DFS}]

    Create two hosts linked to the template _DFS
    _DFS_WDS_MYHOSTNAME
    _DFS_KERIO_OTHERHOST + macro hostname {$DFS} => KERIO

    every 15' I run a task and send these values using zabbix sender

    _DFS_WDS_MYHOSTNAME:nbfiles[WDS] 0
    _DFS_KERIO_OTHERHOST:nbfiles[KERIO] 0


    but nothing happens

    If I send
    _DFS_WDS_MYHOSTNAME:nbfiles[{$DFS}] 0
    _DFS_KERIO_OTHERHOST:nbfiles[{$DFS}] 0


    item are updated

    If the items is not defined in a template, the macro is working ...
    Last edited by pcamelio; 15-07-2010, 16:40. Reason: Modify the orginal question as it seems to be a pb
Working...