<?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 Re: Snap Creator 4.0 SENDTRAP hangs in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7328#M244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;I used the syntax you provided and Snap Creator said it completed successfully but I'm still not getting the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2013-10-23 12:21:00,246] INFO: Sending Trap message to external system echo "Snap Creator Job Succeeded" | /usr/bin/mailx -s Test my@emailaddress&lt;/P&gt;&lt;P&gt;1502 [2013-10-23 12:21:00,363] INFO: stdout:"Snap Creator Job Succeeded" | /usr/bin/mailx -s Test my@emailaddress&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the same syntax on the command line I get the mail. I've asked my sysadmin to check if the mail queue has any held messages so I'll wait to see if that's where it's failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leighton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 17:39:22 GMT</pubDate>
    <dc:creator>LEIGHTONN</dc:creator>
    <dc:date>2013-10-23T17:39:22Z</dc:date>
    <item>
      <title>Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7306#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm running Snap Creator 4 on AIX 6.1 and trying to use the Event Notifications feature to send fail/success messages from Snap Creator. I noticed that the Snap Creator job hangs if I include the SENDTRAP settings. Here is the section of the config with the event notifications settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;########################################################################################################################&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Event Options&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;/P&gt;&lt;P&gt;########################################################################################################################&lt;/P&gt;&lt;P&gt;NTAP_ASUP_ERROR_ENABLE=N&lt;/P&gt;&lt;P&gt;SUCCESS_MSG=INFO: Snap Creator Framework finished successfully (Action: %ACTION)&lt;/P&gt;&lt;P&gt;SENDTRAP=/usr/bin/mailx -s %MSG my@emailaddress &amp;lt; /dev/null&lt;/P&gt;&lt;P&gt;SUCCESS_TRAP=/usr/bin/mailx -s %MSG my@emailaddress &amp;lt; /dev/null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I've replaced my actual email address with my@emailaddress.&lt;/P&gt;&lt;P&gt;If I copy and paste the command into the command line it successfully sends the mail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 08:29:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7306#M240</guid>
      <dc:creator>LEIGHTONN</dc:creator>
      <dc:date>2015-12-18T08:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7312#M241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to include double quotes like below and try again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SENDTRAP=/usr/bin/mailx -s " %MSG " my@emailaddress &amp;lt; /dev/null&lt;/P&gt;&lt;P&gt;SUCCESS_TRAP=/usr/bin/mailx -s " %MSG " my@emailaddress &amp;lt; /dev/null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:33:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7312#M241</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2013-10-22T19:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7317#M242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;I tried adding the double quotes but it still didn't work. Any other ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leighton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:04:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7317#M242</guid>
      <dc:creator>LEIGHTONN</dc:creator>
      <dc:date>2013-10-22T20:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7322#M243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I was able to receive emails on AIX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SENDTRAP=echo "something" | /usr/bin/mailx -s TYPEYOURSUBJECT my@emailaddress&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of the %MSG stuff got expanded, and there is a defect request already about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try above syntax and let me know if it works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 22:56:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7322#M243</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2013-10-22T22:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7328#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;I used the syntax you provided and Snap Creator said it completed successfully but I'm still not getting the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[2013-10-23 12:21:00,246] INFO: Sending Trap message to external system echo "Snap Creator Job Succeeded" | /usr/bin/mailx -s Test my@emailaddress&lt;/P&gt;&lt;P&gt;1502 [2013-10-23 12:21:00,363] INFO: stdout:"Snap Creator Job Succeeded" | /usr/bin/mailx -s Test my@emailaddress&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the same syntax on the command line I get the mail. I've asked my sysadmin to check if the mail queue has any held messages so I'll wait to see if that's where it's failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leighton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:39:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7328#M244</guid>
      <dc:creator>LEIGHTONN</dc:creator>
      <dc:date>2013-10-23T17:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7331#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leighton,&lt;/P&gt;&lt;P&gt;Please let me know if this is resolved.&lt;/P&gt;&lt;P&gt;I am available this week to look at this further. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Siva Ramanathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 13:45:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7331#M245</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2013-11-12T13:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7334#M246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late response. I still haven't gotten this to work. No email from SC but works from OS command-line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 23:43:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/7334#M246</guid>
      <dc:creator>LEIGHTONN</dc:creator>
      <dc:date>2014-01-06T23:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Snap Creator 4.0 SENDTRAP hangs</title>
      <link>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/112797#M247</link>
      <description>&lt;P&gt;I ran into this at another customer site.&lt;/P&gt;&lt;P&gt;4.1.2 SCF server on AIX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was narrowed down to "(" used in the SUCCESS_MSG.&lt;/P&gt;&lt;P&gt;ksh does not seem to like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below settings worked fine for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SUCCESS_MSG=INFO: Snap Creator Framework finished successfully Action: %ACTION Config: %CONFIG_TYPE&lt;/P&gt;&lt;P&gt;SENDTRAP=/bin/ksh -c '/usr/bin/mailx -s %MSG my@emailaddress &amp;lt;/dev/null'&lt;/P&gt;&lt;P&gt;SUCCESS_TRAP=/bin/ksh -c '/usr/bin/mailx -s %MSG my@emailaddress &amp;lt;/dev/null'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The /dev/null settings can be substituted with the absolute path name of the debug or out log file name.&lt;/P&gt;&lt;P&gt;(You can use %SNAP_TIME for the timestamp portion of the log)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 12:07:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Snap-Creator-4-0-SENDTRAP-hangs/m-p/112797#M247</guid>
      <dc:creator>sivar</dc:creator>
      <dc:date>2015-11-21T12:07:02Z</dc:date>
    </item>
  </channel>
</rss>

