Ad Widget

Collapse

Create charts with API data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gAmdG
    Junior Member
    • May 2021
    • 1

    #1

    Create charts with API data

    Hello,

    I would like to know, if some people have already made graphs with the API data. I can get all the values of the network consumption, with the timestamp.
    So I have a JSON with the data, but I can't find a way to create images that are simple.

    I found several libraries in PHP like pChart, or JPGraph, but the charts don't look like bandwidth charts.

    I've been thinking about getting the charts created by Zabbix with CURL, but I put "internal" information in the descriptions.

    I only take inbound and outbound traffic with the API. I have the data in JSON, and now I'm looking to put that into a graph that looks like what RRDTool does.

    I haven't found a solution with the API to request a graph and choose with an API request what data I want and what description.

    I thought of putting Grafana, and extracting the graphs from Grafana, but it's a lot of tool to just have a graph.

    Some people have already managed in Perl, Python or PHP to make graphs for network consumption that look a bit like what we found with MRTG & RRDTool ?

    Thank you for your help, I have been testing solutions for 2 weeks without success. I feel like I'm missing out on something easy.

    Best Regards,
    Nathan
Working...