From 361a530cc906ad4b7af1ed0b6f71448af43e27cd Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Fri, 15 Sep 2023 17:31:22 +0100 Subject: [PATCH] chore: Collect route table using 'ip route' command (#79) Not all systems will have 'netstat' which the current default host collector spec uses to collect the route table information --- host/default.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host/default.yaml b/host/default.yaml index aa3fd6e..8c42242 100644 --- a/host/default.yaml +++ b/host/default.yaml @@ -143,6 +143,10 @@ spec: collectorName: "netstat-route-table" command: "netstat" args: ["-r", "-n"] + - run: + collectorName: "ip-route-table" + command: "ip" + args: ["route"] - run: collectorName: "sysctl" command: "sysctl"