<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Snap Creator 4.3.0 - Using &amp;quot;Event Settings&amp;quot; only for &amp;quot;Failure Trap Message&amp;quot; in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/126785#M11181</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we want to use the SC Event Settings for sending Failure Trap Messages only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information from the administration guide:&lt;/P&gt;&lt;P&gt;SENDTRAP:&lt;BR /&gt;Interfaces with your monitoring software or email, enabling you to pass the alerts that are generated from Snap Creator into your own monitoring infrastructure. The %MSG variable is the message sent from Snap Creator.&lt;BR /&gt;--&amp;gt; My unterstanding: This channel is the only one who sends the FAILURE_MSG (%MSG), but also the SUCCESS_MSG(%SUCCESS_MSG).&lt;BR /&gt;&lt;BR /&gt;FAILURE_MSG:&lt;BR /&gt;Logs the failure message that is defined in case of a Snap Creator failure. This failure message can also be sent to SENDTRAP if SENDTRAP is defined.&lt;BR /&gt;--&amp;gt; My unterstanding: The FAILURE_MSG can only by send by SENDTRAP. For example: /usr/bin/mailx -s %MSG matthias@xxxxxx.de &amp;lt;/dev/null&lt;BR /&gt;&lt;BR /&gt;SUCCESS_TRAP:&lt;BR /&gt;Interfaces with your monitoring software or email, enabling you to pass the success message generated from Snap Creator into your own monitoring infrastructure. The %SUCCESS_MSG variable is the success message for Snap Creator.&lt;BR /&gt;--&amp;gt; My unterstanding: This channel can only snet the SUCCESS_MSG(%SUCCESS_MSG).&lt;BR /&gt;&lt;BR /&gt;SUCCESS_MSG:&lt;BR /&gt;After a successful Snap Creator backup, this setting logs the message that is defined. &lt;STRONG&gt;The message is also sent to SUCCESS_TRAP, if SUCCESS_TRAP is defined, or &lt;/STRONG&gt;&lt;STRONG&gt;to SENDTRAP, if SENDTRAP is defined.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; My unterstanding: When no SUCCES_TRAP is defined, the SUCCESS_MSG will be sent by SENDTRAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why are there 2 options to send the email?&lt;/P&gt;&lt;P&gt;One channel only for the success messages and one for both (if no SUCCES_TRAP is defined) or only for error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have many SC schedules for SnapMirror tasks, because we also want controll those tasks togheter with the SnapVault schedules together in the SC.&lt;/P&gt;&lt;P&gt;And it is not very handy when you get an success message every 15 minutes or so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to configure the event settings only for error messages?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My workaround #1 - Creating an own "null" output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create empty file /opt/NetApp/scSuccessTrap/null&lt;BR /&gt;chmod 700 null&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SUCCESS_TRAP=/opt/NetApp/scSuccessTrap/null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SC executes the empty bash script null.The output will be sent into the nirvana.&lt;/P&gt;&lt;P&gt;SC log: Sending Trap message to external system /opt/NetApp/scSuccessTrap/null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My workaround #2 - Redirecting the output to file instead of sending an email&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Creating file /opt/NetApp/scSuccessTrap/redirect&lt;BR /&gt;chmod 700 null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File content:&lt;/P&gt;&lt;P&gt;#/bin/bash&lt;BR /&gt;timestamp=$(date +%Y%m%d_%H%M%S)&lt;BR /&gt;date=$(date +%Y%m%d)&lt;BR /&gt;echo $timestamp $1 &amp;gt;&amp;gt; /opt/NetApp/scSuccessTrap/"$date"_successtrap_redirect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SUCCESS_TRAP=/opt/NetApp/scSuccessTrap/redirect %SUCCESS_MSG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SC executes the bash script redirect. The redirect generates a new file everyday with output from SC.&lt;/P&gt;&lt;P&gt;SC log: Sending Trap message to external system /opt/NetApp/scSuccessTrap/redirect "INFO: NetApp Snap Creator Framework finished successfully '(Action: backup) (Config: xxxxxx)'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output file example:&lt;/P&gt;&lt;P&gt;20170107_004519 INFO: NetApp Snap Creator Framework finished successfully '(Action: backup) (Config: xxxxxx)'&lt;BR /&gt;20170107_004519 INFO: NetApp Snap Creator Framework finished successfully '(Action: backup) (Config: xxxxxx)'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 15:35:35 GMT</pubDate>
    <dc:creator>MatthiasSander</dc:creator>
    <dc:date>2025-06-04T15:35:35Z</dc:date>
    <item>
      <title>Snap Creator 4.3.0 - Using "Event Settings" only for "Failure Trap Message"</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/126785#M11181</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we want to use the SC Event Settings for sending Failure Trap Messages only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Information from the administration guide:&lt;/P&gt;&lt;P&gt;SENDTRAP:&lt;BR /&gt;Interfaces with your monitoring software or email, enabling you to pass the alerts that are generated from Snap Creator into your own monitoring infrastructure. The %MSG variable is the message sent from Snap Creator.&lt;BR /&gt;--&amp;gt; My unterstanding: This channel is the only one who sends the FAILURE_MSG (%MSG), but also the SUCCESS_MSG(%SUCCESS_MSG).&lt;BR /&gt;&lt;BR /&gt;FAILURE_MSG:&lt;BR /&gt;Logs the failure message that is defined in case of a Snap Creator failure. This failure message can also be sent to SENDTRAP if SENDTRAP is defined.&lt;BR /&gt;--&amp;gt; My unterstanding: The FAILURE_MSG can only by send by SENDTRAP. For example: /usr/bin/mailx -s %MSG matthias@xxxxxx.de &amp;lt;/dev/null&lt;BR /&gt;&lt;BR /&gt;SUCCESS_TRAP:&lt;BR /&gt;Interfaces with your monitoring software or email, enabling you to pass the success message generated from Snap Creator into your own monitoring infrastructure. The %SUCCESS_MSG variable is the success message for Snap Creator.&lt;BR /&gt;--&amp;gt; My unterstanding: This channel can only snet the SUCCESS_MSG(%SUCCESS_MSG).&lt;BR /&gt;&lt;BR /&gt;SUCCESS_MSG:&lt;BR /&gt;After a successful Snap Creator backup, this setting logs the message that is defined. &lt;STRONG&gt;The message is also sent to SUCCESS_TRAP, if SUCCESS_TRAP is defined, or &lt;/STRONG&gt;&lt;STRONG&gt;to SENDTRAP, if SENDTRAP is defined.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; My unterstanding: When no SUCCES_TRAP is defined, the SUCCESS_MSG will be sent by SENDTRAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why are there 2 options to send the email?&lt;/P&gt;&lt;P&gt;One channel only for the success messages and one for both (if no SUCCES_TRAP is defined) or only for error messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have many SC schedules for SnapMirror tasks, because we also want controll those tasks togheter with the SnapVault schedules together in the SC.&lt;/P&gt;&lt;P&gt;And it is not very handy when you get an success message every 15 minutes or so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to configure the event settings only for error messages?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My workaround #1 - Creating an own "null" output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create empty file /opt/NetApp/scSuccessTrap/null&lt;BR /&gt;chmod 700 null&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SUCCESS_TRAP=/opt/NetApp/scSuccessTrap/null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SC executes the empty bash script null.The output will be sent into the nirvana.&lt;/P&gt;&lt;P&gt;SC log: Sending Trap message to external system /opt/NetApp/scSuccessTrap/null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My workaround #2 - Redirecting the output to file instead of sending an email&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Creating file /opt/NetApp/scSuccessTrap/redirect&lt;BR /&gt;chmod 700 null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File content:&lt;/P&gt;&lt;P&gt;#/bin/bash&lt;BR /&gt;timestamp=$(date +%Y%m%d_%H%M%S)&lt;BR /&gt;date=$(date +%Y%m%d)&lt;BR /&gt;echo $timestamp $1 &amp;gt;&amp;gt; /opt/NetApp/scSuccessTrap/"$date"_successtrap_redirect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SUCCESS_TRAP=/opt/NetApp/scSuccessTrap/redirect %SUCCESS_MSG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SC executes the bash script redirect. The redirect generates a new file everyday with output from SC.&lt;/P&gt;&lt;P&gt;SC log: Sending Trap message to external system /opt/NetApp/scSuccessTrap/redirect "INFO: NetApp Snap Creator Framework finished successfully '(Action: backup) (Config: xxxxxx)'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output file example:&lt;/P&gt;&lt;P&gt;20170107_004519 INFO: NetApp Snap Creator Framework finished successfully '(Action: backup) (Config: xxxxxx)'&lt;BR /&gt;20170107_004519 INFO: NetApp Snap Creator Framework finished successfully '(Action: backup) (Config: xxxxxx)'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 15:35:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/126785#M11181</guid>
      <dc:creator>MatthiasSander</dc:creator>
      <dc:date>2025-06-04T15:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.3.0 - Using "Event Settings" only for "Failure Trap Message"</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/135194#M11631</link>
      <description>&lt;P&gt;Any syntax tht you can provide for alerting where Snapcreator server is installed on windows 2012 server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinath&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2017 12:58:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/135194#M11631</guid>
      <dc:creator>SrinathATT</dc:creator>
      <dc:date>2017-10-12T12:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.3.0 - Using "Event Settings" only for "Failure Trap Message"</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/138223#M11795</link>
      <description>&lt;P&gt;Hello Srinath,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the last time I needed to realise a windows mailing client was a few years ago. I used the program blat to send emails via smtp under windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Matthias&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 15:00:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-3-0-Using-quot-Event-Settings-quot-only-for-quot-Failure-Trap/m-p/138223#M11795</guid>
      <dc:creator>MatthiasSander</dc:creator>
      <dc:date>2018-02-19T15:00:49Z</dc:date>
    </item>
  </channel>
</rss>

