<?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>question Re: Is there an API to set Cloudera Manager monitoring thresholds? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282306#M209901</link>
    <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34572"&gt;@Kevin_Z&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Try this one:&lt;BR /&gt;&lt;A href="https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/resource_AllHostsResource.html" target="_blank"&gt;https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/resource_AllHostsResource.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And the config name is "host_agent_log_directory_free_space_absolute_thresholds", set the value and update it via PUT.&lt;BR /&gt;&lt;BR /&gt;Sample payload like below:&lt;BR /&gt;&lt;BR /&gt;"items" : [ {&lt;BR /&gt;"name" : "host_agent_log_directory_free_space_absolute_thresholds",&lt;BR /&gt;"value" : "{\"warning\":3221225472,\"critical\":1073741824}",&lt;BR /&gt;"sensitive" : false&lt;BR /&gt;}]&lt;BR /&gt;&lt;BR /&gt;Hope this can help.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
    <pubDate>Thu, 07 Nov 2019 05:35:05 GMT</pubDate>
    <dc:creator>EricL</dc:creator>
    <dc:date>2019-11-07T05:35:05Z</dc:date>
    <item>
      <title>Is there an API to set Cloudera Manager monitoring thresholds?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282301#M209898</link>
      <description>&lt;P&gt;I'd like to use API to set CM monitoring thresholds so I can deploy the modified ones on other CMs.&amp;nbsp; For example, to set '&lt;SPAN&gt;Cloudera Manager Agent Log Directory Free Space Monitoring Absolute Thresholds' Warning at 5GB and Critical to 2GB instead of using the default values. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure with&amp;nbsp; API to use by looking at&amp;nbsp; this webpage: &lt;A href="https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/index.html" target="_blank" rel="noopener"&gt;https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would anyone provide some help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 20:01:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282301#M209898</guid>
      <dc:creator>Kevin_Z</dc:creator>
      <dc:date>2019-11-07T20:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API to set Cloudera Manager monitoring thresholds?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282306#M209901</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34572"&gt;@Kevin_Z&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Try this one:&lt;BR /&gt;&lt;A href="https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/resource_AllHostsResource.html" target="_blank"&gt;https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/apidocs/resource_AllHostsResource.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And the config name is "host_agent_log_directory_free_space_absolute_thresholds", set the value and update it via PUT.&lt;BR /&gt;&lt;BR /&gt;Sample payload like below:&lt;BR /&gt;&lt;BR /&gt;"items" : [ {&lt;BR /&gt;"name" : "host_agent_log_directory_free_space_absolute_thresholds",&lt;BR /&gt;"value" : "{\"warning\":3221225472,\"critical\":1073741824}",&lt;BR /&gt;"sensitive" : false&lt;BR /&gt;}]&lt;BR /&gt;&lt;BR /&gt;Hope this can help.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 07 Nov 2019 05:35:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282306#M209901</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2019-11-07T05:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an API to set Cloudera Manager monitoring thresholds?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282384#M209962</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exactly I wanted!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10115"&gt;@EricL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 16:43:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Is-there-an-API-to-set-Cloudera-Manager-monitoring/m-p/282384#M209962</guid>
      <dc:creator>Kevin_Z</dc:creator>
      <dc:date>2019-11-07T16:43:31Z</dc:date>
    </item>
  </channel>
</rss>

