# Properties for TrendServlet

name=Andys little empire

# What datasources can we use
# If not specified, default is none!
datasources=nyangau,twiga

# For each, specify the file or http URL to fetch it from
# If omitted, will result in a run time error
datasources.nyangau=logs/Sample.log
datasources.twiga=http://twiga:7777/?a=samples&ds=nyangau

# For each include a label, default is none
datasources.nyangau.label=Primary system
datasources.twiga.label=Secondary system

# Sample interval in seconds, default 60s(+5s)
interval.nyangau=65
interval.twiga=65

# What resources can we graph
# If not specified, default is none!
resources=cpu,mem

# For each one, what is the total amount available, default is 100.0
# If negative numbers are used, TrendServer uses a vertical scale as large
# as the largest sample, and the sum of entitlements (ie: it auto-sizes).
# If each datasource has differing amounts then use
#  resource.nyangau.cpu.total=100
#  resource.twiga.cpu.total=50
# If all datasources have the same amount, then use
#  resources.cpu.total=100
resources.cpu.total=100.0
resources.mem.total=100.0

# Units label, default is none
# If each datasource has differing units, then use
#  resources.nyangau.cpu.units=%
#  resources.twiga.cpu.units=percent
# If all datasources are have the same units, then use
#  resources.cpu.units=%
resources.cpu.units=%
resources.mem.units=%

# Resource value multipliers, default is 1.0
# Can be used in conjunction with .units to make readable output
# eg: if value is in ms, could use .units=s and .multiplier=0.001
#resources.cpu.multiplier=1.0
#resources.mem.multiplier=1.0

# Who are the consumers of the resource
# If not specified, default is none!
# If "other" is included, any samples not associated with those listed
# get lumped into the other consumer.
consumers.nyangau=root,ak,oracle,db2inst1,webuser,other
consumers.twiga=root,ak,test*,other

# What consumers should we ignore in the source data
#consumers-ignore.nyangau=apache*

# For each consumer, state entitlement to resource, default is 0.0
# If entitlements vary by datasource, then use
#  entitlement.nyangau.cpu.ak=30
#  entitlement.twiga.cpu.ak=35
# If all entitlements are the same on each datasource, use
#  entitlement.cpu.ak=30
entitlement.cpu.ak=30.0
entitlement.cpu.root=40.0

# Graph sizes
# If not specified, default is 800x200
graph.w=800
graph.h=200

# Extra documentation
doclink.name=the nyangau homepage
doclink.url=http://nyangau:8080/
