Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
alerts:html_mail2.0 [2016/03/21 07:54] – [My Alert (CHANGEME)] helge | alerts:html_mail2.0 [2016/03/21 11:58] (current) – [Installation] helge | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
^ Author | [[ helge.jacobsen@atos.net | Helge Jacobsen]] | | ^ Author | [[ helge.jacobsen@atos.net | Helge Jacobsen]] | | ||
Line 26: | Line 26: | ||
-Make the script executable:< | -Make the script executable:< | ||
chmod 755 html_mail.pl</ | chmod 755 html_mail.pl</ | ||
+ | -Be sure that you have MIME:: | ||
+ | |||
- Add the following line in whichever alert for which you want messages < | - Add the following line in whichever alert for which you want messages < | ||
- | SCRIPT [XYMON_SERVER_ROOT]/ | + | SCRIPT [XYMON_SERVER_ROOT]/ |
- | - 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/ |
+ | SCRIPT [XYMON_SERVER_ROOT]/ | ||
+ | |||
+ | |||
+ | - 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 78: | ||
use strict; | use strict; | ||
- | use lib "/ | + | # only necessary if you have no access to the perl system libs |
+ | # use lib "/ | ||
use MIME::Lite; | use MIME::Lite; | ||