0 Replies Latest reply on Aug 3, 2012 9:42 AM by jalge2

    HTML stopping after a few hours....

    jalge2

      Hey all.  I'm new to the Thwack community, and to my company, and generally to SolarWinds.  I've been put on the task of upgrading our SolarWinds and becoming the SolarWinds guy.  I got SolarWinds upgraded to the most current revisions and everything was running fine.  That is, until I realized that our Customer Service Desk had a monitor that used some SolarWinds maps and it hangs after a few hours. Basically the maps no longer display. Instead I get red X's.  One thing I'm not is a programmer, so I'm copy and pasting the html code here to see if anyone can dissect it and see if there is anything that stands out and maybe gives an indication why it keeps failing after a few hours.

       

      I greatly appreciate any help.

       

      <html>

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

      <head>

      <script type="text/javascript" src="jquery-1.3.2.min.js"></script>

      <script type="text/javascript">

      var iframeSrc = new Array;

      //iframeSrc[0] = "http://netmon:8080/NetPerfMon/MapView.asp?Map=M:NorthAmerica_Full";

      //iframeSrc[1] = "http://netmon:8080/NetPerfMon/MapView.asp?Map=M:Findlay";

      //iframeSrc[2] = "http://netmon:8080/NetPerfMon/MapView.asp?Map=M:Overall_Map2";

      //iframeSrc[3] = "http://netmon:8080/NetPerfMon/MapView.asp?Map=M:Europe";

      iframeSrc[0] = "http://netmon:8080/Orion/NetPerfMon/MapView.aspx?Map=NorthAmerica_Full&Printable=TRUE"

      iframeSrc[1] = "http://netmon:8080/Orion/NetPerfMon/MapView.aspx?Map=Findlay&Printable=TRUE"

      iframeSrc[2] = "http://netmon:8080/Orion/NetPerfMon/MapView.aspx?Map=Overall_Map2&Printable=TRUE"

      iframeSrc[3] = "http://netmon:8080/Orion/NetPerfMon/MapView.aspx?Map=Europe&Printable=TRUE"

      //Look into using NetworkMap.aspx instead of MapView.aspx...

      var intervalVar;

      var interval = 30; // seconds between iframe switching

      var currentSrc = 0;

      var lastPage = iframeSrc.length - 1;

      var playing = false;

       

       

       

       

      function switchPage() {

            var randomnumber=Math.floor(Math.random()*100000);

            $('#myIframe').fadeTo(1000,0,function() {

        currentSrc++;

             if (currentSrc > lastPage) currentSrc = 0;

             document.getElementById("myIframe").src = iframeSrc[currentSrc] + "&amp;random=" + randomnumber;

            }).fadeTo(1000,1);

      }

       

       

       

       

      function slideshow() {

            if (playing) {

                  playing = false;

                  clearInterval(intervalVar);

            }

             else {

                playing = true;

                intervalVar = setInterval(switchPage, interval * 1000);

       

       

            }

      }

      function loadpage() {

        document.getElementById("myIframe").src = iframeSrc[0];

        slideshow();

      }

      </script>

      <title>Support Page Viewer</title>

      </head>

      <body leftmargin="0" topmargin="0" onload="loadpage()">

       

      <iframe id="myIframe" src="" width="75%" scrolling="NO" frameborder="0" height="75%" ></iframe>

      <iframe id="callsframe" src="http://<servername>/wallboard/servicedesk.asp?sendmailenabled=true" width="25%" scrolling="NO" height="75%"></iframe>

      <iframe id="agentsframe" src="http://<servername>/wallboard/sd-agent.asp" width="100%" height="25%" scrolling="no" marginheigh="0" marginwidth="0"></iframe>

       

       

      </body>

      </html>