digimer
c039c58128
* This commit moves taking screenshots of hosted servers onto the strikers using the Sys::Virt module. This was needed because the screenshots were being taken by scan-server, and that was causing it to take a long time to run. It should never have been handled by the scan agent anyway. This update requires a WebUI fix to use the new screenshot tool. This tool also adds holding multiple screenshots to allow users to "scrub" through screenshots up to 10 hours in the past.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-22 17:15:09 -04:00
Tsu-ba-me
b549ff2c1f
fix(tools): reduce unnecessary operations in anvil-get-server-screenshot
2023-07-13 00:40:39 -04:00
Tsu-ba-me
ffd41b1dfa
fix(tools): enable anvil-get-server-screenshot to send screenshot to multiple hosts
2023-07-03 04:46:06 -04:00
digimer
fea10e5bb1
* Prefixed all 'virsh' calls with 'setsid --wait' to help prevent future hangs if the call happens without a shell.
...
* Updated anvil-manage-server-storage to the point where it can now insert and eject optical disks!
* Updated System->call to log parameters if 'shell_call' isn't set.
* Fixed a bug in anvil-manage-server process_interactive where an $anvil->data reference was being scoped.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-03-03 14:42:28 -05:00
Tsu-ba-me
58d09cb08c
fix(tools): make server screenshot write to named pipe non-blocking
2023-02-02 23:18:26 -05:00
Tsu-ba-me
eb561d6d39
fix(tools): always send to pipe when given request host
2023-02-02 19:21:56 -05:00
Tsu-ba-me
3802c72912
fix(tools): check server state before getting screenshot
2023-02-02 18:25:33 -05:00
Tsu-ba-me
a9cc123300
fix(tools): exit at end of anvil-get-server-screenshot
2023-02-02 17:11:56 -05:00
Tsu-ba-me
bb02d556d4
fix(tools): add output file id switch to anvil-get-server-screenshot
2022-11-28 14:37:18 -05:00
Tsu-ba-me
e5fc75f306
fix(tools): fetch and send server screenshot from node to striker that made the request
2022-11-28 14:37:18 -05:00
Tsu-ba-me
e14b1fc93e
fix(tools): use absolute paths in anvil-get-server-screenshot
2022-11-28 14:37:18 -05:00
Tsu-ba-me
4b03be4bc3
fix(tools): restrict get server screenshot output to stdout
2022-11-28 14:37:18 -05:00
Tsu-ba-me
2c1f400222
fix(tools): avoid using undef resize args when getting server screenshot
2022-11-28 14:37:18 -05:00
Tsu-ba-me
7b14433588
fix(tools): always convert server screenshot to PNG
2022-11-28 14:37:18 -05:00
Tsu-ba-me
374f88acb7
fix(tools): use --quiet when getting server screenshot
2022-11-28 14:37:18 -05:00
Tsu-ba-me
f61527edf7
fix(tools): save screenshots to states table
2021-09-03 16:21:55 -04:00
Tsu-ba-me
c1859bc8d8
fix(tools): use netpbm tools instead of imagemagick
2021-09-03 16:21:55 -04:00
Tsu-ba-me
65613f501b
fix(tools): add option to resize server screenshot
2021-09-03 16:21:55 -04:00
Tsu-ba-me
da6b4d39c6
fix(tools): disable line wrap in image Base64 output
2021-09-03 16:21:55 -04:00
Tsu-ba-me
4ef231b567
fix(tools): prevent too frequent inserts of server VM screenshots
2021-09-03 16:21:55 -04:00
Tsu-ba-me
1014299d38
fix(tools): enable anvil-get-server-screenshot to be a job
2021-09-03 16:21:55 -04:00
Tsu-ba-me
f97a820b48
feat(tools): add script to take screenshot of server VM
2021-09-03 16:21:55 -04:00