/etc/xymon/web/event_form is in xymon 4.3.25-1.
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 111 112 113 114 115 116 | <CENTER>
<FORM METHOD="GET" ACTION="&SCRIPT_NAME">
<TABLE BORDER=0 SUMMARY="Eventlog time period">
<TR>
<TD><TABLE BORDER=0>
<TR>
<TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Starting </B></FONT></TD>
<TD><INPUT TYPE=TEXT NAME="MAXTIME" SIZE=40></TD>
<TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B> minutes ago </B>( Default 1440 )</FONT></TD>
</TR>
<TR>
<TD COLSPAN=3 ALIGN=CENTER><FONT FACE="Arial, Helvetica" COLOR="silver"><B> - OR - </B></FONT></TD>
</TR>
<TR>
<TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>From: </B></FONT></TD>
<TD><INPUT TYPE=TEXT NAME="FROMTIME" SIZE=40 ID="starttime"></TD>
<TD><FONT FACE="Arial, Helvetica" COLOR="silver">(ccyy/mm/dd@hh:mm:ss)</FONT></TD>
</TR>
<TR>
<TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>To: </B></FONT></TD>
<TD><INPUT TYPE=TEXT NAME="TOTIME" SIZE=40 ID="endtime"></TD>
<TD><FONT FACE="Arial, Helvetica" COLOR="silver">(ccyy/mm/dd@hh:mm:ss)</FONT></TD>
</TR>
</TABLE></TD>
</TR>
<TR><TD>
<button onclick="document.getElementById('starttime').value='&EVENTLASTYEARBEGIN'; document.getElementById('endtime').value='&EVENTCURRYEARBEGIN'; return false">Last year</button>
<button onclick="document.getElementById('starttime').value='&EVENTLASTMONTHBEGIN'; document.getElementById('endtime').value='&EVENTCURRMONTHBEGIN'; return false">Last month</button>
<button onclick="document.getElementById('starttime').value='&EVENTLASTWEEKBEGIN'; document.getElementById('endtime').value='&EVENTCURRWEEKBEGIN'; return false">Last week</button>
<button onclick="document.getElementById('starttime').value='&EVENTCURRYEARBEGIN'; document.getElementById('endtime').value=''; return false">This year</button>
<button onclick="document.getElementById('starttime').value='&EVENTCURRMONTHBEGIN'; document.getElementById('endtime').value=''; return false">This month</button>
<button onclick="document.getElementById('starttime').value='&EVENTCURRWEEKBEGIN'; document.getElementById('endtime').value=''; return false">This week</button>
<button onclick="document.getElementById('starttime').value='&EVENTYESTERDAY'; document.getElementById('endtime').value='&EVENTTODAY'; return false">Yesterday</button>
<button onclick="document.getElementById('starttime').value='&EVENTTODAY'; document.getElementById('endtime').value='&EVENTNOW'; return false">Today</button>
</TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER=0 SUMMARY="Eventlog criteria">
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Max # of events</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="MAXCOUNT" SIZE=40 VALUE=100></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( Default 100 )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Hosts to match</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="HOSTMATCH" SIZE=40></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: ^host.*$ )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Hosts to skip</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="EXHOSTMATCH" SIZE=40></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: ^host.*$ )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Pages to match</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="PAGEMATCH" ID="PAGEMATCH" SIZE=40></TD>
<td ALIGN=LEFT>
<select name="PATHLIST" ID="PATHLIST" onChange="document.getElementById('PAGEMATCH').value=document.getElementById('PATHLIST').value; return false">
&PAGEPATH_DROPDOWN
</select>
</td>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Pages to skip</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="EXPAGEMATCH" SIZE=40></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: ^webservers/.*$ )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Tests to match</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="TESTMATCH" SIZE=40></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: cpu|vmstat )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Tests to skip</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="EXTESTMATCH" SIZE=40></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: cpu|vmstat )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Colors to match</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=TEXT NAME="COLORMATCH" SIZE=40></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: red|green )</FONT></TD>
</TR>
<TR>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Ignore dialup hosts</B></FONT></TD>
<TD WIDTH=10> </TD>
<TD ALIGN=LEFT><INPUT TYPE=CHECKBOX NAME="NODIALUPS"></TD>
<TD ALIGN=LEFT><FONT FACE="Arial, Helvetica" COLOR="silver"> </FONT></TD>
</TR>
<TR>
<TD COLSPAN=3 ALIGN=CENTER>
<BR><BR>
<INPUT TYPE="SUBMIT" NAME="Send" VALUE="View log" ALT="View log">
</TD>
</TR>
</TABLE>
</FORM>
</CENTER>
|