From c8d937198ae8a4037fa3736d394338d7000fe243 Mon Sep 17 00:00:00 2001 From: jdubois Date: Mon, 18 Oct 2021 17:19:33 +0200 Subject: [PATCH] Indication identification interfaces switch --- HowtoCollectd.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/HowtoCollectd.md b/HowtoCollectd.md index 3b2230a8..05930a41 100644 --- a/HowtoCollectd.md +++ b/HowtoCollectd.md @@ -156,25 +156,25 @@ LoadPlugin snmp Type "if_octets" Table true - Instance "1.3.6.1.2.1.31.1.1.1.1" + Instance "1.3.6.1.2.1.31.1.1.1.18" Values "1.3.6.1.2.1.31.1.1.1.6" "1.3.6.1.2.1.31.1.1.1.10" Type "if_packets" Table true - Instance "1.3.6.1.2.1.31.1.1.1.1" + Instance "1.3.6.1.2.1.31.1.1.1.18" Values "1.3.6.1.2.1.31.1.1.1.7" "1.3.6.1.2.1.31.1.1.1.11" Type "if_errors" Table true - Instance "1.3.6.1.2.1.31.1.1.1.1" + Instance "1.3.6.1.2.1.31.1.1.1.18" Values "1.3.6.1.2.1.2.2.1.14" "1.3.6.1.2.1.2.2.1.20" Type "if_dropped" Table true - Instance "1.3.6.1.2.1.31.1.1.1.1" + Instance "1.3.6.1.2.1.31.1.1.1.18" Values "1.3.6.1.2.1.2.2.1.13" "1.3.6.1.2.1.2.2.1.19" # https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html @@ -356,4 +356,6 @@ LoadPlugin snmp Interval 1800 -~~~ \ No newline at end of file +~~~ + +Pour les switchs, si on veut identifier chaque interfaces avec son nom (par exemple Gi0/1) plutôt que sa description (définie avec la commande "description" dans la configuration de l'interface), il faut modifier la configuration `Instance "1.3.6.1.2.1.31.1.1.1.18"` par `Instance "1.3.6.1.2.1.31.1.1.1.1"` \ No newline at end of file