[pmg-devel] [PATCH pmg-api] report: add ip route information

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Apr 15 15:18:34 CEST 2024


See:
 - https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=44a3f31639c61633f76320b73a02d5c9fc81561d
 - https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=65398596804a86db73411ec8e34aecab2a765239

for the corresponding commits against pvereport.

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 src/PMG/Report.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PMG/Report.pm b/src/PMG/Report.pm
index 100a197..79060a0 100644
--- a/src/PMG/Report.pm
+++ b/src/PMG/Report.pm
@@ -36,6 +36,8 @@ my $report_def = {
     ],
     network => [
 	'ip -details -statistics address',
+	'ip -details -4 route show',
+	'ip -details -6 route show',
 	'cat /etc/network/interfaces',
     ],
     firewall => [
-- 
2.39.2





More information about the pmg-devel mailing list