Note: To work with the following instructions you must use PRTG Network Monitor 7.0.5 or later!
If you want to include live graphs that always show live traffic pattern (or other measured values) from PRTG in your own webpages (e.g. Intranet), you have three options that use different authentication methods:
The quickest solution is to create a map using the desired pixel size. This map will be included in your webpage with an IFRAME:
The HTML code will look similar to this:
<iframe width=250 height=400 frameborder="1"
src="http://YOUR_PRTG_SERVER_IP/public/mapshow.htm?id=2017&mapid=775A930E-6A91-4CFD-BC31-19AB6B68331C">
</iframe>
The URL for a chart looks like this:
http://your_prtg_server_ip/chart.png?type=graph&width=300&height=160&username=prtgadmin&password=prtgadmin&graphid=2&id=0
The parameters are:
You can find the id of an object by navigating to the object in the web interface and looking at the id= parameter of the URL.
You may have noticed that the URL above contains a username and a password which can imply security concerns. Please set up a dedicated user account that only has e.g. "read" priviledges for the root group and all underlying entries. Or choose one of the other options.
Another option is to use graph PNG files from public maps. These PNG files can be accessed without a username/password combination by adding the MapID to the image URL. Using this option you do not need to supply a username/password. The parameters are the same as above.
Now use the following URL for your charts:
http://pop:8081/public/chart.png?type=graph&id=2003&graphid=0&width=200&height=100&mapid=775A930E-6A91-4CFD-BC31-19AB6B68331C
Note that authentication is now performed using the mapid parameter instead of username/password.