HI, FreeBSD Gurus !
Please suggest me tool/sys utility/script that :
- constantly running in a background under root privilege;
- saving local-attached terminal (monitor on server's VGA output, no any GUI used) screenshot to destination folder;
- periodically (hourly or daily, or certain day of week, or certain week of month) emailing with pre-defined message text (including server name, IP, time/date stamp, general info about hardware and installed software, general info about resources used (CPU load, MEM pressure, disk usage and I/O rates on the moment if email creating)) and the last of the screenshots attached;
Thank You a lot about all DETAILED suggestions.
Have a nice day!
P.S.
I well know about the MGMT/monitoring platforms like Prometheus, etc. exist, but I need/asking exactly shell script that doing that I asking for.
UPDATE (little bit explain from other angle of view)
As You may see by screenshots below in this thread, the are:
- rack server for hi-loading, w/ or w/o attached locally 17" monitor;
- after booting complete, the btop/bpytop automatically started on ttyv0 for server current state visual control by local tech stuff;
Also, there would be (and this is what I exactly asking for) some sh/zsh shell script to 24/7 periodically making screenshots (I think that would be "get dump of ttyv0 output, format it to bitmap and save as a .jpg/.png file) of btop/bpytop output (ASCII colors control, TUI interface), place this .jpg/.png to certain directory, and sending by schedule mail with this .jpg/.png attached and saving to remote cloud like Amazon S3/private collocation server/VPS).
Tech stuff using this "set of btop/bpytop states" as one of source of collected data for QC/QA (together with Prometheus, Grafana....).
Please suggest me tool/sys utility/script that :
- constantly running in a background under root privilege;
- saving local-attached terminal (monitor on server's VGA output, no any GUI used) screenshot to destination folder;
- periodically (hourly or daily, or certain day of week, or certain week of month) emailing with pre-defined message text (including server name, IP, time/date stamp, general info about hardware and installed software, general info about resources used (CPU load, MEM pressure, disk usage and I/O rates on the moment if email creating)) and the last of the screenshots attached;
Thank You a lot about all DETAILED suggestions.
Have a nice day!
P.S.
I well know about the MGMT/monitoring platforms like Prometheus, etc. exist, but I need/asking exactly shell script that doing that I asking for.
UPDATE (little bit explain from other angle of view)
As You may see by screenshots below in this thread, the are:
- rack server for hi-loading, w/ or w/o attached locally 17" monitor;
- after booting complete, the btop/bpytop automatically started on ttyv0 for server current state visual control by local tech stuff;
Also, there would be (and this is what I exactly asking for) some sh/zsh shell script to 24/7 periodically making screenshots (I think that would be "get dump of ttyv0 output, format it to bitmap and save as a .jpg/.png file) of btop/bpytop output (ASCII colors control, TUI interface), place this .jpg/.png to certain directory, and sending by schedule mail with this .jpg/.png attached and saving to remote cloud like Amazon S3/private collocation server/VPS).
Tech stuff using this "set of btop/bpytop states" as one of source of collected data for QC/QA (together with Prometheus, Grafana....).
Last edited: