Yuriy Zhilovets 5 years ago
parent
commit
3e31236e71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      telegram.pl

+ 1 - 1
telegram.pl

@@ -114,7 +114,7 @@ post "/alert" => sub
     my $message = $alert->{status} eq "firing" ? "\x{1F534}" : "\x{1F197}";
     $message .= "` [" . ($alert->{labels}->{server}||"") . "] " . $alert->{labels}->{alertname} . " " .$alert->{labels}->{instance} 
                 . " " . $alert->{labels}->{job} . "`\n";
-    $message .= $alert->{annotations}->{summary} . "\n" . "<i>" . $alert->{annotations}->{description} . "</i>";  
+    $message .= $alert->{annotations}->{summary} . "\n" . "_" . $alert->{annotations}->{description} . "_";  
     notify($channel, $message, {});
   }