Permalink
Browse files

Finish adding NEMS alias to notifications

  • Loading branch information...
NEMS Linux
NEMS Linux committed Oct 29, 2018
1 parent 516ad30 commit 89b0ccd4facf3c67a7f962b37d6c74c5f31f9281
Showing with 10 additions and 0 deletions.
  1. +10 −0 data/1.5/nagios/plugins/nems_sendmail_service
@@ -187,6 +187,7 @@ $message = '
***** Nagios *****
Notification Type: ' .$f_notify_type. '
NEMS Server: ' . $nems['alias'] . '
Service: ' .$f_serv_desc. '
Hostname: ' .$f_host_name. '
Hostalias: ' .$f_host_alias. '
@@ -367,6 +368,15 @@ $HTMLmessage = '
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;width:100%;border-left-style: solid;border-right-style: solid;border-color: #d3d3d3;border-width: 1px;">
<td style="font-size:16px;vertical-align:top;">&nbsp;</td>
<td style="font-size:9px;vertical-align:top;">&nbsp;</td>
<tbody>
<tr>
<td width="98%" style="vertical-align:middle;font-size:14px;width:98%;margin:0 10px 0 10px;">
<h4 style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; margin:0; font-size:15px; color:#b0b0b0; padding-left:3%; text-decoration:underline;">NEMS Server:</h4>
<h2 style="font-family: CoconPro-BoldCond, Open Sans, Verdana, sans-serif; margin:0; font-size:20px; padding-left:5%;">' . $nems['alias'] . '</h2>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td width="98%" style="vertical-align:middle;font-size:14px;width:98%;margin:0 10px 0 10px;">

0 comments on commit 89b0ccd

Please sign in to comment.