Permalink
Browse files

Small tweaks to notifications

  • Loading branch information...
NEMS Linux
NEMS Linux committed Nov 5, 2018
1 parent 4e3df53 commit 43085980f4e15582efb74cf210a579f222a5148d
Showing with 26 additions and 0 deletions.
  1. +13 −0 data/1.5/nagios/plugins/nems_sendmail_host
  2. +13 −0 data/1.5/nagios/plugins/nems_sendmail_service
@@ -20,6 +20,8 @@ with special permission from Heini Holm Andersen.
header('Content-Type: text/html; charset=utf-8');
$ver = shell_exec('/usr/local/bin/nems-info nemsver');
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
@@ -464,6 +466,17 @@ $HTMLmessage = '
</tr>
</table>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;">
<tr>
<td style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; vertical-align:middle; color: #999999; text-align: center; padding: 40px 10px;width: 100%;" class="x-gmail-data-detectors">
<span style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; color:#999999; text-align:center;">
Report Generated by <a href="https://nemslinux.com/" style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; text-decoration:underline; color:#000000;">NEMS Linux</a> ' . $ver . '
</span>
<br>
</td>
</tr>
</table>
<!--[if mso]>
</td>
</tr>
@@ -20,6 +20,8 @@ with special permission from Heini Holm Andersen.
header('Content-Type: text/html; charset=utf-8');
$ver = shell_exec('/usr/local/bin/nems-info nemsver');
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
@@ -489,6 +491,17 @@ $HTMLmessage = '
</tr>
</table>
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;">
<tr>
<td style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; vertical-align:middle; color: #999999; text-align: center; padding: 40px 10px;width: 100%;" class="x-gmail-data-detectors">
<span style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; color:#999999; text-align:center;">
Report Generated by <a href="https://nemslinux.com/" style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; text-decoration:underline; color:#000000;">NEMS Linux</a> ' . $ver . '
</span>
<br>
</td>
</tr>
</table>
<!--[if mso]>
</td>
</tr>

0 comments on commit 4308598

Please sign in to comment.