Sample AMS Config.



AMS menu
AMS Home
Install Guide
Applet Parameters
Sample HTML
Sample Config
Alert manager
License
Support
Languages
Future plans



 
Below is a sample configuration file for the standalone version of AMS - AMSClient. It would normally be used thus;
     java AMSClient amscfg.txt

 

# amscfg.txt
# config file for AMSClient
BUFFER=200
HOST=sun
PORT=4000
DEBUG=0
GIF_COLOUR_MATCHING=TRUE
COUNTERGROUPS=FALSE
SEVERITY=7
LAYOUT=0
#
# kinda a pale blue hue... 
# BGCOLOUR=#b0b0d0
# FGCOLOUR=BLACK
# TOP_BGCOLOUR=#d7d7f0
# TOP_FGCOLOUR=BLACK
#
TOP_BGCOLOUR=#dcdcdc
#
ANIMATION_FRAMES=66
ANIMATION_PREFIX=http://sun/~andrew/gif/nescafe
ANIMATION_SUFFIX=.gif
ANIMATION_POSITION=0
ALARM_CLIP=http://sun/~andrew/audio/eddie.au
ALARM_SEVERITY=0
#SEVERITY0_BG=#e00030
#SEVERITY1_BG=#e00030
#SEVERITY2_BG=#e00030
#SEVERITY4_FG=#000000
#SEVERITY4_BG=#e7e700
SCROLLSPEED=3
#
#   Database parameters....
#  Both JDBCDRIVER and DB_CONNECT_STRING must be defined for 
#  database functions to be available.
#
# the JDBC driver must be in the CLASSPATH of the client or browser...
# AMS loads the driver at runtime with "Class.forName(JDBCDRIVER)".
# See your database's JDBC notes for more information.
JDBCDRIVER=org.postgresql.Driver
#
# Connection string includes the hostname ("sun") and database name ("syslog")
DB_CONNECT_STRING=jdbc:postgresql://sun/syslog
DB_USER=andrew
#
# database password for DB_USER. Leaves undefined if
# this user doesn't not require a password.
#DB_PWD=
#
# Database table and column names...
# The values here are actually also the defaults...
DB_TABLE=syslog
DB_TIME_COLUMN=dbtime
DB_MESSAGE_COLUMN=message
#
# If either the severity or facility column is
# left undefined then the corresponding field 
# will not appear in the database search
# - nor will it be used in the SQL select statement.
DB_SEVERITY_COLUMN=severity
DB_FACILITY_COLUMN=facility
#
# Define the initial main window size
WINSIZE=800x600
	  


Home Thai Guide   Great Circle Calculator WorldClock AMS Services Contact us