<?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 Permanently remove events in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71530#M14859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there any way to permanently remove events from OnCommand database? For other objects like hosts it's possible to run "dfm host delete -f" when only sql service is up and this will really remove the object (not only mark it as deleted). &lt;BR /&gt;For events I don't see such option.&lt;/P&gt;&lt;P&gt;Is the only way to do this by executing sql command on the database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:22:49 GMT</pubDate>
    <dc:creator>marcinl</dc:creator>
    <dc:date>2025-06-05T06:22:49Z</dc:date>
    <item>
      <title>Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71530#M14859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there any way to permanently remove events from OnCommand database? For other objects like hosts it's possible to run "dfm host delete -f" when only sql service is up and this will really remove the object (not only mark it as deleted). &lt;BR /&gt;For events I don't see such option.&lt;/P&gt;&lt;P&gt;Is the only way to do this by executing sql command on the database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:22:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71530#M14859</guid>
      <dc:creator>marcinl</dc:creator>
      <dc:date>2025-06-05T06:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71536#M14861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I've tried to remove the event directly from database but it's not allowed &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;monitoring:~ # dfm database query run "delete from eventView where eventID=1;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Error in delete from eventView where eventID=1;: (-121) [Sybase][ODBC Driver][SQL Anywhere]Permission denied: you do not have permission to delete from "eventView"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Error: Error executing delete from eventView where eventID=1;: -121: [Sybase][ODBC Driver][SQL Anywhere]Permission denied: you do not have permission to delete from "eventView"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 15:12:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71536#M14861</guid>
      <dc:creator>marcinl</dc:creator>
      <dc:date>2012-07-12T15:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71543#M14864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcinl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way to delete the events permanently from DFM server. Database user can only view the database tables but he cannot delete the data from database view.&lt;/P&gt;&lt;P&gt;You can use "dfm event delete &amp;lt;event-ids&amp;gt; ..." command to delete the events from dfm but this command doesn't delete the event permanently. Event will be moved to event history table &lt;/P&gt;&lt;P&gt;once you delete the event using this command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gireesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:11:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71543#M14864</guid>
      <dc:creator>agireesh</dc:creator>
      <dc:date>2012-07-12T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71548#M14866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had and still have this problem and I do not know why this is an issue.&amp;nbsp; You will have to open a case with tech support.&amp;nbsp; They will install some stored procedures and then run some scripts to clean out the old events.&amp;nbsp; You will need to tell them what you want deleted, i.e. delete events older than 6 months, so they can customize the script.&amp;nbsp; The stored procedured will need to be removed when you are done so they will not interfere with any dfm upgrades.&amp;nbsp; I am about to do this myself very shortly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:54:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71548#M14866</guid>
      <dc:creator>ronaldmajor</dc:creator>
      <dc:date>2012-07-12T16:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71553#M14868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcinal,&lt;/P&gt;&lt;P&gt;&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; dfm database query run are read-only views so you wont be able to delete. Also doing a dfm host delete -f does not have a cascade delete on the events table. So events will still be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As advised by others you can raise a case and get this cleaned. BTW how many millions of events do you have ? Is there any specific reason why you want to delete the events ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 04:22:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71553#M14868</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2012-07-13T04:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71558#M14870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are not so many events but the VM holding OnCommand will be handed over to different customer. There are some scripts installed as well as performance views and thresholds so I don't want to thrash whole OC5. I want to keep the database but as clean as possible. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 07:26:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71558#M14870</guid>
      <dc:creator>marcinl</dc:creator>
      <dc:date>2012-07-13T07:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71563#M14872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcinal,&lt;/P&gt;&lt;P&gt;&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; Since you want to clean up the db, and I assume you can afford downtime if so stop all dfm service, start only sql service and do a event delete using -f cli in a loop cli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 17:25:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71563#M14872</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2012-07-16T17:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71567#M14874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to gireesh for remaining me. There is no way to delete an event as there is no -f options for dfm event delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 05:45:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71567#M14874</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2012-07-17T05:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71572#M14875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as I wrote in the first post - I know how to delete other objects like host with usage of -f but there is no such switch for events. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 06:33:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71572#M14875</guid>
      <dc:creator>marcinl</dc:creator>
      <dc:date>2012-07-17T06:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71577#M14876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to delete the events by their date or by the content?&lt;/P&gt;&lt;P&gt;If first, then you can use the dfm-option 'eventsPurgeInterval'&lt;/P&gt;&lt;P&gt;By default, it´s set to 25.71 weeks (half a year)&lt;/P&gt;&lt;P&gt;Just set it to (e.g.) 1 day and then wait for another day (until DFM has reorganized it´s ultra-light database)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:11:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71577#M14876</guid>
      <dc:creator>STORAGE_CIT</dc:creator>
      <dc:date>2012-07-18T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71586#M14877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx. This is it. How come I could not think about it before &lt;SPAN __jive_emoticon_name="shocked" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/shocked.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:28:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71586#M14877</guid>
      <dc:creator>marcinl</dc:creator>
      <dc:date>2012-07-18T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71591#M14878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcinal,&lt;/P&gt;&lt;P&gt;&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; This options only purges those events which are no more affecting the status of any object that is being monitored in dfm. So if there is an event that affects the objects status like a volume/qtree such events are not purged even if they are beyond the specified purge interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;adai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:37:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71591#M14878</guid>
      <dc:creator>adaikkap</dc:creator>
      <dc:date>2012-07-18T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Permanently remove events</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71596#M14879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's fine. As I wrote the OnCommand will be handed over to different customer. All hosts have been deleted (with -f) already. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:58:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Permanently-remove-events/m-p/71596#M14879</guid>
      <dc:creator>marcinl</dc:creator>
      <dc:date>2012-07-18T12:58:30Z</dc:date>
    </item>
  </channel>
</rss>

