Ad Widget

Collapse

[PATCH] SNMP "count"/"sum" operations, regexp matching and better index caching

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hostcc
    Junior Member
    • Apr 2011
    • 4

    #1

    [PATCH] SNMP "count"/"sum" operations, regexp matching and better index caching

    The patch adds the following features for SNMP monitoring:
    - "count" operation, which counts SNMP indexes with corresponding value
    - "sum" operation, which calculates the sum of SNMP values by SNMP indexes with corresponding value
    - textual representation of SNMP value is used when comparing, existing Zabbix versions work well only on string values. Thus, SNMP index being integer or quoted string will be matched correctly
    - regex matching is used for comparing SNMP index values in all modes: "index", "count", "sum"
    - internal caching infrstructure (hashset) is used to store SNMP indexes, which improves effectiveness and reuses existing code. Efficiency is achieved by sharing the SNMP index cache between SNMP poller processes. Moreover, different cache entries are stored for different hosts, improving the caching effectiveness further. To control the size of the cache additional configuration option was introduced, 'SNMPCacheSize'

    Details along with patches themselves and use cases could be found under ZBXNEXT-760.
    You could vote for the request if you find the features useful/worth to be integrated.

    ---
    Ilia Sotnikov
    Last edited by hostcc; 21-04-2011, 11:52.
Working...