Ad Widget

Collapse

Macros context and windows disks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SirMax
    Junior Member
    • Jul 2012
    • 14

    #1

    Macros context and windows disks

    How to use windows disks in new feature of zabbix 3.0 (for example A:\ or C:\)?
    I can't get how to write it.

    I have tried different variants:
    {$LOW_SPACE_LIMIT:A\:\}
    {$LOW_SPACE_LIMIT:A:\}
    {$LOW_SPACE_LIMIT:A:\\}

    And no one worked.
  • SirMax
    Junior Member
    • Jul 2012
    • 14

    #2
    This is a bug.
    Here is link to bug https://support.zabbix.com/browse/ZBX-10590

    thanx to Andris Zeila for workaround.

    You have to make trigger in this way:
    Code:
    {Template Virt VMware Guest:vmware.vm.vfs.fs.size[{$URL},{HOST.HOST},{#FSNAME},free].avg(180)}<{$LOW_SPACE_LIMIT:"{#FSNAME}$"}
    with any symbol after {#FSNAME}

    Then you can use context macro like
    {$LOW_SPACE_LIMIT:A:\$}
    And everything works.
    Hope this will save some time for somebody

    Comment

    • tatapoum
      Senior Member
      • Jan 2014
      • 185

      #3
      It's too bad. This feature was developed especially for disk usage dans we can't use it with Windows disks... Hope they will fix it soon.

      Comment

      Working...