panel icon indicating copy to clipboard operation
panel copied to clipboard

Custom diagnostic command on Node

Open NoxInmortus opened this issue 1 year ago • 0 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues before opening this feature request.

Describe the feature you would like to see.

On the admin panel, each node in the nodes management section would have a button "Diagnostic Request" or something of this kind.

This button could also be accessible on each server related to this node.

The idea is that when a Node is unreachable, there may be nobody available to fix the hidden issue and make it available again. This option could be used two different ways:

  • To be able to display an explanation of why the Node is down (e.g. trying to ping the server has failed), as an Admin that may not have ssh server on the node, or as an user which may be totally unaware of what may be happening
  • To be able to try to fix the issue with this pre-configured command (e.g. wakeonlan -i 192.168.1.15, the physical server may be currently shutdown)

Describe the solution you'd like.

On each node, in the Settings tab, two new entries would be available:

  • Diagnostic command, which would be allegedly be shell string (e.g. ping -c 3 wings.mydom.com)
  • A timeout parameter for the diagnostic command used to limit the diagnostic command request time of execution.

Once the "Diagnostic Request" button pressed, the underlying command would be executed and its result displayed on top of the page like every other return message.

Additional context to this request.

No response

NoxInmortus avatar Jul 21 '22 12:07 NoxInmortus