Ad Widget

Collapse

Can't add second item with {#SNMPVALUE}]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aigars
    Member
    • Apr 2010
    • 55

    #1

    Can't add second item with {#SNMPVALUE}]

    Hi,

    Just started to played around with SNMP and discovery. Included SNMP discovery templates are working fine, but when I tried to create my template for memory discovery and got error about duplicate item. Can anyone explain why? It's completly different template.

    Attached screenshot.
    Attached Files
  • Bernd Hohmann
    Member
    • Mar 2013
    • 46

    #2
    I had problems too to understand this.

    The issue here is, that keys are really "keys" and must be unique. On the other hand those "keys" contain a function and functionality. So if you need the same functionality (means: key) in a different linked template, Zabbix complains.

    This problem comes up very fast when you start to write your own templates and use the defaults template in parallel because there isn't much granularity in the original Zabbix templates.

    The best way is to create a new Group "z_templates", move all the original templates into this group and start up to write smaller templates which can be glued together in larger templates like using a Lego construction set.

    For example I have a template which is responsible only for disk discovery, another for network discovery, another for CPU monitoring, checking HTTP, SMTP and so on.

    Bernd

    Comment

    • aigars
      Member
      • Apr 2010
      • 55

      #3
      Yeah, so bad Zabbix documentation is missing this point! Actually there could be more detailed explanation about how is working LLD.

      Hmm, how are you monitoring RAM? I'm asking this because disk space and RAM both is sitting in same tree Hrstorage(I don't remmember exact name).

      Comment

      • Bernd Hohmann
        Member
        • Mar 2013
        • 46

        #4
        There are some presets which are monitoring cpu and ram in the same template. I created seperate templates for RAM and CPU. Much better :-)

        Bernd

        Comment

        • aigars
          Member
          • Apr 2010
          • 55

          #5
          Anyone can share template to see example?
          Thanks!

          Comment

          Working...