What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Is there a way to display a prtg graph by executing a Windows command from another program?

Votes:

0

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

call graphs prtg

Created on Oct 20, 2016 3:50:38 PM



3 Replies

Votes:

0

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...

Created on Oct 21, 2016 7:32:20 AM by  Stephan Linke [Paessler Support]



Votes:

0

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

Created on Oct 25, 2016 11:49:08 PM



Votes:

0

Hi Andrew,

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

Created on Oct 26, 2016 7:06:19 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.