Hi Chandrashekaran, You can use the logic which i generally use to stop/start and monitor failures from either relationship or bullentins. Use Reporting Tasks from Global Menu - Controller Settings to monitor bulletins, memory use and other critical information. These reporting tasks needed to be configured with certain ports which gets triggered whenever there is a active failures (bullentins, memory use etc). Connect the configured ports to your dataflow which handles stopping the processors you would want on failures. Stopping processors can be achieved through NiFi REST APIs.
Further, there is a nice blog from Pierre on configuring reporting tasks. https://pierrevillard.com/2017/05/13/monitoring-nifi-site2site-reporting-tasks/ Thanks & Regards, Nadeem -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/