Changeset 8472 in genesis


Ignore:
Timestamp:
Sep 19, 2010, 10:44:02 AM (14 years ago)
Author:
rick
Message:

Made more clear where nagios do come from and enable external referral by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nodes/nodemap.html

    r8471 r8472  
    237237             content = "<h4>" + feature.attributes.name + "</h4>" +  "<br />" + "<em>Link information: " + feature.attributes.description + "</em>";
    238238           } else {
     239             var nagiosRoot = 'http://sunfire.wirelessleiden.nl/nagios';
    239240             var nodeName = feature.attributes.name.split(' ')[1];
    240              log(nodeName);
    241              content = "<iframe frameborder='0' height='300px' width='700px' src='http://sunny.wleiden.net/nagios/cgi-bin/status.cgi?host=" + nodeName + "&servicestatustypes=28&hoststatustypes=15&noheader=true'></iframe><br />" + "<em>Locatie: " + feature.attributes.description + "</em>";
     241             var nagiosUrl = nagiosRoot + "/cgi-bin/status.cgi?host=" + nodeName + "&servicestatustypes=28&hoststatustypes=15&noheader=true";
     242
     243             content = "Status provided by <a href='" + nagiosRoot +
     244                           "/'>Nagios monitoring system</a><br />" +
     245                           "<iframe frameborder='0' height='300px' width='700px'" +
     246                             "src='" + nagiosUrl + "'></iframe>" +
     247                           "<br />" +
     248                           "<em>Locatie: " + feature.attributes.description + "</em>";
    242249           }
    243250        }
Note: See TracChangeset for help on using the changeset viewer.