Subscribe
Accepted Solution

Can the DFM alarm or event triggered for another action or script to run?

Hi,

Just want to know if the DFM has the function to start another action or running a script once an event or alarm has been trigged?

Just an example, say if a snapmirror break event trigged in the DFM, can it enable another action or script to re-establish the snapmirror automatically?

Regards,

Terrence

Re: Can the DFM alarm or event triggered for another action or script to run?

Hi Terrence,

Yes, It is possible. DFM supports this.

Refer the FAQ 7.4 & 7.5 at http://now.netapp.com/NOW/knowledge/docs/DFM_win/rel40/html/faq/index.shtml

Regards,

Saravanan

Re: Can the DFM alarm or event triggered for another action or script to run?

A DFM Alarm set for an event can initiate or trigger running a script when the condition is met.

Re: Can the DFM alarm or event triggered for another action or script to run?

Hi There,

By looking into the FAQ, it should be evident that you’d be using the DFM CLI to associate a script to a DFM alarm. Make sure you test the alarm to ensure that the script is being executed when the alarm is triggered

dfm alarm test <alarm id>

(Note: If you don’t know the ID – type the command “dfm alarm list”)

If the script doesn’t execute then try the following: add the appropriate switches for authenticating the execution of the script:

dfm alarm modify -A <admin-login-name>  –u <AlarmScriptRunAs> -s <Path of the script>

Hope this helps.

Thanks and regards

Shiva Raja

Re: Can the DFM alarm or event triggered for another action or script to run?

Hi all,

Thanks!  

Re: Can the DFM alarm or event triggered for another action or script to run?

This is a simple functionality from command line that should be brought into the GUI in a future release.  I'll see if an RFE for this is already filed.