media="all">
"; for ($i = 0; $i < count($nav); $i++){ if ($dirMax >= $pthSize){ if(($nav[$i][2] != 1) && (getfilepath($nav[$i][1]) == $parsedpath)) echo "Help : ".$nav[$i][0]; if (parsefilepath($nav[$i][1]) == $dirs[$pthSize]){ if ((getfilepath($nav[$i][1]) != $pth) || getfilepath($nav[$i][1]) != $pth."index.php") echo "Help : "; if (getfilepath($nav[$i][1]) == $parsedpath) echo $nav[$i][0]; else { echo "".$nav[$i][0]." : "; for ($j = 0; $j < count($nav[$i][3]); $j++){ if(getfilepath($nav[$i][3][$j][1]) == $parsedpath) echo $nav[$i][3][$j][0]; if(parsefilepath($nav[$i][3][$j][1]) == $dirs[$pthSize + 1]) { if ((getfilepath($nav[$i][3][$j][1]) == $parsedpath));// echo $nav[$i][3][$j][0]; else { echo "".$nav[$i][3][$j][0]." : "; for($k = 0; $k < count($nav[$i][3][$j][3]); $k++) { if(getfilepath($nav[$i][3][$j][3][$k][1]) == $parsedpath) echo $nav[$i][3][$j][3][$k][0]; if (parsefilepath($nav[$i][3][$j][3][$k][1]) == $dirs[$pthSize+2] && getfilebase($nav[$i][3][$j][3][$k][1]) == $path_parts["basename"]) { if (getfilepath($nav[$i][3][$j][3][$k][1]) == $parsedpath) ; //echo $nav[$i][3][$j][3][$k][0]; else if (parsefilepath($nav[$i][3][$j][3][$k][1]) == $dirs[$pthSize+3] && $nav[$i][3][$j][3][$k][2] == 1) { for ($l = 0; $l < count($nav[$i][3][$j][3][$k][3]); $l++){ if (getfilepath($nav[$i][3][$j][3][$k][3][$l][1]) == $parsedpath) echo "".$nav[$i][3][$j][3][$k][0]." : "; echo $nav[$i][3][$j][3][$k][3][$l][0]; } } } } } } } } } } } echo ""; ?>

The form is accessed from the Query>Other>Events menu. The events query returns the most recent events using the URL /its/query/Events. The following arguments are recognized:

The result is always a table of the form:

<Time> <Server> <Severity> <Type> <Name> <Value> <Address> <Interface> <URL> <Comment>


address

Filter on the address field in an event.


comment

Filter on the comment field in an event.


interface

The interface index (ifIndex) of the interface.


date

Dates and times are specified in the following formats:

yyyymmdd Includes all the hours in the specified date.
yyyymmddhh Includes a specific hour.
today All hours from midnight to current hour.
yesterday All hours yesterday.
thisWeek All hours from Midnight Sunday to current hour.
lastWeek All hours last week.
thisMonth All hours from start of month to current hour.
lastMonth All hours last month.
lastHour Last hour.
last24Hours Last 24 hours.
last7Days Last 7 days to current hour.
last30Days Last 30 days to current hour.

Times and dates are interpreted in conjunction with the selected time zone (see TZ).

Dates can be combined in a list or specified as ranges, for example:

date=19990901,19990905-1999091212

would include all the hours on 1-Sep-1999 and all the hours between midnight 5-Sep-1999 and noon 12-Sep-1999.

If the argument is omitted, then the hours since midnight today will be used.


maxEvents

Maximum number of events to return in an events query.


maxHours

The maximum number of hours in the past to consider when processing the query.


name

Filter on the name field in an event.


resultFormat

The following result formats are recognized:

  • csv Returns a plain text table of results with each field separated by a comma.
  • html Returns a formatted html table of results.
  • debug Returns an html table containing the argument list, as well as a separate result table. Also provides a means of viewing error messages relating to improperly constructed queries.

server

Filter on the server field in an event.


severity

Filter on the severity field in an event.


type

Filter on the type field in an event.


value

Filter on the value field in an event.