/etc/xymon/web/info_header is in xymon 4.3.28-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="&HTMLCONTENTTYPE">
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/">
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=&XYMWEBHIKEY; path=/">
<TITLE>Xymon - &XYMWEBHOST Host Information</TITLE>
<!-- Styles for the Xymon body -->
<link rel="stylesheet" type="text/css" href="&XYMONBODYCSS">
<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="&XYMONBODYMENUCSS">
<!-- The favicon image -->
<link rel="shortcut icon" href="&XYMONSKIN/favicon-&XYMWEBBACKGROUND.ico">
<script language="JavaScript" type="text/javascript">
function setcheck(field,val) {
var length = eval(field.length);
if (length)
for (i = 0; i < length; i++)
field[i].checked = val;
else
field.checked = val;
}
function mark4Disable(services) {
for(i=0; i<document.disableform.disabletest.length; i++) {
if (services.indexOf(',' + document.disableform.disabletest.options[i].value + ',') > -1) {
document.disableform.disabletest.options[i].selected = !document.disableform.disabletest.options[i].selected;
}
}
}
</script>
<script language="JavaScript1.2" type="text/javascript">
function validateDisable(theform) {
if (theform.disabletest.value == null || theform.disabletest.value == "") {
alert("You must select the Test(s) to disable!");
theform.disabletest.focus();
return false;
}
if (theform.cause.value == null || theform.cause.value == "") {
alert("You must fill in the Cause field!");
theform.cause.focus();
return false;
}
if (!(ispositive(theform.duration.value))) {
alert("Duration must be a positive integer.");
return false;
}
// fall through...
disableButtons(theform,true);
theform.submit();
}
function disableButtons(theform,action) {
if (document.all || document.getElementById) {
for (i = 0; i < theform.length; i++) {
var tempobj = theform.elements[i];
if (tempobj.type.toLowerCase() == "button")
tempobj.disabled = action;
}
}
}
function ispositive(inputVal) {
inputStr = inputVal.toString();
for (var i = 0; i < inputStr.length; i++) {
var oneChar = inputStr.charAt(i)
if (oneChar < "0" || oneChar > "9")
return false;
}
if (inputVal < 1)
return false;
return true;
}
</script>
</HEAD>
<BODY class="&XYMWEBBACKGROUND">
&XYMONBODYHEADER
<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar -->
<TR>
<TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
<FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>&XYMONLOGO</B></FONT>
</TD>
<TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
<CENTER><FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>&XYMWEBHOST - Information</B></FONT></CENTER>
</TD>
<TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
<FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>&XYMWEBDATE</B></FONT>
</TD>
</TR>
<TR>
<TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>
|