Ad Widget

Collapse

How to feed an item parameter with another item value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andresvia
    Junior Member
    • Dec 2010
    • 5

    #1

    How to feed an item parameter with another item value

    Is that even possible?

    Thanks.
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    Originally posted by andresvia
    Is that even possible?
    Not sure to understand your question.
    May be "Calculated item" is what you are looking for : http://www.zabbix.com/documentation/...lculated_items

    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    • andresvia
      Junior Member
      • Dec 2010
      • 5

      #3
      alixen, thank you very much.

      Not exactly, what I'm looking for is something like a key defined like this...

      userparamx[last([host:]key)]

      Where userparamx is any parameter defined in the agent, and host:key any key on any host or in the same host, what I'm looking for is a way to pass a parameter to an item which is the last value (or any other function -avg, regex- etc) of another item.

      Regars.

      --andres.-
      Last edited by andresvia; 20-12-2010, 15:52.

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Hi,

        I'm afraid that it is not possible. According to documentation of macros, {host:key.func(param)} is not allowed in Item key's parameters.

        Regards,
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • Avinasha
          Member
          • Jan 2018
          • 40

          #5
          this was not possible 10 years ago. Is it possible now?

          Comment

          Working...