spring-boot-admin icon indicating copy to clipboard operation
spring-boot-admin copied to clipboard

use admin UI to remote start/stop registered boot applications

Open zergxyz opened this issue 11 years ago • 6 comments

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.

zergxyz avatar Sep 03 '15 03:09 zergxyz

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.

steve-oakey avatar Sep 03 '15 15:09 steve-oakey

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.

joshiste avatar Sep 08 '15 21:09 joshiste

thanks for the information. I will go for the OS way to do the remote control.

zergxyz avatar Jan 20 '16 21:01 zergxyz

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.

RobWin avatar Feb 02 '16 11:02 RobWin

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

knockingOn avatar Jun 18 '20 13:06 knockingOn

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.

andreashouben avatar Jan 08 '21 14:01 andreashouben