Ad Widget

Collapse

PATCH: Graph Features, Sum Items, Not Drawn Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • araw
    Member
    • May 2005
    • 31

    #1

    PATCH: Graph Features, Sum Items, Not Drawn Items

    Hello All

    The following is the URL to a patch which does the following:

    1. Allows you to create elements in a graph which are the sum of all stored values, ie. the total values for period
    2. Allows you to specify a graph element as "Not drawn", ie. it appears in the legend but a line is not drawn

    FILES NO LONGER AVAILABLE SORRY

    There's a few caveats you need to be aware of if using however, due to the way in which Zabbix collects and stores data and the way in which mathematics works (shock! horror!)

    1. Sum'ed values are exactly those stored in the database, so if you want an accurate total of data transfered across a network interface for the period, you cannot use an item with a store value of "Delta (speed per second)", monitored value should be return the incremental change or the store value should be "Delta (simple change)".

    Use of a multiplier may work (ie. sum of (collected value * seconds in period since last check), however I've yet to give it much thought.

    This leads to item 2,

    2. If you want a graph that shows the transfer rates and the total data transfer (or similar concept), as in my example. You need to create two items for the host that monitor the same SNMP or agent value. The store value for one should be "Delta (simple change)" and used for sum'ing of data but not graphing, the other should be "Delta (speed per second)".

    Kind of inefficient but yet to find a better or atleast accurate way of acheiving this.

    Example screenshots for configuration:
    FILES NO LONGER AVAILABLE SORRY
    Last edited by araw; 09-03-2009, 16:05.
  • hiddenman
    Junior Member
    • Dec 2005
    • 18

    #2
    Thanks for the great patch!
    Could you please adapt it to the 1.1.4?

    Comment

    Working...