Ad Widget

Collapse

LLD create item prototypes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomaskovicmarcel
    Junior Member
    • Aug 2019
    • 9

    #1

    LLD create item prototypes

    Hi guys,
    I need create custom LLD, but i have some mistakes.

    In my /etc/zabbix/zabbix_agentd.d/check_mz.conf I have:
    UserParameter=discovery.mz1,/opt/mz.sh

    Output from /opt/mz.sh is json:
    {
    "data":[
    { "{#Name}" : "car", "{#Value}":"345"}]
    }

    In Discovery rule I have key: discovery.mz1
    In Item Prototypes I have key: mz1[{#Name}]

    But this is not ok, because i got: Unsupported item key.

    What I doing wrong?
    Thank you.
  • tomaskovicmarcel
    Junior Member
    • Aug 2019
    • 9

    #2
    No, I have only this:
    UserParameter=discovery.mz1,/opt/mz.sh

    Comment

    Working...