Ad Widget

Collapse

Is it possible to create a two axis graph?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aseques
    Member
    • May 2019
    • 40

    #1

    Is it possible to create a two axis graph?

    I am looking to create a two axis graph (an example from internet attached for reference)
    Click image for larger version

Name:	secondary_axis_5.png
Views:	149
Size:	5.8 KB
ID:	494860
    On the left side I would like to add Disc Size and Ocupation, and on the right site the percentage of ocupation, but it doesn't work (even when aligning to the right)
    Click image for larger version

Name:	ksnip_20241125-160132.png
Views:	102
Size:	53.5 KB
ID:	494864
    But it shows like this

    Click image for larger version

Name:	ksnip_20241125-160016.png
Views:	109
Size:	34.3 KB
ID:	494863 I haven't find any mention of this types of graph in the forums, so I don't know if they are supported in zabbix.
    Attached Files
  • Julianna Wilamowska
    Member
    • Oct 2024
    • 34

    #2
    Hi, I was able to do it using dashboards widgets.
    Click image for larger version

Name:	graph.png
Views:	124
Size:	22.4 KB
ID:	494879
    Here is what I put in data set
    Click image for larger version

Name:	Screenshot 2024-11-26 085326.png
Views:	100
Size:	30.7 KB
ID:	494880

    Click image for larger version

Name:	Screenshot 2024-11-26 085552.png
Views:	98
Size:	32.7 KB
ID:	494881

    ​​Hope that helps you.

    Comment

    • Julianna Wilamowska
      Member
      • Oct 2024
      • 34

      #3
      Also possible to create as graph in host
      Click image for larger version

Name:	Screenshot 2024-11-26 092724.png
Views:	114
Size:	36.8 KB
ID:	494884
      Click image for larger version

Name:	Screenshot 2024-11-26 092923.png
Views:	115
Size:	27.3 KB
ID:	494885

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 565

        #4
        It is working but your issue is that you are using a Y-Axis MAX item rather than calculated. This [annoyingly] applies to both Y axes whether you like it or not! Change it to Calculated and it will behave as you expect.

        Comment

        • aseques
          Member
          • May 2019
          • 40

          #5
          Thanks troffasky it was as you said, after having both as calculated the data shows fine. Julianna Wilamowska you already have both set at calculated, that's why you had it ok too.

          Thanks to all , it now shows the proper data
          Click image for larger version

Name:	image.png
Views:	92
Size:	33.9 KB
ID:	495189

          Comment

          • juanmarcos
            Junior Member
            • Feb 2025
            • 4

            #6
            Using "calculated" is not a general solution because graphs would no longer be comparable when shown beside each other, e.g. on a dashboard using "Graph Prototype".
            Unbelievable they allow you to use left and right axis but not set both manually.

            Comment

            Working...