From 7e307e8ad67df005276099830e13ead9676ec8a8 Mon Sep 17 00:00:00 2001 From: Kreato Date: Mon, 6 Jan 2025 00:02:58 +0300 Subject: [PATCH] zimbraHealth: add highlighting to the Redmine issue --- zimbraHealth/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zimbraHealth/main.go b/zimbraHealth/main.go index 1b47416..8791f41 100644 --- a/zimbraHealth/main.go +++ b/zimbraHealth/main.go @@ -475,7 +475,7 @@ func CheckSSL() { common.PrettyPrintStr("SSL Certificate", true, fmt.Sprintf("expiring in %d days", days)) common.AlarmCheckDown("sslcert", "SSL Certificate is expiring in " + fmt.Sprintf("%d days", days), false) viewDeployedCert, _ := ExecZimbraCommand("zmcertmgr viewdeployedcrt") - issues.CheckDown("sslcert", common.Config.Identifier + " sunucusunun SSL sertifikası bitimine " + fmt.Sprintf("%d gün kaldı", days), "```" + viewDeployedCert + "```", false, 0) + issues.CheckDown("sslcert", common.Config.Identifier + " sunucusunun SSL sertifikası bitimine " + fmt.Sprintf("%d gün kaldı", days), "```json\n" + viewDeployedCert + "\n```", false, 0) } else { common.PrettyPrintStr("SSL Certificate", true, fmt.Sprintf("expiring in %d days", days)) common.AlarmCheckUp("sslcert", "SSL Certificate is expiring in " + fmt.Sprintf("%d days", days), false)