I would like to call PRTG to display a graph from another software system. This system can execute a Windows command with parameters.


Article Comments

Hm, does the application simply show the graph? Or does it save the graph as an image somewhere? Only in the latter case, you could use it in a PRTG map...


Oct, 2016 - Permalink

Just use a public map and make the map the same size as the graph.

Else look at how the API authenticates, (with a username=xxx&passcode=yyy on the end of a URL) and apply this to the URL of the image you want to display. I just test this and it works fine.

http://PRTGSERVER:8080/chart.png?type=graph&graphid=0&graphtitle=%40%40notitle%40%40&width=925&height=300&bgcolor=%23f3f2f2&graphstylefile=graphstyling.htm&animationandinteraction=1&datastylefile=graphdatastyling.htm&animationstylefile=graphanimationstyling.htm&graphstyling=baseFontSize%3D%2710%27%20showLegend%3D%270%27&tooltexts=1&datastyling=drawAnchors%3D%271%27%20anchorRadius%3D%271%27%20lineThickness%3D%272%27&refreshable=true&columns=datetime%2Cvalue_%2Ccoverage&_=1477437157911&id=4692&myid=14774391845032784182&hide=&username=api_access&passhash=4235608312


Oct, 2016 - Permalink

Hi Andrew,

I think he want's it the other way around - displaying a graph from another software system within PRTG :)


Oct, 2016 - Permalink