public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH 2/2] report: add tape, traffic control and disk infos
Date: Mon,  7 Feb 2022 14:37:30 +0100	[thread overview]
Message-ID: <20220207133730.2712279-2-a.lauterer@proxmox.com> (raw)
In-Reply-To: <20220207133730.2712279-1-a.lauterer@proxmox.com>

Signed-off-by: Aaron Lauterer <a.lauterer@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





  reply	other threads:[~2022-02-07 13:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 13:37 [pbs-devel] [PATCH 1/2] report: move subscription info further up Aaron Lauterer
2022-02-07 13:37 ` Aaron Lauterer [this message]
2022-02-07 14:38   ` [pbs-devel] applied: [PATCH 2/2] report: add tape, traffic control and disk infos Thomas Lamprecht
2022-02-07 14:37 ` [pbs-devel] applied: [PATCH 1/2] report: move subscription info further up Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220207133730.2712279-2-a.lauterer@proxmox.com \
    --to=a.lauterer@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal