Ad Widget

Collapse

Graph often-changing item names / combine multiple items per series in graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vps-eric
    Junior Member
    • Jun 2020
    • 4

    #1

    Graph often-changing item names / combine multiple items per series in graph

    I have some key-value pairs that I'd like to track and graph, where the key frequently changes (I could have up to thousands tracked over time, but I only wish to graph the top four by value). For example, assume I'm hosting a website and I have a list of identifiers (IP addresses) and hit counts, like so:
    Identifier Hits
    54.25.69.10 4785
    88.47.47.254 3400
    88.46.12.123 1876
    88.47.51.4 1423
    In this example, at the time shown, my top users are shown in the table above. The graph I'd like to see would be similar to the following:

    Click image for larger version

Name:	image.png
Views:	195
Size:	39.9 KB
ID:	463196

    But the next day my top clients may be totally different, as my hit count per user is calculated from the previous 30 minutes (for example). Thus if I use normal discovery with a UserParameter, I could have thousands of discrete items for this one server as the top users change. I could have a UserParameter script output the hit counts and graph them, but the item's label wouldn't identify the client, so I'd have the hit counts graphed and have no idea which user is actually shown.

    What are my options? Thank you.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    You want "Top hosts" widget to be able to draw graphs..
    But I have no idea, how to achieve that... Submit a ZBXNEXT ? https://support.zabbix.com/projects/ZBXNEXT/issues

    Comment

    Working...