You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/model/monitor.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1520,7 +1520,7 @@ class Monitor extends BeanModel {
1520
1520
for(letnotificationofnotificationList){
1521
1521
try{
1522
1522
log.debug("monitor","Sending to "+notification.name);
1523
-
awaitNotification.send(JSON.parse(notification.config),`[${this.name}][${this.url}] ${certType} certificate ${certCN} will be expired in ${daysRemaining} days`);
1523
+
awaitNotification.send(JSON.parse(notification.config),`[${os.hostname()}] [${this.name}][${this.url}] ${certType} certificate ${certCN} will be expired in ${daysRemaining} days`);
1524
1524
sent=true;
1525
1525
}catch(e){
1526
1526
log.error("monitor","Cannot send cert notification to "+notification.name);
0 commit comments