Forum Discussion

DanB's avatar
DanB
Icon for Advisor rankAdvisor
5 years ago

How can I reboot collector box from Debug Console?

Is it possible from the debug console to reboot the collector box? If so what command can I use to do this? 

TIA..

  • 14 hours ago, Stuart Weenig said:

    I don't think so. You can use `help` to show all available commands and reboot isn't one of them. Wouldn't make sense to put it there either since some collectors run inside containers which don't have a concept of rebooting.

    Theoretically, you can run a posh/groovy script from the debug. If you wrote a script to tell the localhost to reboot, that would do it.


    Yeah, just confirmed and that works.
    Passed the actual collector on the wild value of the !posh script context and it rebooted as expected

    Example command -> shutdown /r /f /t 0

  • Anonymous's avatar
    Anonymous

    I don't think so. You can use `help` to show all available commands and reboot isn't one of them. Wouldn't make sense to put it there either since some collectors run inside containers which don't have a concept of rebooting.

    Theoretically, you can run a posh/groovy script from the debug. If you wrote a script to tell the localhost to reboot, that would do it.