I'm trying to stop about 20 services running on a remote server managed by Supervisord in one XMLRPC call.
However, I want to exclude certain processes from it, it would be great if I could do something along the lines of:
stopAllProcesses(exclude=["monitorapp","nagios"])
Alternatively, I do have a list of all the processes available to me so even doing something like the below is better than actually stopping ALL services or doing 20 individual calls:
stopProcess(["process1","process2","process3"])
which is much better than doing:
stopProcess("process1")
stopProcess("process2")
stopProcess("process3")
Any help would be greatly appreciated!
Thanks