mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 19:39:40 +08:00
Re-use monitor.radiusPassword for community string
This commit is contained in:
@@ -19,7 +19,7 @@ class SNMPMonitorType extends MonitorType {
|
||||
|
||||
let session;
|
||||
try {
|
||||
session = snmp.createSession(monitor.hostname, monitor.snmpCommunityString, options);
|
||||
session = snmp.createSession(monitor.hostname, monitor.radiusPassword, options);
|
||||
|
||||
// Handle errors during session creation
|
||||
session.on("error", (error) => {
|
||||
|
Reference in New Issue
Block a user