Merge branch 'master' into master

pull/5342/head
Jan K. 1 week ago committed by GitHub
commit 0b80487c3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1443,12 +1443,15 @@ message HealthCheckResponse {
}
}
// Set a default timeout if the monitor type has changed or if it's a new monitor
if (oldType || this.isAdd) {
if (this.monitor.type === "snmp") {
// snmp is not expected to be executed via the internet => we can choose a lower default timeout
this.monitor.timeout = 5;
} else {
this.monitor.timeout = 48;
}
}
// Set default SNMP version
if (!this.monitor.snmpVersion) {

Loading…
Cancel
Save