You need to install the Mime::Lite perl modules. The one you found with locate is NetAddr::IP::Lite.<br><br>Assuming CentOS/RHEL with EPEL/rpmforge repositories enabled... "yum install perl-MIME-Lite" should do the trick.<br>
<br>Steve<br><br><br><br><br><div class="gmail_quote">On 20 April 2012 16:05, Don Kuhlman <span dir="ltr"><<a href="mailto:Don.Kuhlman@schawk.com">Don.Kuhlman@schawk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif">
<div style>Hi folks. I have been working this week on trying to customize email alerts coming from xymon to our support team.</div>
<div style>I downloaded the html_Mail.pl script from the scripts pages.</div>
<div style>I have been trying to get it to work via alerts.cfg but it's not.  When I activiated it, I also noticed that other email alerts I had stopped coming.</div>
<div style><br>
</div>
<div style>Here is a snip from alerts.cfg where I defined it:</div>
<div style><br>
</div>
<div style>
<div>#Macro definitions for email</div>
<div>$SRMCUSTOM=SCRIPT /home/xymon/server/ext/<a href="http://html_mail.pl" target="_blank">html_mail.pl</a> <a href="mailto:me@schawk.com" target="_blank">me@schawk.com</a> FORMAT=PLAIN</div>
</div>
<div style><br>
</div>
<div style>If there are errors in the perl code, would this cause all of the other email alerts not to work too or only this piece?</div>
<div style>Where can I find the errors or logs that may be generated from this by the alerts module?</div>
<div style><br>
</div>
<div style>======================</div>
<div style>Here is the error I get when I try to run the <a href="http://html_mail.pl" target="_blank">html_mail.pl</a> from a command line on our xymon server (for testing):</div>
<div style><br>
</div>
<div>
<div style><br>
</div>
<div>
<div style>./<a href="http://html_mail.pl" target="_blank">html_mail.pl</a></div>
<div style><font color="#ff2500">Can't locate MIME/Lite.pm in @IN</font>C (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./<a href="http://html_mail.pl" target="_blank">html_mail.pl</a> line 31.</div>
<div><font color="#ff2500">BEGIN failed--compilation aborted at ./<a href="http://html_mail.pl" target="_blank">html_mail.pl</a> line 31.</font></div>
<div style><br>
</div>
<div style>locate Lite.pm</div>
<div style>/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/NetAddr/IP/Lite.pm</div>
</div>
<div style><br>
</div>
<div><font color="#ff2500">Line 31 contains:</font></div>
<div style><br>
</div>
<div style>Use MIME::Lite;</div>
</div>
<div style><br>
</div>
<div style>Thanks</div>
<div style><br>
</div>
<div style>Don K</div>
<div style><br>
</div>
</div>

<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br>