<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Rest APIs for the Management Console</title>
    <link>/en/connecting-to/management-api/rest-apis-mc/</link>
    <description>Recent content in Rest APIs for the Management Console on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/connecting-to/management-api/rest-apis-mc/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Connecting-To: MC-User-ApiKey</title>
      <link>/en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/</guid>
      <description>
        
        
        &lt;p&gt;The MC-User-ApiKey is a user-specific key used with Management Console. Users must have an MC-User-ApiKey to interact with MC using the Rest API. All users with roles other than None automatically receive an MC-User-ApiKey.&lt;/p&gt;
&lt;p&gt;This key grants users the same rights through the API that they have available through their MC roles. To interact with the MC, users pass the key in the request header for the API.&lt;/p&gt;
&lt;h2 id=&#34;view-the-mc-user-apikey&#34;&gt;View the MC-User-ApiKey&lt;/h2&gt;
&lt;p&gt;If you are the database administrator, you can view the MC-User-ApiKey for all users. Individual users can view their own keys.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Connect to MC and go to MC Settings &amp;gt; User Management.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the user to view and click Edit. The user&#39;s key appears in the User API Key field.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: GET alerts</title>
      <link>/en/connecting-to/management-api/rest-apis-mc/get-alerts/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-mc/get-alerts/</guid>
      <description>
        
        
        &lt;p&gt;Returns a list of MC alerts, their current status, and database properties.&lt;/p&gt;
&lt;h2 id=&#34;resource-url&#34;&gt;Resource URL&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires an &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/&#34;&gt;MC-User-Apikey&lt;/a&gt; in the request header.&lt;/p&gt;
&lt;h2 id=&#34;filter-parameters&#34;&gt;Filter parameters&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;types&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;
















&lt;p&gt;The type of alert to retrieve. Valid values are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;info&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;notice&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;warning&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;error&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;critical&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;alert&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;emergency&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;category&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;
For information, see &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/thresholds-category-filter/#&#34;&gt;Thresholds category filter&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;db_name&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;
For information, see &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/db-name-category-filter/#&#34;&gt;Database name category filter&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;limit&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;
The maximum number of alerts to retrieve. If the limit is lower than the number of existing alerts, OpenText™ Analytics Database retrieves the most recent alerts. Used with the type parameter, the database retrieves up to the limit for each type. For example, for a limit of five and types of critical and emergency, you could receive up to ten total alerts.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;time_from&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The timestamp start point from which to retrieve alerts. You can use this parameter in combination with the &lt;code&gt;time_to&lt;/code&gt; parameter to retrieve alerts for a specific time range. Values must be passed in the following format: &lt;code&gt;yyyy-MM-ddTHH:mm&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you provide only the &lt;code&gt;time_from&lt;/code&gt; parameter, and omit the &lt;code&gt;time_to&lt;/code&gt; parameter, the response contains all alerts generated from the &lt;code&gt;time_from&lt;/code&gt; parameter to the current time.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;time_to&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The timestamp end point from which to retrieve alerts. You can use this parameter in combination with the &lt;code&gt;time_from&lt;/code&gt; parameter to retrieve alerts for a specific time range. Values must be passed in the following format: &lt;code&gt;yyyy-MM-ddTHH:mm&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you provide only the &lt;code&gt;time_to&lt;/code&gt; parameter, and omit the &lt;code&gt;time_from parameter&lt;/code&gt;, the response contains all alerts generated from the earliest possible time to the time passed in &lt;code&gt;time_to&lt;/code&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?types=critical&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h3 id=&#34;request-alerts-using-curl&#34;&gt;Request alerts using cURL&lt;/h3&gt;
&lt;p&gt;This example shows how you can request alerts using cURL. In this example, the &lt;code&gt;limit&lt;/code&gt; parameter is set to &#39;2&#39; and the &lt;code&gt;types&lt;/code&gt; parameters is set to &lt;code&gt;info&lt;/code&gt; and &lt;code&gt;notice&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?limit=2&amp;amp;types=info,notice
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[
   {
      &amp;#34;alerts&amp;#34;:[
         {
            &amp;#34;id&amp;#34;:5502,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:0,
            &amp;#34;create_time&amp;#34;:&amp;#34;2016-02-02 05:12:10.0&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2016-02-02 15:50:20.511&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;nodeName&amp;#34;:&amp;#34;v_vmart_node0001&amp;#34;,
            &amp;#34;databaseName&amp;#34;:&amp;#34;VMart&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1449695416208_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Warning: Low disk space detected (73% in use)&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Low Disk Space&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:3830
         },
         {
            &amp;#34;id&amp;#34;:5501,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2016-02-02 05:12:02.31&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2016-02-02 05:12:02.31&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;notice&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;VMart&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1449695416208_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Analyze Workload operation started on Database&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation started on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         }
      ],
      &amp;#34;total_alerts&amp;#34;:190,
      &amp;#34;request_query&amp;#34;:&amp;#34;limit=2&amp;#34;,
      &amp;#34;request_time&amp;#34;:&amp;#34;2016-02-02 15:50:26 -0500&amp;#34;
   }
]
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;request-alerts-within-a-time-range&#34;&gt;Request alerts within a time range&lt;/h3&gt;
&lt;p&gt;These examples show various ways in which you can request the same alert as in the preceding example, but within specified time ranges.&lt;/p&gt;
&lt;p&gt;Request the alert within a specific time range, using the &lt;code&gt;time_from&lt;/code&gt; and &lt;code&gt;time_to&lt;/code&gt; parameters:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?types=info,notice&amp;amp;time_from=2016-01-01T12:12&amp;amp;time_to=2016-02-01T12:12
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Request the alert from a specific start time to the present using the &lt;code&gt;time_from&lt;/code&gt; parameter:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?types=info,notice&amp;amp;time_from=2016-01-01T12:12
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Request the alert to a specific end point using the &lt;code&gt;time_to&lt;/code&gt; parameter. When you use the &lt;code&gt;time_to&lt;/code&gt; parameter without the &lt;code&gt;time_from&lt;/code&gt; parameter, the &lt;code&gt;time_from&lt;/code&gt; parameter defaults to the oldest alerts your MC contains:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?types=info,notice&amp;amp;time_to=2016-01-01T12:12
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Connecting-To: GET mcTimeInfo</title>
      <link>/en/connecting-to/management-api/rest-apis-mc/get-mctimeinfo/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-mc/get-mctimeinfo/</guid>
      <description>
        
        
        &lt;p&gt;Returns the current time for the MC server and the timezone where the MC server is located.&lt;/p&gt;
