mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 22:44:24 +08:00
Update bean model backend
Updates appropriate values async when editing the SNMP monitor
This commit is contained in:
@@ -161,6 +161,10 @@ class Monitor extends BeanModel {
|
||||
kafkaProducerMessage: this.kafkaProducerMessage,
|
||||
screenshot,
|
||||
remote_browser: this.remote_browser,
|
||||
snmpOid: this.snmpOid,
|
||||
snmpCondition: this.snmpCondition,
|
||||
snmpControlValue: this.snmpControlValue,
|
||||
snmpVersion: this.snmpVersion,
|
||||
};
|
||||
|
||||
if (includeSensitiveData) {
|
||||
@@ -190,6 +194,7 @@ class Monitor extends BeanModel {
|
||||
tlsCert: this.tlsCert,
|
||||
tlsKey: this.tlsKey,
|
||||
kafkaProducerSaslOptions: JSON.parse(this.kafkaProducerSaslOptions),
|
||||
snmpCommunityString: this.snmpCommunityString,
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user