Always-on Monitoring:How to configure Per-Target Downtime Contact From Event Rules
(Doc ID 2475557.1)
Last updated on JUNE 30, 2020
Applies to:
Enterprise Manager Base Platform - Version 13.2.2.0.0 and laterInformation in this document applies to any platform.
Goal
How to configure "Per-Target Downtime Contact from Event Rules" for multiple targets in the EM using emcli.
emcli generate_downtime_contact -target_name= -target_type= -set
or
% emcli create_job -input_file=property_file:<job_prop_file> -name="GenerateDowntimeContacts"
Where the job_prop_file refers to a properties file with the following content:
# job type
type=CoreSetDowntimeContacts
# description
description=You job description
# target names, the list of target names
variable.target_names=host1,database2
# target types, the list of target types corresponding to the target list above
variable.target_types=host,oracle_database
# set on all targets, true to update contacts, false to print output but not save
variable.set_all_targets=true
# frequency to run job, refer to Enterprise Manager documentation for options
schedule.frequency=IMMEDIATE
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |