Monitoring NiFi and 401 error api check
Hi everyone,
I've trying to monitoring nifi api. In our nifi we have configure oidc login and it works fine.
As monitoring, we using zabbix.
The problem in zabbix is when try to check api page (https://nificluster.info/nifi-api/flow/cluster/summary) and I receive http 401 error.
In the web scenario monitoring, I have configured 2 steps:
- connect to https://nificluster.info/nifi/ with login and password. This steps it's ok, the required string - "log out" - and required status code 200 works. In this step I've configured viariables username, password for logging and follow redirects flag enable.
- connect to api https://nificluster.info/nifi-api/flow/cluster/summary without any parameters except requird string with number of cluster nodes and required status code 200
.

