ONLY USED ON VERSIONS UP TO 0.9 (not including)

The description on this page is only needed if your using TrayMonitor prior to version 0.9 (not including).

Example of property file

Updated 2011-09-29
The app home folder i ${user.home}\${app.home} (${app.home} = .traymonitor) and the name of the property file is "" - but I you compile youself simple change the pom.xml setting. To add your user name to e.g. log files simply use ${}. Below is a working example of a property file.
# Proxy settings

# Menus - defined by "MENU1", "MENU2" ...
MENU1=Server one
MENU2=Server two

# Sub menu - defined by "SUB_MENU1" mapping to MENU1 (name|link|type)
SUB_MENU1_1=Open log file|${user.home}/${app.home}/mylog.log|edit

# Sub menu - defined by "SUB_MENU2" mapping to MENU1 (name|link|type)

# Monitors defined here - MONITOR: url|init delay|delay between requests



Proxy: The proxy settings are defined using PROXY_HOST (for host url) and PROXY_PORT (for port of proxy).

Menus: The menu is defined by MENUx, where x is a number.

Sub menus: The sub menus are defined by SUB_MENUx, where x is a number and maps to a top menu - e.g. SUB_MENU1 maps to MENU1. Sub menus are of the form "name|link|type", where type can be "edit" (use system editor to open link) and "page" (use system browser to browse to link)

Monitors: A monitor is defined by MONITORx, where x is a number. Monitors are of the form "url|init delay|delay between requests|proxy settings". The proxy settings are default no proxy (noproxy), but you can specify it if you want to. To use a proxy simply add "useproxy".
The log file is defined by MONITORx_LOG_FILE, where x is the number of the monitor.
Request parameters (zero to many) is defined by MONITORx_REQUEST_PARAMETERy, where y is a number. Parameters are of the form "key|value".
Threshold added to version 0.8 in order to display if a system reply is to high.