Custom XML Reports

Introduction

Many of the Network Monitor products available today include pre-formatted, standard reports, and custom reports can be desinged on demand.

ActiveXperts has a different approach by providing XML/XSL based reports. XML files are used for describing the report data, while XSL Stylesheets are used for formatting the report. If you are used to HTML, formatting a report through XSL will be pretty easy.

The 'Availability Reports' and 'Detail Report' can be customized only when using the XML-based Report format, with an XSL Stylesheet linked to it.

All customizations are made by modifying the XSL Stylesheets, like:

By default, two XSL Report Stylesheets are delivered with the product:

Use a normal Text editor to make changes to the XSL Stylesheets. The default AvailabilityDetails.xsl and AvailabilitySummary.xsl stylesheets can be found in the \Server\XmlReports directory.

For those who are new to XML and XSL, it's recommended to visit the W3Schools Online Web Tutorials site and read the XML and XSL chapters.

Tags in the 'Availability' Report

The following tags are defined in the 'Availability Report' XML report and can be used in the related XSL Stylesheet file:

Tag Description
<from-secs> Begin time of report, in seconds after 01/01/1970
<from-date> Begin time of report, in date format (i.e. mm/dd/yyyy)
<to-secs> End time of report, in seconds after 01/01/1970
<to-date> End time of report, in date format (i.e. mm/dd/yyyy)
<description> Description of the Report
<check/id> ID of the check, as it is used throughout the whole program
<check/displayname> DisplayName of the check, as it is used throughout the whole program
<check/check> Check Type. See below for all possible values
<check/folder> Folder where the check is located
<check/uncertain-secs> Total amount of time (in seconds) that check had status: Uncertain
<check/uncertain-hrsmin> Total amount of time (in hh:mm format) that check had status: Uncertain
<check/uncertain-pct> Total amount of time (in percentage of total Report time) that check had status: Uncertain
<check/success-secs> Total amount of time (in seconds) that check had status: Success
<check/success-hrsmin> Total amount of time (in hh:mm format) that check had status: Success
<check/success-pct> Total amount of time (in percentage of total Report time) that check had status: Success
<check/failure-secs> Total amount of time (in seconds) that check had status: Failure
<check/failure-hrsmin> Total amount of time (in hh:mm format) that check had status: Failure
<check/failure-pct> Total amount of time (in percentage of total Report time) that check had status: Failure
<check/maintenance-secs> Total amount of time (in seconds) that check had status: Maintenance
<check/maintenance-hrsmin> Total amount of time (in hh:mm format) that check had status: Maintenance
<check/maintenance-pct> Total amount of time (in percentage of total Report time) that check had status: Maintenance
<check/onhold-secs> Total amount of time (in seconds) that check had status: On Hold
<check/onhold-hrsmin> Total amount of time (in hh:mm format) that check had status: On Hold
<check/onhold-pct> Total amount of time (in percentage of total Report time) that check had status: On Hold
<check/depfailure-secs> Total amount of time (in seconds) that check had status: Dependee Failure
<check/depfailure-hrsmin> Total amount of time (in hh:mm format) that check had status: Dependee Failure
<check/depfailure-pct> Total amount of time (in percentage of total Report time) that check had status: Dependee Failure
<check/notprocessed-secs> Total amount of time (in seconds) that check had status: Not Processed
<check/notprocessed-hrsmin> Total amount of time (in hh:mm format) that check had status: Not Processed
<check/notprocessed-pct> Total amount of time (in percentage of total Report time) that check had status: Not Processed

Tags in the 'Detail' Report

The following tags are defined in the 'Detail Report' XML report and can be used in the related XSL Stylesheet file:

Tag Description
<from-secs> Begin time of report, in seconds after 01/01/1970
<to-secs> End time of report, in seconds after 01/01/1970
<from-date> Begin time of report, in date format (i.e. mm/dd/yyyy)
<to-date> End time of report, in date format (i.e. mm/dd/yyyy)
<description> Description for this report
<check/id> ID of the check, as it is used throughout the whole program
<check/displayname> DisplayName of the check, as it is used throughout the whole program
<check/checktype> Type of check (friendly string). For possible values, see below
<check/checktype-id> Type of check (number). For possible values, see below
<check/folder> Name of the folder where the check is located
<check/event/from-secs> Begin time of the event, in seconds after 01/01/1970
<check/event/from-date> Begin time of the event, in date format (i.e. mm/dd/yyyy)
<check/event/from-time> Begin time of the event, in time format (i.e. hh:mm:ss)
<check/event/to-secs> End time of the event, in seconds after 01/01/1970
<check/event/to-date> End time of the event, in date format (i.e. mm/dd/yyyy)
<check/event/to-time> End time of the event, in time format (i.e. hh:mm:ss)
<check/event/result> The last result of the check (friendly string). For possible values, see below
<check/event/result-id> The last result of the check (number). For possible values, see below
<check/event/duration-secs> Duration of the event, in seconds
<check/event/duration> Duration of the event, formatted as: 'xx hrs yy min'
<check/event/duration-pct> Duration of the event (percent)
<check/event/reason> Reason for the result of this check

Network Monitor Check Types

ActiveXperts Network Monitor defines the following Check Types:

Type ID Description
0<UNDEFINED TYPE>
1<FOLDER>
10Icmp
11TraceRoute
20Disk Space
30Tcp/Ip
31Pop3
32Smtp
33Http(s)
34Ftp
35Rsh
36Dns
37Snmp Get
38Nntp
39IMAP
40Ntp
41Temperature
42Snmp Trap Receive
43Ssh
44Citrix ICA
45DHCP
50Service
60File
61Registry
70Anti-Virus/Anti-Spam
71MS Active Directory
72MS Hyper-V Server
73MS Exchange Server
74MS IIS Server
75MS ISA Server
76MS SharePoint Server
77MS SQL Server
78Windows Defender
79MS BizTalk
80MS Index Server
81Citrix XenApp
82MS Forefront TMG
83MS Dynamics
90Event Log (Classic)
100VBScript
110ODBC
111ADO/SQL
112Oracle
120MS Terminal Server
130Cpu
140Directory
150Disk
160Floppy
170Memory
180Printer
190Process
200Humidity
201Power
202Light
203Motion
204Smoke
205Door
206Resistance
207SwitchNC
208SwitchNO
210Wetness
220Scheduled Task (NT)
221Scheduled Task
230WinLogon
240SMTP to POP3
250MSMQ
270TFTP
280Remote Command
290PowerShell
300Radius
310Sftp
320WMI Counters
321Performance Counters
330Removable Drives
340Smpp
350Vmware
360XenServer

Network Monitor Result Types

ActiveXperts Network Monitor defines the following Results:

Result ID Description
0Uncertain
1Success
2Error
3Failure
4Maintenance
5On Hold
6Dependee Error
7Dependee Failure
99Not Processed