&lt;h2 id=&#34;resource-url&#34;&gt;Resource URL&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/mcTimeInfo
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires an &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/&#34;&gt;MC-User-Apikey&lt;/a&gt; in the request header.&lt;/p&gt;
&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/mcTimeInfo&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;This example shows how you can request MC time information using cURL:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/mcTimeInfo
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;{&amp;#34;mc_current_time&amp;#34;:&amp;#34;Tue, 2000-01-01 01:02:03 -0500&amp;#34;,&amp;#34;mc_timezone&amp;#34;:&amp;#34;US/Eastern&amp;#34;}
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Connecting-To: Thresholds category filter</title>
      <link>/en/connecting-to/management-api/rest-apis-mc/thresholds-category-filter/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-mc/thresholds-category-filter/</guid>
      <description>
        
        
        &lt;p&gt;Returns a list of alerts related to threshold settings in MC.&lt;/p&gt;
&lt;h2 id=&#34;resource-url&#34;&gt;Resource URL&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?category=thresholds
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires an &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/&#34;&gt;MC-User-Apikey&lt;/a&gt; in the request header.&lt;/p&gt;
&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?category=thresholds&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;This example shows how you can request alerts on thresholds using cURL:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?category=thresholds
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;
 [
   {
      &amp;#34;alerts&amp;#34;:[
         {
            &amp;#34;id&amp;#34;:33,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-10 10:28:41.332&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-10 10:28:41.332&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Database: mydb Lower than threshold Node Disk I/O 10 %   v_mydb_node0002 ;1.6%  v_mydb_node0002 ;1.4%  v_mydb_node0002 ;2.3%  v_mydb_node0002 ;1.13%  v_mydb_node0002 ;1.39%  v_mydb_node0001 ;3.78%  v_mydb_node0003 ;1.79%  &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Threshold : Node Disk I/O &amp;lt; 10 %&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:32,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-10 10:28:40.975&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-10 10:28:40.975&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Database: mydb Lower than threshold Node Memory 10 %   v_mydb_node0002 ;5.47%  v_mydb_node0002 ;5.47%  v_mydb_node0002 ;5.47%  v_mydb_node0002 ;5.47%  v_mydb_node0002 ;5.48%  v_mydb_node0003 ;4.53%  &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Threshold : Node Memory &amp;lt; 10 %&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:31,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-10 10:28:40.044&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-10 10:28:40.044&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Database: mydb Lower than threshold Node CPU 10 %   v_mydb_node0002 ;1.4%  v_mydb_node0002 ;1.64%  v_mydb_node0002 ;1.45%  v_mydb_node0002 ;2.49%  &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Threshold : Node CPU &amp;lt; 10 %&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:30,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-10 10:28:34.562&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-10 10:28:34.562&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Database: mydb Exceed threshold Node Disk Usage 60 %   v_mydb_node0001 ;86.41%  &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Threshold : Node Disk Usage &amp;gt; 60 %&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         }
      ],
      &amp;#34;total_alerts&amp;#34;:4,
      &amp;#34;request_query&amp;#34;:&amp;#34;category=thresholds&amp;#34;,
      &amp;#34;request_time&amp;#34;:&amp;#34;2015-11-10 10:29:17.129&amp;#34;
   }
]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/combining-sub-category-filters-with-category-filters/#&#34;&gt;Combining sub-category filters with category filters&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Connecting-To: Database name category filter</title>
      <link>/en/connecting-to/management-api/rest-apis-mc/db-name-category-filter/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-mc/db-name-category-filter/</guid>
      <description>
        
        
        &lt;p&gt;Returns a list of MC alerts for a specific database.&lt;/p&gt;
&lt;h2 id=&#34;resource-url&#34;&gt;Resource URL&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?db_name=&lt;span class=&#34;code-variable&#34;&gt;&lt;database_name&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires an &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/&#34;&gt;MC-User-Apikey&lt;/a&gt; in the request header.&lt;/p&gt;
&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;



&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?db_name=&lt;span class=&#34;code-variable&#34;&gt;database_name&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;This example shows how you can view alerts on a specific database using cURL:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?db_name=&amp;#34;mydb&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[
   {
      &amp;#34;alerts&amp;#34;:[
         {
            &amp;#34;id&amp;#34;:9,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 15:10:53.391&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 15:10:53.391&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;notice&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Workload analyzed successfully&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation has succeeded on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:8,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 15:10:31.16&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 15:10:31.16&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;notice&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Analyze Workload operation started on Database&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation started on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:7,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 00:15:00.204&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 00:15:00.204&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;alert&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Workload analyzed successfully&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation has succeeded on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:6,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-04 15:14:59.344&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-04 15:14:59.344&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;notice&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Workload analyzed successfully&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation has succeeded on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:5,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-04 15:14:38.925&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-04 15:14:38.925&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;notice&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Analyze Workload operation started on Database&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation started on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:4,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:0,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-04 15:14:33.0&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 16:26:17.978&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;notice&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;nodeName&amp;#34;:&amp;#34;v_mydb_node0001&amp;#34;,
            &amp;#34;databaseName&amp;#34;:&amp;#34;lmydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Workload analyzed successfully&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Analyze Workload operation has succeeded on Database&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:3,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-04 15:14:32.806&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-04 15:14:32.806&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;info&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;hostIp&amp;#34;:&amp;#34;10.20.100.64&amp;#34;,
            &amp;#34;nodeName&amp;#34;:&amp;#34;v_mydb_node0003&amp;#34;,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Agent status is UP on IP 127.0.0.1&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Agent status is UP on IP 127.0.0.1&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:2,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-04 15:14:32.541&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-04 15:14:32.541&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;info&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;hostIp&amp;#34;:&amp;#34;10.20.100.63&amp;#34;,
            &amp;#34;nodeName&amp;#34;:&amp;#34;v_mydb_node0002&amp;#34;,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Agent status is UP on IP 127.0.0.1&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Agent status is UP on IP 127.0.0.1&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:1,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-04 15:14:32.364&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-04 15:14:32.364&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;info&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;hostIp&amp;#34;:&amp;#34;10.20.100.62&amp;#34;,
            &amp;#34;nodeName&amp;#34;:&amp;#34;v_mydb_node0001&amp;#34;,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:1,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1446668057043_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34;Agent status is UP on IP 127.0.0.1&amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Agent status is UP on IP 127.0.0.1&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         }
      ],
      &amp;#34;total_alerts&amp;#34;:9,
      &amp;#34;request_query&amp;#34;:&amp;#34;db_name=mydb&amp;#34;,
      &amp;#34;request_time&amp;#34;:&amp;#34;2015-11-05 16:26:21.679&amp;#34;
   }
]
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Connecting-To: Combining sub-category filters with category filters</title>
      <link>/en/connecting-to/management-api/rest-apis-mc/combining-sub-category-filters-with-category-filters/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-mc/combining-sub-category-filters-with-category-filters/</guid>
      <description>
        
        
        &lt;p&gt;You can combine category filters with sub-category filters, to obtain alert messages for specific thresholds you set in MC. You can also use sub-category filters to obtain information about alerts on specific resource pools in your database.&lt;/p&gt;
