If the custom reports feature is activated, custom reports can be created for users to browse.
Create the directory “Custom” in the C:\Program Files(86x)\PathSolutions\TotalView directory.
Two registry entries must be created:
HKLM\Software\NetLatency\SwitchMonitor\DestWebCustomDir
(string)
C:\Program Files(86x)\PathSolutions\TotalView\Custom
HKLM\Software\NetLatency\SwitchMonitor\DestWebCustomFlag
(DWORD)
1
Create the custom web pages in this directory. These pages must have the extension “.html” in order to be accessed.
Sample:
<HTML>
<HEAD>
<TITLE>Sample page</TITLE>
</HEAD>
<BODY>
Int #1 utilization on 10.100.36.12
%INTDETAILS-D:10.100.36.12,1%
</BODY>
</HTML>
Save this file as “Test.html” in the “Custom” directory. Then point your browser to: http://servername:8084/Test.html (Replace the servername with the name of your TotalView server).
Variables
All variables must be enclosed by a percentage sign “%”. The following variables can be displayed on a custom report web page:
- %% Prints the percent sign’%’
- %DATE% Prints the current date
- %TIME% Prints the current time
- %INTERFACES% Prints the total number of monitored interfaces
- %VERSION% Prints the program version
- %REVISION% Prints the program revision number
- %PRODNUMBER% Licensed product number
- %COMPANYNAME% PathSolutions company name
- %LICENSEDAYSLEFT% Number of days left until the license expires
- %URL-HOME% URL to the default page of the product
- %URL-HEALTH% URL to the Health tab
- %URL-GRAPHICS% URL pointer to the graphics directory
- %ISSUES#% Number of current issues
- %URL-ISSUES% URL to the Issues tab
- %STATUS-PERCENT% Current health ratio
- %STATUS-ERR% Error threshold level
- %STATUS-UTIL% Utilization threshold level
- %STATUS-RESULT% “GOOD” or “DEGRADED” depending on health
- %STATUS-COLOR% “#008000” if good, or “#FF0000” if degraded
- %IFSTATUS-GOOD% Outputs if the status is good, up to %ENDIF%
- %IFSTATUS-DEGRADED% Outputs if the status is degraded, up to %ENDIF%
- %TOPCOUNT% Number of items displayed in the Top 10 list (10 by default)
- %URL-TOPERRORS% URL for Top10 Errors
- %URL-TOPTALKERS% URL for Top10 Talkers
- %URL-TOPLISTENERS% URL for Top10 Listeners
- %ADMINDOWN#% Number of admin down interfaces
- %URL-ADMINDOWN% URL for admin down interfaces
- %OPERDOWN#% Number of oper down interfaces
- %URL-OPERDOWN% URL for oper down interfaces
-
%POLLDELAY% Current poll frequency (in milliseconds)
- %SAVESTATSTICKCOUNT% Number of ticks used to save statistics during last poll
- %SAVESTATSTICKCOUNTAVG% Average number of ticks required to save statistics
- %POLLTICKCOUNT% Number of ticks used to poll devices during last poll
- %POLLTICKCOUNTAVG% Average number of ticks required to poll devices
- %ANALYZETICKCOUNT% Number of ticks used to analyze statistics during last poll
- %ANALYZETICKCOUNTAVG% Average number of ticks required to analyze statistics
- %OUTPUTTICKCOUNT% Number of ticks used to write output web pages during last poll
- %OUTPUTTICKCOUNTAVG% Average number of ticks required to write output web pages
- %POLLHOURS% Number of hours between polls
- %POLLMINUTES% Number of minutes between polls
- %POLLSECONDS% Number of seconds between polls
- %POLLFAILSECONDS% Number of additional seconds that are required to complete a poll
- %INTGRAPH-D-I:192.168.1.12,8% Generate a Daily Bits Per Second graph for 192.168.1.12, interface 8
- %INTGRAPH-W-U:192.168.1.12,8% Generate a Weekly Percent graph for 192.168.1.12, interface 8
- %INTGRAPH-W-T:192.168.1.12,8% Generate a Weekly Peak Percent graph for 192.168.1.12, interface 8
- %INTGRAPH-M-P:192.168.1.12,8% Generate a Monthly Packets Per Second graph for 192.168.1.12, interface 8
- %INTGRAPH-Y-B:192.168.1.12,8% Generate a Yearly Broadcasts Per Second graph for 192.168.1.12, interface 8
- %INTGRAPH-Y-E:192.168.1.12,8% Generate a Yearly packet Loss graph for 192.168.1.12, interface 8
- %COMBGRAPH-D:192.168.1.12,8+10.100.36.12,2% Generate a Daily Bits Per Second graph for 192.168.1.12, interface 8 and 10.100.36.12,interface 2
- %INTDETAILS-S:192.168.1.12,8% Print the interface speed for 192.168.1.12, interface 8
- %INTDETAILS-D:192.168.1.12,8% Print the interface description for 192.168.1.12,interface 8
- %INTDETAILS-M:192.168.1.12,8% Print the MAC address for this interface
- %INTDETAILS-U:192.168.1.12,8% Print the MTU for this interface
- %INTDETAILS-T:192.168.1.12,8% Print the ifType for this interface
- %INTDETAILS-C:192.168.1.12,8% Print the ifLastChanged status for this interface