In general, it is a bad architecture to do monitoring via pull request. You should always push. I recommend a look at the book "The Art of Monitoring" by James Turnbull.
I also recommend the very good articles by Pierre Villard on the subject of NiFi monitoring at https://pierrevillard.com/2017/05/11/monitoring-nifi-introduction/. Hope this helps. Mit freundlichen Grüßen / best regards Kay-Uwe Moosheimer > Am 21.07.2021 um 16:45 schrieb Andrew Grande <apere...@gmail.com>: > > > Can't you leverage some of the recent nifi features and basically run sql > queries over NiFi metrics directly as part of the flow? Then act on it with a > full flexibility of the flow. Kinda like a push design. > > Andrew > >> On Tue, Jul 20, 2021, 2:31 PM scott <tcots8...@gmail.com> wrote: >> Hi all, >> I'm trying to setup some monitoring of all queues in my NiFi instance, to >> catch before queues become full. One solution I am looking at is to use the >> API, but because I have a secure NiFi that uses LDAP, it seems to require a >> token that expires in 24 hours or so. I need this to be an automated >> solution, so that is not going to work. Has anyone else tackled this problem >> with a secure LDAP enabled cluster? >> >> Thanks, >> Scott