&lt;h2 id=&#34;sub-category-filters&#34;&gt;Sub-category filters&lt;/h2&gt;
&lt;p&gt;You can use the following sub-category filters with the category filters. Sub-category filters are case sensitive and must be lowercase.

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Sub-Category Filter&lt;/th&gt; 

&lt;th &gt;
Alerts Related to Threshold Value Set For:&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NODE_CPU&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Node CPU&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NODE_MEMORY&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Node Memory&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NODE_DISK_USAGE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Node Disk Usage&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NODE_DISKIO&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Node Disk I/O&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NODE_CPUIO&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Node CPU I/O Wait&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NODE_REBOOTRATE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Node Reboot Rate&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_NETIO&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Network I/O Error&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_QUERY_QUEUED&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Queued Query Number&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_QUERY_FAILED&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Failed Query Number&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_QUERY_SPILLED&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Spilled Query Number&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_QUERY_RETRIED&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Retried Query Number&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_QUERY_RUNTIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Query Running Time&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;resource-pool-specific-sub-category-filters&#34;&gt;Resource pool-specific sub-category filters&lt;/h2&gt;
&lt;p&gt;To retrieve alerts for a specific resource pool, you can use sub-category filters in combination with the following category filters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;thresholds&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;rp_name&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you use these sub-category filters without the &lt;code&gt;RP_NAME&lt;/code&gt; filter, the query retrieves alerts for all resource pools in your database.

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Sub-Category Filter&lt;/th&gt; 

