Ad Widget

Collapse

How to dynamically turn on/off item from e.g. legend

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • darko11z
    Junior Member
    • Jun 2022
    • 23

    #1

    How to dynamically turn on/off item from e.g. legend

    In Zabbix 7.0 now I have the following Graph widget for CPU usage:
    Click image for larger version  Name:	image.png Views:	0 Size:	50.9 KB ID:	511933

    Red is for current data.
    Blue background is the same metric, defined in separate data set with Timeshift=-1d.
    This allows me to quickly compare what is CPU usage today (red) vs. CPU usage yesterday at the same time.

    At the right-side of the graph we see huge spike of red color (current data), but blue background of yesterday data quickly shows today is something extraordinary comparing to yesterday.

    But... now I would like to quickly see CPU usage not for yesterday (in blue background) but one week ago.

    Currently I have a separate graph of Timeshift=-7d to see CPU usage data as were a week ago.

    Is there some option like adding additional data set (to have tree data sets on the same graph: current data, yesterday data, a week old data) and then quickly turn on or turn off the item like clicking on item on legend to show/hide the item?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4874

    #2
    Unfotunately there is no such option in graph widget.. But you can always submit a feature request.. To make it work like timeseries widget in Grafana.. with clickable legend to select specific items..:P

    Comment

    Working...