ZABBIX Forums  
  #1  
Old 10-12-2008, 08:06
MrKen MrKen is offline
Senior Member
 
Join Date: Oct 2008
Location: Phnom Penh, Cambodia
Posts: 652
Question 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 at 08:30. Reason: Changed floored to flawed. Well, it sounded right!
Reply With Quote
  #2  
Old 11-12-2008, 19:12
Crazy Marty Crazy Marty is offline
Member
 
Join Date: Sep 2007
Posts: 75
Thumbs up 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!
Reply With Quote
  #3  
Old 12-12-2008, 10:24
Tenzer Tenzer is offline
Senior Member
 
Join Date: Nov 2007
Location: Denmark
Posts: 316
Default

Quote:
Originally Posted by Crazy Marty View Post
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?
Reply With Quote
  #4  
Old 12-12-2008, 11:21
rue rue is offline
Member
Zabbix certified specialist
 
Join Date: May 2006
Posts: 42
Default 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
__________________
Psychiatrists say that one out of four people are mentally ill.
Check three friends. If they're OK, you're it.
Reply With Quote
  #5  
Old 12-12-2008, 12:28
Tenzer Tenzer is offline
Senior Member
 
Join Date: Nov 2007
Location: Denmark
Posts: 316
Default

Quote:
Originally Posted by rue View Post
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.
Reply With Quote
  #6  
Old 12-12-2008, 16:02
swaterhouse swaterhouse is offline
Senior Member
 
Join Date: Apr 2006
Location: Auburn, MA
Posts: 265
Default

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!
Reply With Quote
  #7  
Old 12-12-2008, 16:29
Alexei Alexei is offline
Zabbix developer, product manager
 
Join Date: Sep 2004
Location: Riga, Latvia
Posts: 5,641
Lightbulb

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
Reply With Quote
  #8  
Old 17-12-2008, 11:55
troffasky troffasky is offline
Senior Member
 
Join Date: Jul 2008
Posts: 247
Default

Quote:
Originally Posted by Tenzer View Post
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:12.