Ad Widget

Collapse

Zabbix Graphs --> Sum Line?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Cotrone
    Junior Member
    • Feb 2009
    • 21

    #1

    Zabbix Graphs --> Sum Line?

    I saw a hit from Zabbix 1.1 on a patch that allows Zabbix to graph a Sum line for a in/out bps graph. I want to have a sum line that shows the combined input and output bps. Can anyone point me into the right direction please?

    Currently we are on 1.6.6 in production.

    Thank you.
    Mike
  • jhgrc
    Member
    • Jun 2009
    • 52

    #2
    With recent 1.8.1 this is fairly easy.. Unfortunately it does not help on 1.6.x, but perhaps you should consider upgrade?

    Create item with type "Calculated"
    Enter: last("host:key_bps_in") + last("host:key_bps_out")

    However above does not quarantee that both keys are taken at the same exact time. It calculates values from database, and a last value seen for that particular item.

    More info: http://www.zabbix.com/documentation/...lculated_items

    Also you should note that on calculated the key has a bit different syntax requirements than item's key.

    So in item you can use: key = port 1 bps in (with spaces)
    But in last("localhostort 1 bps in") is illegal as spaces are not allowed. I think this has been noted on Z-forum.
    Last edited by jhgrc; 18-02-2010, 07:48.

    Comment

    Working...