generate_downtime_contact
Generates a list of email addresses of recipients that will be notified if the specified target goes down.
You can optionally save this email list into the downtime contact target property to be used by always-on monitoring.
Format
emcli generate_downtime_contact -target_name="<target name>" -target_type="<target type>" [-set] [ ] indicates that the parameter is optional.
Options
-
target_name
Target name.
-
target_type
Target type.
-
set (Optional)
Use this flag to set the downtime contact property for the specified target automatically.
Examples
Example 1
The following command obtains downtime email contacts for the target localhost.site.com of type host.
emcli generate_downtime_contact -target_name="localhost.site.com" -target_type="host"
Example 2
The following command obtains downtime email contacts for the target localhost.site.com of type host. The downtime contacts property for this target will be automatically updated.
emcli generate_downtime_contact -target_name="localhost.site.com" -target_type="host" -set