<?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: Raise alert from NiFi if file not available from GetSFTP processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163946#M49496</link>
    <description>&lt;P&gt;You can do the following:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;1. Schedule FetchSFTP processor for once a day arrival of file&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;2a. fork 'success' relationship to flow to process file when it arrives&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;2b fork 'not.found' relationship to PutEmail, where you configure recipients, email message (body), etc&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;You will have to use one FetchSFTP processor for each file that you expect to arrive in sftp location and you will have to know the name of the file.  You can reuse the PutEmail (by pointing multiple FetchSFTP not.found to same PutEmail) and have same recipients and email body but with filename dynamically written in body using expression language.  Alternatively, you can have each not.found connection connect to its own PutEmail.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2016 20:22:46 GMT</pubDate>
    <dc:creator>gkeys</dc:creator>
    <dc:date>2016-12-20T20:22:46Z</dc:date>
    <item>
      <title>Raise alert from NiFi if file not available from GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163945#M49495</link>
      <description>&lt;P&gt;I have a GetSFTP processor which is scanning for new files on a remote sftp server. A file is expected to arrive once a day. Is there a way with NiFi to raise an alert if a file is not received from the sftp site on a day?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:04:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163945#M49495</guid>
      <dc:creator>marcus_aidley</dc:creator>
      <dc:date>2016-12-20T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Raise alert from NiFi if file not available from GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163946#M49496</link>
      <description>&lt;P&gt;You can do the following:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;1. Schedule FetchSFTP processor for once a day arrival of file&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;2a. fork 'success' relationship to flow to process file when it arrives&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;2b fork 'not.found' relationship to PutEmail, where you configure recipients, email message (body), etc&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;You will have to use one FetchSFTP processor for each file that you expect to arrive in sftp location and you will have to know the name of the file.  You can reuse the PutEmail (by pointing multiple FetchSFTP not.found to same PutEmail) and have same recipients and email body but with filename dynamically written in body using expression language.  Alternatively, you can have each not.found connection connect to its own PutEmail.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:22:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163946#M49496</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-12-20T20:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Raise alert from NiFi if file not available from GetSFTP processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163947#M49497</link>
      <description>&lt;P&gt;Yes, use MonitorActivity processor: &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.MonitorActivity/index.html"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.MonitorActivity/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 21:29:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Raise-alert-from-NiFi-if-file-not-available-from-GetSFTP/m-p/163947#M49497</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2016-12-20T21:29:32Z</dc:date>
    </item>
  </channel>
</rss>

