This may help:
The CVS Manager command-line utility lets you manage the set of monitors deployed to the Continuous Validation Service. The utility is located in the LISA_HOME/bin directory.
This utility has the following format:
CVSManager [-h] [-m registry-spec] [-d archive-file] [-r archive-file] [-l] [-D] [-A] [-e] [x] [-X] [-s name] [-n name] [-u username] [-p password] [--version]
|
-h, --help
Displays help text.
-m registry-spec, --registry=registry-spec
Defines the registry to which to connect.
-d archive-file, --deploy=archive-file
Deploys the specified model archive to CVS as a monitor. The monitor defined in the archive must refer to a monitor and service name combination that does not already exist.
-r archive-file, --redeploy=archive-file
Redeploys the specified model archive to CVS as a monitor. The monitor defined in the archive must refer to a monitor and service name combination that exists.
-l, --list
Lists the currently deployed monitors with information about each.
-D, --pause
Pauses the scheduled execution of the indicated monitor.
-A, --resume
Resumes the scheduled execution of the indicated monitor.
-e, --execute-now
Causes the indicated monitor to be executed immediately, regardless of its schedule. This action does not affect any scheduled executions of the monitor.
-x, --remove
Removes a monitor from CVS. Use the service name and monitor name arguments to indicate which monitor to remove.
-X, --remove-all
Removes all monitors from CVS. If a service name is specified, then only monitors defined with that service name are removed.
-s name, --service-name=name
Specifies the service name for the monitors to affect.
-n name, --monitor-name=name
Specifies the monitor name to affect.
-u username, --username=username
Specifies the LISA security user name. If access control (ACL) is enabled, then this option is required.
-p password, --password=password
Specifies the LISA security password. If access control (ACL) is enabled, then this option is required.
--version
Print the version number and exit.
Example: Deploy Monitor
This example deploys a monitor to CVS.
CVSManager -d monitor.mar
|
Example: Delete Monitor
This example deletes that same monitor (assuming the service and monitor names).
CVSManager -x -s OrderManager -n CheckOrders
|
This example deletes all monitors in the OrderManager service.
CVSManager -X -s OrderManager
|
This example deletes all monitors.