Ad Widget

Collapse

Discovery with calculated items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hqit
    Junior Member
    • Oct 2013
    • 3

    #1

    Discovery with calculated items

    Hello,

    is there a way to use the macro from the discovery rule at the item prototype related key?

    Background:
    We are using pyora on an template to discover tablespaces and want to create related multiple calculated items.
    Of course these items need some unique identifier(key). Unfortunately the defined macro from the discovery rule could not be a part of the key.

    Thanks in advance.

    Zabbix: 2.2.4

    Edit:
    Found the solution... just have to place the {#Macro} from the discovery in [] for the key.
    Last edited by hqit; 06-08-2014, 07:51.
  • dan.mircea
    Junior Member
    • Aug 2015
    • 1

    #2
    Thank you

    Thanks for posting the answer to the problem. You saved me some digging time

    Comment

    • hqit
      Junior Member
      • Oct 2013
      • 3

      #3
      no problem

      Another point i figured out.

      The [{#Macro}] has to be at the end of the Key.

      test[{#Macro}]test -> does not work
      testtest[{#Macro}] -> is working well

      Comment

      Working...