Support Questions
Find answers, ask questions, and share your expertise

pg-disable-services with cli.sh (nifi toolkit) doesn't disable services

pg-disable-services with cli.sh (nifi toolkit) doesn't disable services

Hi,

I want to disable services of a process group with cli.sh. But the command doesn't change the state of the services.

All the 54 processors of the processGroup are stopped.

Services stay at "ENABLED" state.

Has anyone tried this command with success ?

Commands line in attachement file

Thanks for your feedback

Thierry

104486-capt1.png

1 REPLY 1

Re: pg-disable-services with cli.sh (nifi toolkit) doesn't disable services

New Contributor

Hi Thierry,

First get a list of the services running under your PG

nifi pg-get-services -u yournifiurl -pgid processgroupid

 

Then use disable-services to stop or enable-services to start your service

nifi disable-services -u yournifiurl -cs serviceidyouwouldliketostop

 

Happy coding!

Greetz,

Geriku