Skip to content

Instantly share code, notes, and snippets.

@matejak
Last active December 15, 2015 04:50
Show Gist options
  • Save matejak/5204583 to your computer and use it in GitHub Desktop.
Save matejak/5204583 to your computer and use it in GitHub Desktop.
index d3bd505..68349fd 100755
--- a/contrib/notifications/sendmailhost.pl
+++ b/contrib/notifications/sendmailhost.pl
@@ -54,7 +54,7 @@ if ($HOSTSTATE =~ /UNREACHABLE/) {
$texthtml = $texthtml . "<strong>Impacted host</strong> : $HOSTNAME\n"
. "<strong>Address</strong> : <i>$HOSTADDRESS</i> \n"
- . "<strong>Host State : <span style='color:$color> $HOSTSTATE </span></strong>\n"
+ . "<strong>Host State : <span style='color:$color'> $HOSTSTATE </span></strong>\n"
. "<strong>Date/Time</strong> : <i>$SHORTDATETIME</i> \n\n"
. "<strong>Host Output</strong> : $HOSTOUTPUT \n\n\n\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment