diff --git a/ncm-list-location/README.md b/ncm-list-location/README.md new file mode 100644 index 0000000..fb20e2c --- /dev/null +++ b/ncm-list-location/README.md @@ -0,0 +1,5 @@ +# NCM list locations using ssh action + +Refer to the screenshot for more info. + +Edit credentials and command as per the requirement. \ No newline at end of file diff --git a/ncm-list-location/ncm-list-location-email-action.png b/ncm-list-location/ncm-list-location-email-action.png new file mode 100644 index 0000000..64469d1 Binary files /dev/null and b/ncm-list-location/ncm-list-location-email-action.png differ diff --git a/ncm-list-location/ncm-list-location-ssh-action.png b/ncm-list-location/ncm-list-location-ssh-action.png new file mode 100644 index 0000000..2834eec Binary files /dev/null and b/ncm-list-location/ncm-list-location-ssh-action.png differ diff --git a/ncm-list-location/ncm-list-location.pbk b/ncm-list-location/ncm-list-location.pbk new file mode 100644 index 0000000..7e578c3 --- /dev/null +++ b/ncm-list-location/ncm-list-location.pbk @@ -0,0 +1 @@ +{"pcVersion":"master","pcUuid":"5ad84468-9a18-4967-8745-563ba597de1c","hashValue":"kN+gMnvB7O7KcOQWRWdukEUUgZZmyiubnSiVVWQ/70I=","actionRuleList":[{"uuid":"db05cdc0-5019-415d-a2d1-8543360d55c4","name":"ncm-list-location","isEnabled":true,"validated":true,"triggerList":[{"uuid":"d8c42967-3a03-4849-ad87-d938f9530cbe","triggerType":{"type":"trigger_type","uuid":"","name":"manual_trigger"},"displayName":"Manual","inputParameterList":[{"name":"entity_type","value":"vm"}]}],"actionList":[{"uuid":"bdc0d223-3c39-46b9-a41a-0540433296da","actionType":{"type":"action_type","uuid":"","name":"ssh_using_ipaddr"},"displayName":"IP Address SSH","inputParameterList":[{"name":"ip_addr","value":"10.192.168.1"},{"name":"ssh_command","value":"/home/nutanix/bin/ncm/ncm-backup-cli list-locations --location-type=S3"},{"name":"password","value":""},{"name":"auth_mechanism","value":"password"},{"name":"username","value":"admin"},{"name":"allow_on_cvm","value":"true"}],"maxRetries":2,"childActionUuids":["28d6deeb-30b8-4d07-bf8d-deccf1b3d4ad"]},{"uuid":"28d6deeb-30b8-4d07-bf8d-deccf1b3d4ad","actionType":{"type":"action_type","uuid":"","name":"email_action"},"displayName":"Email","inputParameterList":[{"name":"message_body","value":"List of the backup locations:\n\n{{action[0].stdout}}"},{"name":"to_address","value":"john.doe@nutanix.com"},{"name":"subject","value":"NCM Backup List Locations "}],"maxRetries":2}],"isPrepackaged":false,"checkTriggerValidity":true,"triggerFilterableInputParamName":"entity_type","triggerFilterableInputParamValue":"vm","ruleType":"kXPlay"}]} \ No newline at end of file