-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance import-vropsnotifications (#661)
- Enhanced `New-vROPSNotification` cmdlet to consume a JSON file and pass in -alertPluginName and -emailAddress parameters. - Enhanced `Import-vROPSNotification` cmdlet to consume a JSON file and pass in -alertPluginName and -emailAddress parameters. - Converted `aria-operations-notifications-vcf.csv` to 'aria-operations-notifications-vcf.json'. - Converted `aria-operations-notifications-srm.csv' to 'aria-operations-notifications-srm.json'. - Updated the documentation Signed-off-by: Gary Blake <[email protected]>
- Loading branch information
1 parent
4bc23d8
commit 8da4331
Showing
9 changed files
with
669 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
178 changes: 178 additions & 0 deletions
178
SampleNotifications/aria-operations-notifications-srm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
[ | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupNotConfiguredRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group is Not Configured Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupNotConfiguredHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group is Not Configured Affecting the Health Status of the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupPartiallyRecoveredRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group Is Partially Recovered Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupPartiallyRecoveredHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group Is Partially Recovered Affecting the Health Status of the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupRecoveringRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group Is Recovering Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupRecoveringHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group Is Recovering Affecting the Health Status of the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupTestingRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group Is Testing Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-ProtectionGroupTestingHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Protection Groups", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Protection Group Is Testing Affecting the Health Status of the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-RecoveryPlanErrorRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Recovery Plans", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Recovery Plan Has Errors Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-RecoveryPlanErrorHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Recovery Plans", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Recovery Plan Has Errors Affecting the Health Status of the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-RecoveryPlanRunningRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Recovery Plans", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Recovery Plan Has Warnings Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-RecoveryPlanRunningHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "Recovery Plans", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Recovery Plan Has Warnings Affecting the Health Status of the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-PairSiteNotConnected", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "SRM Site", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Is Pair Site Not Connected" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-SiteNotPaired", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "SRM Site", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Site Not Paired" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-SiteIssuesRisk", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "SRM Site", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Site recovery Manager Site Has Object(s) With Issues Affecting the Risk for the System" | ||
}, | ||
{ | ||
"alertDefinition": "AlertDefinition-SrmAdapter-SiteIssuesHealth", | ||
"adapterKindKey": "SrmAdapter", | ||
"resourceKindKey": "SRM Site", | ||
"alertPluginName": "!!plugInName!!", | ||
"emailAddress": "!!email!!", | ||
"maxNotify": "3", | ||
"delay": "15", | ||
"resend": "15", | ||
"alertName": "Site recovery Manager Site Has Object(s) With Issues Affecting the Health Status of the System" | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.