From 6425170cdb9d4db7ced81131b41eafee92080ab1 Mon Sep 17 00:00:00 2001
From: Robert Latta <robert.latta@geant.org>
Date: Thu, 3 Apr 2025 09:54:44 +0100
Subject: [PATCH] corrected checked oid. RE DBOARD3-1152

---
 inventory_provider/nokia.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inventory_provider/nokia.py b/inventory_provider/nokia.py
index 54693ee..78e8c74 100644
--- a/inventory_provider/nokia.py
+++ b/inventory_provider/nokia.py
@@ -225,7 +225,7 @@ def _default_snmp_interface_info(interface_, name_field, communities):
     return {
         'name': interface_[name_field],
         'index': index,
-        'oids': [f'{snmp.IF_ADMIN_STATUS}.{index}'],
+        'oids': [f'{snmp.IF_OPER_STATUS}.{index}'],
         'communities': communities
     }
 
-- 
GitLab