We upgraded to 18.2.40.1683 recently. First PRTG upgrade in about 6 months.

Since the upgrade our PRTG MAPs do not want to display correctly on our wallboards which run a simple HTA html app to load the PRTG MAP's

Sample HTML code below saved as map.hta for a clean look on the wallboard.

When you load the map directly in a browser it works, when you load the map inside the HTA iframe since 18.2 it returns the "console" is undefined, char 9, line 48946.

Does anyone know how to resolve this console is undefined error, I assume this is a PRTG introduced error when running iframes or HTA's?

<!doctype html>
<html lang="en">
<head>
  <title>IT Live - Network Monitors</title>
  <meta name="description" content="Network Monitors">
    <meta http-equiv="x-ua-compatible" content="ie=9">
  <hta:application id="oNetMon" 
    applicationname="Nework-Monitors" 
    border="none"
    caption="no"
    icon="/graphics/creature.ico"
    showintaskbar="yes"
    singleinstance="yes"
    sysmenu="yes"
    windowstate="maximize">
</head>
<body>
<style>
	html { height:100%; width:100%; }
	body { position:absolute; top:0; bottom:0; right:0; left:0; background-color: black;} 
	iframe { height:100%; width:100%; frameborder:1}
</style>
<iframe src="https://prtg.hosted.com/public/mapshow.htm?id=2849&mapid=50B3456A7-AF6C-234E-8A04-A1234565" application="yes">
</iframe>
</body>
</html>

Article Comments

Hi.

I'm afraid that we do not have any guides to convert maps into HTA HTML Apps. Using iFrames is still possible in the latest release, they still work in pure HTML. As you mentioned a "clean look", I'd recommend to create a public map and to run the browser in full screen (F11) to avoid side effects caused by this application.

Best regards, Felix


May, 2018 - Permalink