<?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: Monitor Activity Issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Monitor-Activity-Issue/m-p/207046#M169007</link>
    <description>&lt;P&gt;The behavior of MonitorActivity is pretty flexible, so there are some more options. If you have it set up like this (just using GenerateFlowFile in place of QueryDatabaseTable here):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="77610-nifi-monitor-test-1.png" style="width: 2528px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16992i4E8172239DB4413E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="77610-nifi-monitor-test-1.png" alt="77610-nifi-monitor-test-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then MonitorActivity will send an alert (inactive) message once GenerateFlowFile has been idle for the Threshold Duration. In this example, GenerateFlowFile is set to trigger every 60 seconds on all nodes, and MonitorActivity is set with a 20-second ThresholdDuration on the Primary Node with cluster scope. &lt;/P&gt;&lt;P&gt;What this will generate is:&lt;/P&gt;&lt;P&gt;0 sec - GenerateFlowFile generates a batch of flowfiles, MonitorActivity flows the batch through to PutHDFS via SUCCESS path (on any node)&lt;/P&gt;&lt;P&gt;20 sec - MonitorAttribute generates inactive alert flowfile via INACTIVE path (on primary node)&lt;/P&gt;&lt;P&gt;60 sec - GenerateFlowFile generates a batch of flowfiles, MonitorActivity flows the batch through to PutHDFS via SUCCESS path (on any node), MonitorActivity generates ACTIVITY.RESTORED flowfile via ACTIVITY.RESTORED path (on primary node)&lt;/P&gt;&lt;P&gt;80 sec - MonitorAttribute generates inactive alert flowfile via INACTIVE path (on primary node)&lt;/P&gt;&lt;P&gt;120 sec - GenerateFlowFile generates a batch of flowfiles, MonitorActivity flows the batch through to PutHDFS via SUCCESS path (on any node), MonitorActivity generates ACTIVITY.RESTORED flowfile via ACTIVITY.RESTORED path (on primary node)&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;Is this the behavior you're looking for? If not, what is the specific desired behavior?&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 04:37:46 GMT</pubDate>
    <dc:creator>wcbdata</dc:creator>
    <dc:date>2019-08-18T04:37:46Z</dc:date>
  </channel>
</rss>

