Ad Widget

Collapse

ver 5.0 Itemprototype usage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blindbg
    Junior Member
    • Dec 2020
    • 2

    #1

    ver 5.0 Itemprototype usage

    Hello Zabbix Guruz

    I'm new to Zabbix
    currently using jmxtrans (https://www.jmxtrans.org/) with Grafana
    would like to switch to Zabbix (with Grafana)

    now, when using Discovery Rules LLD

    I expect dummy "Item Prototypes" to be created for me, so I can then modify them according to my needs

    However, I think that this is not the intended behavior, and "Items" should just appear as "red colored" in host "Items" list

    I do not see any jmx attributes appear as "red ghosts" in my host "Items" list, before I define them as "Item Prototypes"

    Have I misunderstood the whole Discovery idea?

    thank you for explaining
    BlindB
  • Blindbg
    Junior Member
    • Dec 2020
    • 2

    #2
    Thanks cyber

    I get what you are saying.
    Let me explain my confusion

    use JMX monitoring...
    create template and 1 rule for discovery of attributes under java.lang (application Core) and other rule for attributes under java.nio (application IO)
    to be as generic as possible have 1 item prototype in both name: {$JMXDESC} and key jmx[{JMXOBJ},{#JMXATTR}]

    Can you do that without being told that you already have that key in use?



    Comment

    • yurtesen
      Senior Member
      • Aug 2008
      • 130

      #3
      Blindbg Yes but you have a typo you forgot the hash character before JMXOBJ... {JMXOBJ},{#JMXATTR}] -> {#JMXOBJ},{#JMXATTR}]
      That is probably why you get same key error because you have same key for every item

      Comment

      Working...