[pbs-devel] [PATCH 2/2] report: add tape, traffic control and disk infos

Aaron Lauterer a.lauterer at proxmox.com
Mon Feb 7 14:37:30 CET 2022


Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
Picked up where I left off a few months ago with the disk/by-* stuff.
In the meantime we got more stuff like tape/media pools and the traffic
control.

 src/server/report.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/server/report.rs b/src/server/report.rs
index 7dd2b29c..d8e213ac 100644
--- a/src/server/report.rs
+++ b/src/server/report.rs
@@ -12,6 +12,9 @@ fn files() -> Vec<&'static str> {
         "/etc/proxmox-backup/remote.cfg",
         "/etc/proxmox-backup/sync.cfg",
         "/etc/proxmox-backup/verification.cfg",
+        "/etc/proxmox-backup/tape.cfg",
+        "/etc/proxmox-backup/media-pool.cfg",
+        "/etc/proxmox-backup/traffic-control.cfg",
     ]
 }
 
@@ -22,6 +25,7 @@ fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
         ("proxmox-backup-manager", vec!["subscription", "get"]),
         ("df", vec!["-h"]),
         ("lsblk", vec!["--ascii"]),
+        ("ls", vec!["-l", "/dev/disk/by-id", "/dev/disk/by-path"]),
         ("zpool", vec!["status"]),
         ("zfs", vec!["list"]),
     ]
-- 
2.30.2






More information about the pbs-devel mailing list