I have 8 node cluster . NIFI is installed in only one cluster . i want to use a NiFi processor to trigger shell/python script on a remote machine .
Machine 1 - Nifi Installed in Machine 1
Machine 4 : Script has to be executed and files supporting the script is available in Machine 4(Script cannot be moved to Nifi node)
Please tell me
1.what processors should I use and how the flow should be . .
2.How to trigger Shell Script using Nifi on a remote machine .
3.How to Log the flow if possible in case of any error / failures and trigger a mail ( optional) i need this scenario for many use cases.
I have googled a lot , Execute script processor is having only ( Python,Ruby,grovvy etc..) not shell script in the list of options.
How to provide SSH username and key/password.