<?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: OCUM HTML Alerts in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/OCUM-HTML-Alerts/m-p/137851#M30404</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create an OCUM alarm and attached a script to the alarm which is trieggered when the event occurs.&lt;/P&gt;
&lt;P&gt;You can enuemrate the event information from environment arugments or use the NMSDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also invoke SQL queries in your script on the OCUM database...EG if you wanted cluster name, contact, location...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SELECT
   name AS 'cluster_name',
   contact,
   location
FROM
   netapp_model.cluster
WHERE
   cluster.name = 'cluster1'&lt;/PRE&gt;
&lt;P&gt;Once you have all the event details and additional information you require, you'd need to format the results into HTML\CSS and send them as an email.&lt;/P&gt;
&lt;P&gt;Here are some examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Unified-Manager-6-3-Alert-scripts/td-p/116507" href="http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Unified-Manager-6-3-Alert-scripts/td-p/116507" target="_blank"&gt;http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Unified-Manager-6-3-Alert-scripts/td-p/116507&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184" href="https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184" target="_self"&gt;https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 00:42:05 GMT</pubDate>
    <dc:creator>mbeattie</dc:creator>
    <dc:date>2018-02-06T00:42:05Z</dc:date>
    <item>
      <title>OCUM HTML Alerts</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/OCUM-HTML-Alerts/m-p/137838#M30399</link>
      <description>Hi guys, OCUM sends plain text alerts and our users find them difficult to consume on iPhones etc. I'd like to create some HTML alerts so I can make certain things stand out (i.e. bold text, colors etc.) and also add some business specific things such as system owner etc. What options would I have for this in OCUM. Alerts firing a script for example?</description>
      <pubDate>Wed, 04 Jun 2025 14:04:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/OCUM-HTML-Alerts/m-p/137838#M30399</guid>
      <dc:creator>darraghos</dc:creator>
      <dc:date>2025-06-04T14:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: OCUM HTML Alerts</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/OCUM-HTML-Alerts/m-p/137851#M30404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create an OCUM alarm and attached a script to the alarm which is trieggered when the event occurs.&lt;/P&gt;
&lt;P&gt;You can enuemrate the event information from environment arugments or use the NMSDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also invoke SQL queries in your script on the OCUM database...EG if you wanted cluster name, contact, location...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SELECT
   name AS 'cluster_name',
   contact,
   location
FROM
   netapp_model.cluster
WHERE
   cluster.name = 'cluster1'&lt;/PRE&gt;
&lt;P&gt;Once you have all the event details and additional information you require, you'd need to format the results into HTML\CSS and send them as an email.&lt;/P&gt;
&lt;P&gt;Here are some examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Unified-Manager-6-3-Alert-scripts/td-p/116507" href="http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Unified-Manager-6-3-Alert-scripts/td-p/116507" target="_blank"&gt;http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Unified-Manager-6-3-Alert-scripts/td-p/116507&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184" href="https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184" target="_self"&gt;https://community.netapp.com/t5/Developer-Network-Articles-and-Resources/Query-OCUM6-Database-using-PowerShell/ta-p/98184&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 00:42:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/OCUM-HTML-Alerts/m-p/137851#M30404</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2018-02-06T00:42:05Z</dc:date>
    </item>
  </channel>
</rss>

