alerts:html_mail2.0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
alerts:html_mail2.0 [2016/03/21 07:53] – [html_mail.pl] helgealerts:html_mail2.0 [2016/03/21 08:14] – [html_mail.pl] helge
Line 1: Line 1:
-====== My Alert (CHANGEME) ======+====== Advanced HTML/Plain Alarm Mail ======
  
 ^ Author | [[ helge.jacobsen@atos.net | Helge Jacobsen]] | ^ Author | [[ helge.jacobsen@atos.net | Helge Jacobsen]] |
Line 5: Line 5:
 ^ Requirements | Perl, MIME::Lite | ^ Requirements | Perl, MIME::Lite |
 ^ Download | None | ^ Download | None |
-^ Last Update | 2016-03-14 |+^ Last Update | 2016-03-21 |
  
 ===== Description ===== ===== Description =====
Line 28: Line 28:
   - Add the following line in whichever alert for which you want messages <code>   - Add the following line in whichever alert for which you want messages <code>
   SCRIPT [XYMON_SERVER_ROOT]/ext/html_mail.pl [RECIPIENT] FORMAT=PLAIN</code>   SCRIPT [XYMON_SERVER_ROOT]/ext/html_mail.pl [RECIPIENT] FORMAT=PLAIN</code>
-  - And of course you replace [XYMON_SERVER_ROOT] with the full path to your xymon server directory (e.g. /usr/lib/hobbit/server ).+  If you want enable/disable notification : <code> 
 +  SCRIPT [XYMON_SERVER_ROOT]/ext/html_mail.pl [RECIPIENT] FORMAT=PLAIN INFO </code> 
 +   
 +    
 +  - And of course you replace [XYMON_SERVER_ROOT] with the full path to your xymon server directory  
 +(e.g. /home/xymon/server ).
  
 ===== Source ===== ===== Source =====
Line 71: Line 76:
    
 use strict; use strict;
-use lib "/home/xymon/lib/perl";+# only necessary if you have no access to the perl system libs 
 +use lib "/home/xymon/lib/perl"; 
 use MIME::Lite; use MIME::Lite;
    
  • alerts/html_mail2.0.txt
  • Last modified: 2016/03/21 11:58
  • by helge