<?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: How create OnCommand events in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19138#M4130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for advice.&lt;/P&gt;&lt;P&gt;I have now found a solution for my problem.&lt;/P&gt;&lt;P&gt;Within the netapp-manageability-sdk-5.0 I found the tool apitest.exe. With this tool I can create ZAPI call directed to OnCommand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax generating custom event:&lt;/P&gt;&lt;P&gt;apitest -t dfm host.domain.com username password event-generate event-name script:information-event source 1 event-message "SUCCESS: Backupscript xxx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way I can send from any system events to OnCommand. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 11:16:12 GMT</pubDate>
    <dc:creator>michaelalbers</dc:creator>
    <dc:date>2012-05-25T11:16:12Z</dc:date>
    <item>
      <title>How create OnCommand events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19125#M4128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I create OnCommand events?&lt;/P&gt;&lt;P&gt;Is there a SDK or a tool that can create events from another server.&lt;/P&gt;&lt;P&gt;SnapCreator can do this but I have Scripts doing something an they should create the event for reporting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:26:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19125#M4128</guid>
      <dc:creator>michaelalbers</dc:creator>
      <dc:date>2025-06-05T06:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: How create OnCommand events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19130#M4129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;You can use&lt;STRONG&gt; "dfm event generate"&lt;/STRONG&gt; CLI or NMSDK API&lt;STRONG&gt; "event-generate"&lt;/STRONG&gt; to generate custom/built in events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@oncommand ~]# dfm event generate help&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; generate -- generate a particular user-defined event&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SYNOPSIS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfm event generate [ -t &amp;lt;timestamp&amp;gt; ] &amp;lt;event-name&amp;gt; &amp;lt;source&amp;gt; [ &amp;lt;event-message&amp;gt; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DESCRIPTION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This command is used to generate custom events. Script plugins can&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; use the command to generate built-in script status events such as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; script:warning-event. This command cannot be used to generate other&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; built-in events.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timestamp: specifies the event generation time in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YYYY-MM-DD,HH:MM:SS format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If not specified, the time when the command is invoked is used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; event-name: specifies the name of the event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; source: specifies ID/name of source object of the event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; event-message: A message specific to this event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This message will be displayed as part of event details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 07:20:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19130#M4129</guid>
      <dc:creator>amirm</dc:creator>
      <dc:date>2012-05-25T07:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: How create OnCommand events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19138#M4130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for advice.&lt;/P&gt;&lt;P&gt;I have now found a solution for my problem.&lt;/P&gt;&lt;P&gt;Within the netapp-manageability-sdk-5.0 I found the tool apitest.exe. With this tool I can create ZAPI call directed to OnCommand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax generating custom event:&lt;/P&gt;&lt;P&gt;apitest -t dfm host.domain.com username password event-generate event-name script:information-event source 1 event-message "SUCCESS: Backupscript xxx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way I can send from any system events to OnCommand. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 11:16:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19138#M4130</guid>
      <dc:creator>michaelalbers</dc:creator>
      <dc:date>2012-05-25T11:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: How create OnCommand events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19147#M4132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Machael,&lt;/P&gt;&lt;P&gt;Good to know that you found the utility that fits your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that you have latest NMSDK 5.0 you may be also interested in knowing that NMSDK has improved ZAPI explorer through which not only you can execute and see the APIs for OnCommand and ONTAP but also create workflows using new ZExplorer Developer Interface(ZEDI) without actually writing a single line of code yourself! You can find ZEDI under &amp;lt;NMSDK_INTALL_PATH&amp;gt;\zedi\zexplore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For demo on ZEDI and more please see &lt;A _jive_internal="true" href="https://community.netapp.com/community/interfaces_and_tools/developer/zedi" target="_blank"&gt;https://communities.netapp.com/community/interfaces_and_tools/developer/zedi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Amir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 07:03:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-create-OnCommand-events/m-p/19147#M4132</guid>
      <dc:creator>amirm</dc:creator>
      <dc:date>2012-05-28T07:03:19Z</dc:date>
    </item>
  </channel>
</rss>