&lt;th &gt;
Alerts Related to Threshold Value Set For:&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_RP_QUERY_MAX_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Queries reaching the maximum allowed execution time.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_RP_QUERY_RESOURCE_REJECT&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


The number of queries with resource rejections.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_RP_QUERY_QUEUE_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


The number of queries that ended because of queue time exceeding a limit.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_RP_QUERY_RUN_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


The number of queries that ended because of run time exceeding a limit.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_RP_MEMORY&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


The minimum allowed resource pool size.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;THRESHOLD_RP_MAX_MEMORY&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


The maximum allowed resource pool size.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires an &lt;a href=&#34;../../../../en/connecting-to/management-api/rest-apis-mc/mc-user-apikey/&#34;&gt;MC-User-Apikey&lt;/a&gt; in the request header.&lt;/p&gt;
&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?category=thresholds&amp;amp;subcategory=&lt;/code&gt;&lt;em&gt;&lt;code&gt;&amp;lt;subcategory_filter&amp;gt;&lt;/code&gt;&lt;/em&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;combine-the-thresholds-category-filter-with-a-sub-category-filter&#34;&gt;Combine the thresholds category filter with a sub-category filter&lt;/h2&gt;
&lt;p&gt;This example shows how you can request alerts using cURL with the thresholds category filter and a sub-category filter. You apply the following filters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;THRESHOLDS&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;THRESHOLD_NODE_CPU&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?category=thresholds&amp;amp;subcategory=threshold_node_cpu
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[
   {
      &amp;#34;alerts&amp;#34;:[
         {
            &amp;#34;id&amp;#34;:11749,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 11:04:43.997&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 11:04:43.997&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:105,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1443122180317_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Database: mydb Lower than threshold Node CPU 10 %   v_mydb_node0002 ;1.03%  v_mydb_node0003 ;0.9%  v_mydb_node0001 ;1.36%  &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Threshold : Node CPU &amp;lt; 10 %&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:11744,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 10:59:46.107&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 10:59:46.107&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb2&amp;#34;,
            &amp;#34;databaseId&amp;#34;:106,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1443552354071_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Database: mydb2 Lower than threshold Node CPU 10 %   v_mydb2_node0002 ;0.83%  v_mydb2_node0001 ;1.14%  &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Threshold : Node CPU &amp;lt; 10 %&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         }
      ],
      &amp;#34;total_alerts&amp;#34;:2,
      &amp;#34;request_query&amp;#34;:&amp;#34;category=thresholds&amp;amp;subcategory=threshold_node_cpu&amp;#34;,
      &amp;#34;request_time&amp;#34;:&amp;#34;2015-11-05 11:05:28.116&amp;#34;
   }
]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;request-an-alert-on-a-specific-resource-pool&#34;&gt;Request an alert on a specific resource pool&lt;/h2&gt;
&lt;p&gt;This example shows how you can request alerts using cURL on a specific resource pool. The name of the resource pool is &lt;code&gt;resourcepool1&lt;/code&gt;. You apply the following filters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;THRESHOLDS&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;RP_NAME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;THRESHOLD_RP_QUERY_RUN_TIME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;curl -H &amp;#34;MC-User-ApiKey: ValidUserKey&amp;#34; https://&amp;lt;MC_NODE&amp;gt;:5450/webui/api/alerts?category=thresholds&amp;amp;subcategory=threshold_rp_query_run_time&amp;amp;rp_name=resourcepool1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[
   {
      &amp;#34;alerts&amp;#34;:[
         {
            &amp;#34;id&amp;#34;:6525,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 14:25:36.797&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 14:25:36.797&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:106,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1443552354071_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Resource Pool: resourcepool1  Threshold Name: Ended Query with Run Time Exceeding Limit  Time Interval: 14:20:36 to 14:25:36  Threshold Value: 0 min(s)  Actual Value: 2186 query(s) &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Resource Pool: resourcepool1; Threshold : Ended Query with Run Time Exceeding Limit &amp;gt; 0 min(s)&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         },
         {
            &amp;#34;id&amp;#34;:6517,
            &amp;#34;markedRead&amp;#34;:false,
            &amp;#34;eventTypeCode&amp;#34;:2,
            &amp;#34;create_time&amp;#34;:&amp;#34;2015-11-05 14:20:39.541&amp;#34;,
            &amp;#34;updated_time&amp;#34;:&amp;#34;2015-11-05 14:20:39.541&amp;#34;,
            &amp;#34;severity&amp;#34;:&amp;#34;warning&amp;#34;,
            &amp;#34;status&amp;#34;:1,
            &amp;#34;databaseName&amp;#34;:&amp;#34;mydb&amp;#34;,
            &amp;#34;databaseId&amp;#34;:106,
            &amp;#34;clusterName&amp;#34;:&amp;#34;1443552354071_cluster&amp;#34;,
            &amp;#34;description&amp;#34;:&amp;#34; Resource Pool: resourcepool1  Threshold Name: Ended Query with Run Time Exceeding Limit  Time Interval: 14:15:39 to 14:20:39  Threshold Value: 0 min(s)  Actual Value: 2259 query(s) &amp;#34;,
            &amp;#34;summary&amp;#34;:&amp;#34;Resource Pool: resourcepool1; Threshold : Ended Query with Run Time Exceeding Limit &amp;gt; 0 min(s)&amp;#34;,
            &amp;#34;internal&amp;#34;:false,
            &amp;#34;count&amp;#34;:1
         }
      ],
      &amp;#34;total_alerts&amp;#34;:14,
      &amp;#34;request_query&amp;#34;:&amp;#34;category=thresholds&amp;amp;subcategory=threshold_rp_query_run_time&amp;amp;rp_name=resourcepool1&amp;#34;,
      &amp;#34;request_time&amp;#34;:&amp;#34;2015-11-05 11:07:43.988&amp;#34;
   }
]
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
