Ad Widget

Collapse

Zabbix Certified Templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #1

    Zabbix Certified Templates

    I don’t know if I’m going to throw the cat among the pigeons here, or even stir up a hornet’s nest, but to put it quite simply I think that many of the Zabbix Templates are wrong, or to be polite – incorrect.

    12 months ago, I couldn’t even spell SNMP, but as you can see, now I can. However, don’t ask me to explain snmp. At first I struggled along like everyone else, accepting that the Templates were correct. However, many forum threads started leading me to believe that I was in fact gathering the wrong values because the templates were wrong.
    First let me show you the values that I now use for monitoring ifInOctets. I believe these values are correct, if not, please correct me.

    32 bit - InOctets
    Type: SNMPv2 agent
    Community: public
    SNMP OID: 1.3.6.1.2.1.2.2.1.10.x
    SNMP port: 161
    Key: IfInOctets.x
    Type of Information: Numeric (float)
    Unit: bit
    Use multiplier: Custom multiplier
    Custom multiplier: 8
    Store value: Delta (speed per second)

    64 bit - InOctets
    Type: SNMPv2 agent
    Community: public
    SNMP OID: .1.3.6.1.2.1.31.1.1.1.6.x
    SNMP port: 161
    Key: IfHCInOctets.x
    Type of Information: Numeric (integer 64 bit)
    Unit: bit
    Use multiplier: Custom multiplier
    Custom multiplier: 8
    Store value: Delta (speed per second)



    Next, let’s look at some of the templates that I have looked into, which I believe are ‘incorrect’.

    Template_C3750-48TS
    Uses a custom multiplier of 0.125

    Template_Cisco_2960
    Uses a 32 bit OID, but Type of Information is Numeric (integer 64 bit).
    Uses no multiplier. Has ‘show value’ = tcpConnState.

    Template_Cisco_837
    Uses a 32 bit OID, but Type of Information is Numeric (integer 64 bit).
    Uses a custom multiplier of 1.

    Template_Cisco_877
    Uses a 32 bit OID, but Type of Information is Numeric (integer 64 bit).
    Uses a custom multiplier of 1.

    Template_Cisco_PIX515E
    Uses a custom multiplier of 0.125

    Template_Cisco_PIX_525
    Uses a 32 bit OID, but Type of Information is Numeric (integer 64 bit).
    Units says Bps with no multiplier. (my understanding is that B (alone) stands for bytes, but Bps or bps stands for bits/per second)

    Template_SNMPv1_Device
    No Unit. No multiplier. Stores value ‘As is’.

    Template_SNMPv2_Device
    No Unit. No multiplier. Stores value ‘As is’.


    What gives? Am I wrong? Are they wrong? Are we all wrong?

    I really don’t believe that Octets are multiplied by 0.125, nor do I believe that Octet values can be stored ‘As is’.

    Zabbix Certified Templates:

    I would like to propose that ALL user-contributed templates be put through their paces as part of the Zabbix Development process. If and when they are proved to be correct, they are then given the status of ‘Zabbix Certified Template’.

    The zabbix.com wiki administrator change the existing Template page to show ‘Zabbix Certified Templates’ and ‘User-contributed templates’ with a disclaimer that these templates are still being tested by the Zabbix Dev team. Later, they can be moved to the Certified section.

    My recent clean install of Zabbix 1.6 shows all the templates from the wiki. Including these templates as part of the Zabbix package would indicate that the templates are sanctioned by Zabbix and must therefore be good to use.

    The Zabbix Developers current method of dealing with templates seems to be flawed and really needs to be addressed for the good of the product. Network administrators need real correct values, not spend 6 months trying to work out why the values in Zabbix don’t bear any resemblance to our other NMS’s.

    If I am wrong, please tell me and I will happily eat my hat.
    If I am right, please remember that the person who complains is just trying to help!

    MrKen
    Last edited by MrKen; 14-12-2008, 08:30. Reason: Changed floored to flawed. Well, it sounded right!
    Disclaimer: All of the above is pure speculation.
  • Crazy Marty
    Member
    • Sep 2007
    • 75

    #2
    Wholeheartedly Agree!

    Yes, please dedicate just 1 Zabbix staff member to this task! Scrub the existing Templates from top to bottom! When they're *really* ready for us to use in production, then put the mark of "Zabbix Certified Template" on them!

    Comment

    • Tenzer
      Senior Member
      • Nov 2007
      • 316

      #3
      Originally posted by Crazy Marty
      Yes, please dedicate just 1 Zabbix staff member to this task! Scrub the existing Templates from top to bottom! When they're *really* ready for us to use in production, then put the mark of "Zabbix Certified Template" on them!
      Aren't there only two Zabbix developers as it is now? Alexei and Aly?

      Comment

      • rue
        Member
        Zabbix Certified Specialist
        • May 2006
        • 43

        #4
        template documentation

        While I Think it is a good idea to implement some "QA" for templates, I don't think it reasonable (or even possible) for Zabbix to provide this.

        Main point here is: You at least need the device, that you want to test a template against. And Cisco switches don't grow on trees... .

        Furthermore I think it is better for the product if Alexej et al. at zabbix headquarters can focus on development and bugfixes for the core product, zabbix server and the agent, testing and evaluating community-provided templates, would simply be to time consuming for them... .

        I strongly agree, that there should be better documentation for the templates. But I think a better place for this would be the wiki, where everybody could share their experience with the templates they are using (or developing).

        For example a page with a list of available templates, including a short description, and links to detail pages for every available template would certainly be a plus (especially for "newcomers")... .

        Cheers

        rue

        Comment

        • Tenzer
          Senior Member
          • Nov 2007
          • 316

          #5
          Originally posted by rue
          I strongly agree, that there should be better documentation for the templates. But I think a better place for this would be the wiki, where everybody could share their experience with the templates they are using (or developing).

          For example a page with a list of available templates, including a short description, and links to detail pages for every available template would certainly be a plus (especially for "newcomers")... .
          Some kind of repository for templates would be cool, kind of like Firefox handles add-ons, or Wordpress handles plugins. So a page where people can upload templates, and get them categorized, and then visitors can then rate/comment on the templates and share their experiences.

          I could imagine such systems being more or less ready made, though I haven't looked around for any.

          Comment

          • swaterhouse
            Senior Member
            • Apr 2006
            • 268

            #6
            Such a place already exists.

            http://www.zabbix.com/wiki/doku.php?...trib:templates

            If you see errors in any of the templates fix them and upload them to the wiki. That is the beauty of open source!

            Comment

            • Alexei
              Founder, CEO
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2004
              • 5654

              #7
              Well, of course we may "certify" some generic templates, however this is nearly impossible task when it comes to certification of all templates, we just do not have all the hardware here!

              So, please, help us. If you think that something is broken, report this. If you have a template for monitoring of something, share it.
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • troffasky
                Senior Member
                • Jul 2008
                • 567

                #8
                Originally posted by Tenzer
                Some kind of repository for templates would be cool, kind of like Firefox handles add-ons, or Wordpress handles plugins. So a page where people can upload templates, and get them categorized, and then visitors can then rate/comment on the templates and share their experiences.
                ...and then actually be able to download the template into Zabbix directly, without manually saving an XML file and importing it into Zabbix.

                If there could be space in the template for a 'works-with' field, that would be great. For example, a template could list the 'SNMPv2-MIB::sysDescr' or 'SNMPv2-MIB::sysObjectID' it's been tested with. That way you can add a device to Zabbix, you can click 'Query the template repo', Zabbix will query the repo for that string, and any matches [or close matches, given that the same bit of hardware can have many different sysDescr's] can be highlighted to the operator for downloading into Zabbix.

                Comment

                Working...