Ad Widget

Collapse

How to have a static bar graph of the latest data on a dashboard?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • surfrock66
    Member
    • Jul 2018
    • 30

    #1

    How to have a static bar graph of the latest data on a dashboard?

    I have a small zabbix instance monitoring about 10 servers. I would like an item on a dashboard that looks like a row of bar graphs showing storage space on all of them, pulling from the latest data. This is just "Space Utilization" on storage in the normal Linux agent template. I am able to get an approximation of this by doing a bar graph, but the X axis is time, meaning the little bar graph travels to the left as the hours go by. Is there a way to recreate a graph like this, but remove the x axis? The old classic pie chart is just too big for what I want. See the attached screenshot for an example of what I want, but with thicker bars and no need to keep an X axis:
    Click image for larger version

Name:	image.png
Views:	1060
Size:	26.0 KB
ID:	463205
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Can't you get the look you want with the Top hosts widget?

    Comment

    • surfrock66
      Member
      • Jul 2018
      • 30

      #3
      Interesting idea, but I can't seem to make it work. The problem with storage is different storage shows up as different things on different hosts, and it seems it is making strange multiple x and y values. For example, all servers have "/ Space Utilization" but my minecraft servers have "/mnt/Backups Space Utilization" and "mnt/MCData Space Utilization" which adds 2 more columns that only populate for that host. Even if I created a custom item, on systems with multiple storages, that's gonna be multiple columns. It gets more complicated for the datasets on my TrueNAS box. I don't see how to make it work in 1 widget.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Set the Time period in graph config to barely more than you check intervals are... like "now-2m" until "now".... then it moves very little from right to left...

        Comment

        Working...