Ad Widget

Collapse

Sum Values for Graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Glazzanz
    Junior Member
    • Jan 2011
    • 4

    #1

    Sum Values for Graph

    Hi All

    I have a requirement where I need to create a single graph that shows in the Ingress and Egress values on a service.

    For ports we use a graph with Egress been a 'filled region' with Ingress been a line, and we wish to keep with this approach...

    However for a service, there isnt a total ingress or egress OID avaliable, rather there is two, one been for inprofile (within the provisioned CIR) and one been for out of profile (exceeding CIR).

    For our graphs we would like to graph the total, therefore been inprofileingress+outprofileingress in to a single value... ideally only storing this value as well.

    Can someone please point me in the right direction to do this?

    Cheers
    David
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Have a look at calculated items.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • Glazzanz
      Junior Member
      • Jan 2011
      • 4

      #3
      Originally posted by nelsonab
      Have a look at calculated items.
      THis is an option - I was hoping to get this calculated value saved, without having to store the other two values however...

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        From the manual:
        Resulting data will be stored in Zabbix database as for any other item - this means storing both history and trends values for fast graph generation.
        http://www.zabbix.com/documentation/...lculated_items
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        Working...