wenn ich mittels CheckMK via SNMP die Werte vom Lancom Router abfragen möchte geht dies nur mit folgenden Sicherheitseinstellungen:
Was mich wundert, höher als "SHA 1" Version führt dazu dass CheckMK nicht mehr auslesen kann.
Und hier ist noch ein kurzes Skript um im Lancom einen entsprechenden User anzulegen:
Code: Alles auswählen
# Script (10.42.0284 / 25.03.2021) (0x0430c01c,IDs:2,3,4,e,f,14,15,1a,2b;0x0c0000e3)
lang English
flash No
cd /Setup/SNMP/Groups
# Security-Model Security-Name Group-Name Status
# ===================================================--------------------------------------------
add SNMPv3(USM) "checklive" {Group-Name} "SNMP-Checklive" {Status} active
cd /
cd /Setup/SNMP/Accesses
# Group-Name Security-Model Min-Security-Level Read-View-Name Write-View-Name Notify-View-Name Status
# ======================================================================----------------------------------------------------------------------------------------------------------------
add "SNMP-Checklive" Any Auth-Priv {Read-View-Name} "Full-Access" {Write-View-Name} "Full-Access" {Notify-View-Name} "Full-Access" {Status} active
cd /Setup/SNMP/Users
# User-Name Authentication-Protocol Authentication-Password Authentication-Key Privacy-Protocol Privacy-Password Privacy-Key Status
# ==================================-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
add "checklive" {Authentication-Protocol} HMAC-SHA {Authentication-Password} "XXXXXXXXXXX" {Authentication-Key} "aefc90XXXXXXXXXXXbde3f0f59" {Privacy-Protocol} AES128 {Privacy-Password} "XXXXXXXXXXX" {Privacy-Key} "aefc90XXXXXXXXXXX8bde3f0f59" {Status} active
cd /
cd /
flash Yes
# done
exit