Details

      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.

        Activity

        Hide
        richlv added a comment -

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

        Show
        richlv added a comment - initial "rules" for the new zabbix templates at https://zabbix.org/wiki/Docs/specs/ZBXNEXT-973
        Hide
        Andrew Howell added a comment -

        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)

        Show
        Andrew Howell added a comment - 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)
        Hide
        dimir added a comment -

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

        Show
        dimir added a comment - Yep, we are keeping that in mind for new templates.
        Hide
        Alexei Vladishev added a comment -

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

        Show
        Alexei Vladishev added a comment - New set of templates was integrated into trunk revision 26979, more to come.
        Hide
        Andrew Howell added a comment -

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

        Show
        Andrew Howell added a comment - Any chance they could be put somewhere so we can import them?
        Hide
        Sergey Syreskin added a comment - - edited

        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

        Show
        Sergey Syreskin added a comment - - edited 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
        Hide
        dimir added a comment -

        Changing assignee.

        Show
        dimir added a comment - Changing assignee.
        Hide
        Sergey Syreskin added a comment - - edited

        (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

        Show
        Sergey Syreskin added a comment - - edited (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
        Hide
        Sergey Syreskin added a comment - - edited

        (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

        Show
        Sergey Syreskin added a comment - - edited (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
        Hide
        Sergey Syreskin added a comment - - edited

        (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

        Show
        Sergey Syreskin added a comment - - edited (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
        Hide
        Sergey Syreskin added a comment - - edited

        (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

        Show
        Sergey Syreskin added a comment - - edited (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
        Hide
        Jens Berthold added a comment -

        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]

        Show
        Jens Berthold added a comment - 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]
        Hide
        Sergey Syreskin added a comment - - edited

        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.

        Show
        Sergey Syreskin added a comment - - edited 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.
        Hide
        Sergey Syreskin added a comment - - edited

        (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

        Show
        Sergey Syreskin added a comment - - edited (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
        Hide
        Kendall Green added a comment -

        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?

        Show
        Kendall Green added a comment - 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?
        Hide
        Sergey Syreskin added a comment -

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

        Show
        Sergey Syreskin added a comment - There are no predefined graphs for memory usage in OS templates.
        Hide
        Eugene Varnavsky added a comment -

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

        Show
        Eugene Varnavsky added a comment - I made a template for APC Network Management Card 2. How can I submit it?
        Hide
        richlv added a comment -

        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

        Show
        richlv added a comment - 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
        Hide
        Sergey Syreskin added a comment - - edited

        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.

        Show
        Sergey Syreskin added a comment - - edited 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.
        Hide
        richlv added a comment -

        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

        Show
        richlv added a comment - 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
        Hide
        Sergey Syreskin added a comment -

        Oh, stupid me!

        Show
        Sergey Syreskin added a comment - Oh, stupid me!
        Hide
        richlv added a comment -

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

        Show
        richlv added a comment - i guess we can close this one, other problems should go in new issues
        Hide
        Paul D. Walker added a comment - - edited

        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

        Show
        Paul D. Walker added a comment - - edited 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
        Show
        richlv added a comment - zabbix manual lists one method : https://www.zabbix.com/documentation/2.2/manual/config/items/perfcounters#numeric_representation

          People

          • Assignee:
            Unassigned
            Reporter:
            Eugene Varnavsky
          • Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: