use admin UI to remote start/stop registered boot applications
Is there a way to use Spring-boot-admin UI to remote start/stop registered spring boot apps? Since right now we can only view its registered app status but I wish we can get some remote control on these apps. PS. I would love to do the implementation if someone can give me some instructions on this.
The JMX endpoints should give you this ability. Restart will only be available (to my knowledge) if you are using Spring Cloud or have written your own JMX operation but the shutdown of available via Spring Actuator should be available.
-Steve On Sep 2, 2015 11:26 PM, "Lei" [email protected] wrote:
Is there a way to use Spring-boot-admin UI to remote start/stop registered spring boot apps? Since right now we can only view its registered app status but I wish we can get some remote control on these apps.
— Reply to this email directly or view it on GitHub https://github.com/codecentric/spring-boot-admin/issues/99.
as steve pointed out, we could add support for the spring-cloud features. But in case you haven't got a running process to interact with, spring boot admin can't do anything. In my opinion you should rely on your OSs features to start and stop a process. For example as a init.d-service or in cas you are using docker by controlling your container via kubernetes or sth. else.
thanks for the information. I will go for the OS way to do the remote control.
Spring Boot and Supervisord are a nice combination. I created a small Python tool supervisorclusterctl which uses Ansible to control a cluster of Supervisord daemons remotely. But you could also use Ansible directly.
Is this enhancement implemented now? to start/stop a client application registered to the admin-server? or is there a way to customize the admin-server in such a way that it will facilitate this requirement? Sincerely, a novice looking for some help
As there has not been an update to this issue in a long time I'm closing it. Feel free to reopen it if you think there is still something to be done.