[ZBXNEXT-973] Update default template set in distribution Created: 2011 Sep 17  Updated: 2014 Apr 22  Resolved: 2012 Dec 08

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F), Server (S)
Affects Version/s: 1.8.7, 2.0.0
Fix Version/s: 2.0.4

Type: Change Request Priority: Blocker
Reporter: Eugene Varnavsky Assignee: Unassigned
Resolution: Fixed Votes: 5
Labels: templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Current default set of templates is outdated. There is collection of user contributed templates on wiki page (http://www.zabbix.com/wiki/templates/start) and even bigger collection in forum thread (http://www.zabbix.com/forum/showthread.php?t=5947).
These templates should be included in the distribution.



 Comments   
Comment by richlv [ 2012 Jan 05 ]

initial "rules" for the new zabbix templates at https://zabbix.org/wiki/Docs/specs/ZBXNEXT-973

Comment by Andrew Howell [ 2012 Feb 05 ]

Just read the spec, great Can I suggest that templates should use macros for trigger thresholds that people may want to change for individual hosts (such as load average, or number of processes)

Comment by dimir [ 2012 Feb 06 ]

Yep, we are keeping that in mind for new templates.

Comment by Alexei Vladishev [ 2012 Apr 19 ]

New set of templates was integrated into trunk revision 26979, more to come.

Comment by Andrew Howell [ 2012 Apr 21 ]

Any chance they could be put somewhere so we can import them?

Comment by Sergey Syreskin [ 2012 Apr 25 ]

I have noticed three issues with the new templates.

(1) Template SNMP Disks lacks graph prototypes for discovered storages. Graph prototypes can be defined in the same way as for Mounted filesystem discovery in Template OS Linux.
<Sasha> RESOLVED

(2) Same as the above issue with Template SNMP Processors.
<Sasha> SNMP returns only one value for CPU Load - The average, over the last minute. There graph prototypes are not needed.

(3) The default graph width of 400 pixels is not enough for disk space usage graphs, because partition/filesystem/volume names can be quite long.
<Sasha> RESOLVED

Comment by dimir [ 2012 Apr 26 ]

Changing assignee.

Comment by Sergey Syreskin [ 2012 Apr 26 ]

(4) SNMP values sysName, sysDescr, sysContact, sysLocation as well as data from 'uname -a' could be used to populate corresponding host inventory fields by default.
<Sasha> RESOLVED

Comment by Sergey Syreskin [ 2012 May 02 ]

(5) Templates FreeBSD, OpenBSD and Mac OS X lack low level discovery rules for network interfaces.
<Sasha> FreeBSD, OpenBSD and Mac OS X does not support low level discovery of network interfaces

Comment by Sergey Syreskin [ 2012 May 04 ]

(6) There is a graph for Zabbix Server Performance in the Template Application Zabbix Server. This graph currently displays only one value - items processed per second. Previously there was Zabbix queue value on that graph too.
<Sasha> RESOLVED

Comment by Sergey Syreskin [ 2012 May 04 ]

(7) There are unsupported items in Template OS Windows:
system[procrunning]
perf_counter\\PhysicalDisk(_Total)\\Avg. Disk Read Queue Length
perf_counter\\PhysicalDisk(_Total)\\Avg. Disk Write Queue Length
perf_counter\\System\\File Read Bytes/sec
perf_counter\\System\\File Write Bytes/sec
perf_counter\\System\\threads
<Sasha> RESLOVED

Should "system[procrunning]" be changed to "proc.num[,,run]"?
<Sasha> RESOLVED item "system[procrunning]" has been removed

Comment by Jens Berthold [ 2012 May 04 ]

The PerfCounter keys depend on the operating system language. They should all be changed to the corresponding numbers:
perf_counter\\PhysicalDisk(_Total)\\Avg. Disk Read Queue Length --> perf_counter[\234\(_Total)\1402]
perf_counter\\PhysicalDisk(_Total)\\Avg. Disk Write Queue Length --> perf_counter[\234\(_Total)\1404]
perf_counter\\System\\File Read Bytes/sec --> perf_counter[\2\16]
perf_counter\\System\\File Write Bytes/sec --> perf_counter[\2\18]
perf_counter\\System\\threads --> perf_counter[\2\250]

Comment by Sergey Syreskin [ 2012 May 05 ]

proc.num item accepts only 2 parameters for Windows hosts. Example: proc.num[] - works, proc.num[,] - works, proc.num[,,] - ZBX_NOTSUPPORTED.
As far as there is currently no way to get the number of running processes under Windows, I think, that this item should be removed from Template OS Windows.

Thanks, Jens, numerical perf_counters work well.

Comment by Sergey Syreskin [ 2012 May 05 ]

(8) In Template OS Windows in graph prototype for disk usage items for total disk space and free disk space should be interchanged with eachother, otherwise disk usage graph is incorrect.
<Sasha> RESOLVED

Comment by Kendall Green [ 2012 May 16 ]

Can new templates for items and formulas associate device class from MIB/OID snmpwalk for discovery policy to automatically create inherit groups of hosts, items, applications, and services? Perhaps this is already being integrated into advanced discovery?

Comment by Sergey Syreskin [ 2012 Jul 02 ]

There are no predefined graphs for memory usage in OS templates.

Comment by Eugene Varnavsky [ 2012 Oct 03 ]

I made a template for APC Network Management Card 2.
How can I submit it?

Comment by richlv [ 2012 Oct 04 ]

please, create a new zbxnext and attach it there

you can also upload it in zabbix.org wiki and link to it from https://zabbix.org/wiki/Zabbix_Templates

Comment by Sergey Syreskin [ 2012 Nov 15 ]

In Template OS Linux the Incoming/Outgoing traffic items (net.if.in/out) have a user multiplier of 8. As I understand, that means that traffic is counted in Bytes. However the unit for these items is "bps", which means "bit per second". If I am correct, units should be changed to "Bps" - "Bytes per second". Also see http://en.wikipedia.org/wiki/Kbps

The same applies to other OS templates.

Comment by richlv [ 2012 Nov 15 ]

no, it's the other way around
we get bytes from the device. one byte is 8 bits. we multiply received value in bytes by 8, getting the value in bits

Comment by Sergey Syreskin [ 2012 Nov 15 ]

Oh, stupid me!

Comment by richlv [ 2012 Dec 08 ]

i guess we can close this one, other problems should go in new issues

Comment by Paul D. Walker [ 2014 Apr 22 ]

Sorry to reply to an older, closed issue

Jens Berthold, where did you find the number mapping between the performance counter names and the corresponding number?

edit: nevermind. Answer here: http://stackoverflow.com/questions/5581859/retrieve-performance-counter-value-in-a-language-independent-way

the mapping is kept here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009

Comment by richlv [ 2014 Apr 22 ]

zabbix manual lists one method :
https://www.zabbix.com/documentation/2.2/manual/config/items/perfcounters#numeric_representation

Generated at Sat May 11 05:33:16 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.