view distribution/config/commands/agent.properties @ 893:9e6bcfc40ea1

Create VM CPU agent and common bundles This commit extracts VM CPU data collection from SystemBackend into a vm-cpu-agent bundle. It also moves the VmCpuStatDAO from common-core into a vm-cpu-common bundle that registers the DAO once Storage is available. This also removes the DAO from DAOFactory. One side-effect is changing the visibility of VmLatestPojoListGetter to public in order for this DAO implementation (and DAOs in the other commits in this series) to access it. This also temporarily adds the vm-cpu-common bundle as a dependency to client-cli until my later dynamic vm-stat patch. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-January/004996.html
author Elliott Baron <ebaron@redhat.com>
date Mon, 07 Jan 2013 15:48:38 -0500
parents 4c8a876b9dc0
children 0ba74f790a8a
line wrap: on
line source

bundles = thermostat-agent-core-@project.version@.jar, \
          thermostat-web-common-@project.version@.jar, \
          thermostat-web-client-@project.version@.jar, \
          httpcomponents-core.jar, \
          httpcomponents-client.jar, \
          gson.jar, \
          thermostat-osgi-process-handler-@project.version@.jar, \
          thermostat-common-core-@project.version@.jar, \
          thermostat-agent-cli-@project.version@.jar, \
          thermostat-common-command-@project.version@.jar, \
          thermostat-agent-command-@project.version@.jar, \
          thermostat-host-cpu-common-@project.version@.jar, \
          thermostat-host-cpu-agent-@project.version@.jar, \
          thermostat-host-memory-common-@project.version@.jar, \
          thermostat-host-memory-agent-@project.version@.jar, \
          thermostat-vm-cpu-common-@project.version@.jar, \
          thermostat-vm-cpu-agent-@project.version@.jar, \
          thermostat-vm-heap-analysis-common-@project.version@.jar, \
          thermostat-vm-heap-analysis-agent-@project.version@.jar, \
          thermostat-killvm-agent-@project.version@.jar, \
          thermostat-thread-collector-@project.version@.jar, \
          thermostat-thread-harvester-@project.version@.jar, \
          thermostat-system-backend-@project.version@.jar, \
          thermostat-gc-remote-collector-common-@project.version@.jar, \
          thermostat-gc-remote-collector-command-@project.version@.jar, \
          thermostat-storage-mongodb-${project.version}.jar, \
          mongo.jar, \
          commons-beanutils.jar, \
          commons-codec.jar, \
          commons-collections.jar, \
          commons-logging.jar, \
          netty.jar

description = starts and stops the thermostat agent

usage = thermostat agent [-d <url> [-u <user> -p <password>]] [-s] [--debug]

options = saveOnExit, dbUrl, username, password, debug

saveOnExit.short = s
saveOnExit.long = saveOnExit
saveOnExit.description = save the data on exit

dbUrl.short = d
dbUrl.long = dbUrl
dbUrl.hasarg = true
dbUrl.required = true
dbUrl.description = connect to the given URL

username.short = u
username.long = username
username.hasarg = true
username.required = false
username.description = the username to use for authentication

password.short = p
password.long = password
password.hasarg = true
password.required = false
password.description = the password to use for authentication

debug.short = v
debug.long = debug
debug.hasarg = false
debug.required = false
debug.description = launch with debug console enabled