[pbs-devel] applied-series: [PATCH proxmox-backup 0/3] add system report

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 4 08:49:16 CET 2020


On 03.11.20 13:29, Hannes Laimer wrote:
> Adds api endpoint, webui element and cli command for system report generation.
> Changing the information the report includes should be straight forward(in server/report.rs),
> it is possible to specify files, commands and function calls that should
> be included in the report.
> 
> Hannes Laimer (3):
>   report: add api endpoint and function to generate report
>   report: add webui button for system report
>   manager: add report cli command
> 
>  src/api2/node.rs                  |  2 +
>  src/api2/node/report.rs           | 35 ++++++++++++++
>  src/bin/proxmox-backup-manager.rs | 18 ++++++++
>  src/server.rs                     |  3 ++
>  src/server/report.rs              | 77 +++++++++++++++++++++++++++++++
>  www/Subscription.js               | 75 +++++++++++++++++++++++++++++-
>  6 files changed, 209 insertions(+), 1 deletion(-)
>  create mode 100644 src/api2/node/report.rs
>  create mode 100644 src/server/report.rs
> 



applied series, thanks! FYI, I did some additions on top:
 
* lsblk's argument for ASCII output needs two dashes, --ascii vs. -ascii

* just use the method in manager CLIU command directly, we do not win anything
  here by letting it connected to the API, also, it could hurt if a case has
  issues with said API daemon - they may not be able to get the report anymore
  for our enterprise support.

* added some more commands and configs, like ZFS related ones for example.






More information about the pbs-devel mailing list