Ad Widget

Collapse

Generic Templates.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zaniwoop
    Senior Member
    • Jan 2010
    • 232

    #1

    Generic Templates.

    Hi, this can't be done at the moment (well, I can't get it to work), but I think it would be cool.

    For example, a switch will have 24, 48 or more ports.

    Instead of creating all the items for all the ports, with their triggers and graphs, I want to create a basic template for a switch port, which I can then use to create x number of specific port templates.

    The benefit of this is twofold.
    1) It saves me a lot of work and
    2) allows any change (colour of line in graph or trigger parameter) to be global.

    I tried using a macro, {$PORT} (see picture). This works nicely when you create port 1 ({$PORT} = 1).

    When you create port no. 2, it complains that key xxxx[{PORT}] already exists, because it doesn't translate the macro in the key. It should see the key as xxxx[2].
    Attached Files
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    that's what low level discovery will provide in 2.0 : http://www.zabbix.com/documentation/...evel_discovery
    Zabbix 3.0 Network Monitoring book

    Comment

    • Zaniwoop
      Senior Member
      • Jan 2010
      • 232

      #3
      Great.

      Any guess as to when 2.0 will be available?

      Comment

      • ghoz
        Senior Member
        • May 2011
        • 204

        #4
        On a related note, be careful, the snmp queries are not grouped, meaning you'll have one snmpget per item, rather than a few big snmpgetbulks...

        it increases the network traffic, and on some low end switches it can hang the snmp agent...

        Comment

        • richlv
          Senior Member
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Oct 2005
          • 3112

          #5
          Originally posted by Zaniwoop
          Any guess as to when 2.0 will be available?
          when it's ready. although now there might be some chance to get a more specific answer

          there's an idea to review all open issues in the tracker, create a list of things that must be fixed before 2.0, and once they are all done, 2.0 could appear.
          even better, anybody can help

          you could take a look at yet unreviewed issues at https://support.zabbix.com/secure/Is...equestId=10656 (although you'd most likely want to look at ZBX issues), and try to reproduce the reported bug in latest trunk, then report your findings on that issue.
          Zabbix 3.0 Network Monitoring book

          Comment

          Working...