A monitoring template for a service contains definitions of one or more service tests, as well as a list of monitoring beacons. A monitoring template can be used to create service tests on any number of service targets, and specify a list of monitoring beacons.
A service template must be created from a service target. Once the template is created, the user can edit the template, create copies, or delete it. Finally, the user can apply the template to other targets, which creates the service tests on the other targets and adds the monitoring beacons.
Enterprise Manager provides a command-line interface (emcli) feature for extracting and applying service test templates. The following commands are available:
extract_template_tests: allows the user to export the service tests of a template to a file. This will export the template variable/value pairs as well as service tests and monitoring settings. Note that beacon information is not exported. Also, values for password variables are not exported. The user has the option of encrypting the output file.
apply_template_tests: this command applies a template file (decrypting the file if necessary) to a target. This creates the service tests on the target, replacing variables with values in test definitions.
Refer to the emcli help commands to get more detailed information on using these commands.
Related Topics
Creating a Monitoring Template for a Service
Enterprise Manager Information Roadmap
Copyright © 1996, 2007, Oracle. All rights reserved.