Ad Widget

Collapse

How can I get URL of latest data graph?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rudlafik
    Senior Member
    • Nov 2018
    • 144

    #1

    How can I get URL of latest data graph?

    Hi,

    I need automatization search URL address of latest data graph for any item. Use API or SQL query? (I dont look for any solution)

    Thanks
  • roy_li
    Junior Member
    • Nov 2022
    • 10

    #2
    You can construct graphic links in this format.
    {your_zabbix_server_url}/chart.php?from={begin_time}&to={end_time}&itemids[0]={item_id}&width=1600&height=200

    For example
    https://127.0.0.1/zabbix/chart.php?f...to=now&itemids[0]=10000&width=1600&height=200
    https://127.0.0.1/zabbix/chart.php?from=2023-05-19 09:00:00&to=2023-05-19 10:00:00&itemids[0]=10000&width=800&height=400

    You can open any latest data graph, right click on the image and select the new link to open the image and observe its url structure.

    Comment

    • Rudlafik
      Senior Member
      • Nov 2018
      • 144

      #3
      Luxus! :-D THX! Its resolve my problem egant.

      Comment

      Working...