Hi Robert,<br><br>That did the trick... I did find the entry (below) in the smokeping_config.txt file but the example is what I needed.<br><br>Thank you...<br><br><br><dl><dt><strong><a name="item_alerts"><strong>alerts</strong>
</a></strong>
</dt><dd>
<p>A comma separated list of alerts to check for this target. The alerts have
to be setup in the Alerts section. Alerts are inherited by child nodes. Use
an empty alerts definition to remove inherited alerts from the current target
and its children.</p>
</dd></dl><br>A<br><br><br><div><span class="gmail_quote">On 10/23/07, <b class="gmail_sendername">Mersberger, Robert</b> <<a href="mailto:robert.mersberger@goldenven.com">robert.mersberger@goldenven.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>where in your config do you tell it to report these
alerts.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Here is an example of where I process
alerts.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>+ SNFs<br>menu = SNF's<br>title = Beverly Skilled
Nursing Facilities<br>alerts =
bigloss,someloss,startloss,rttdetect</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>This activates all 4 alerts for all sites under
the SNF group.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Hope this helps. I am assuming you have mailhost
defined in your config.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:smokeping-users-bounces@lists.oetiker.ch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">smokeping-users-bounces@lists.oetiker.ch</a>
[mailto:<a href="mailto:smokeping-users-bounces@lists.oetiker.ch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">smokeping-users-bounces@lists.oetiker.ch</a>] <b>On Behalf Of </b>Mostro
Mostro<br><b>Sent:</b> Tuesday, October 23, 2007 10:51 AM<br><b>To:</b>
<a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">smokeping-users@lists.oetiker.ch</a><br><b>Subject:</b> [smokeping-users] Email
Alerts?<br></font><br></div><div><span class="e" id="q_115cd9b7ef3cd8b4_1">
<div></div>Hi everyone,<br><br>I have Smokeping setup and monitoring a few
critical servers. I have two challenges left before I'm finished. One, getting
email alerts to work and two, zoom graphs. I will address the zoom graphs in a
later post. <br><br>Anyway,<br><br>Mail does leave the box using Net::Smtp. I
used the perl script (below) from a previous poster and it works. So this tell
me the Net::Smtp per module works, the firewall rules on the server work, and
destination mail server accepts my HELO. <br><br>#!/usr/bin/perl<br>use
Net::SMTP;<br>$smtp = Net::SMTP->new('<a href="http://mail.domian.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mail.domian.com</a>');<br>$smtp->mail("<a href="mailto:smokeping%5C@domian.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
smokeping\@domian.com</a>
");<br>$smtp->to("<a href="mailto:myname%5C@domian.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">myname\@domian.com</a>");<br>$smtp->data();<br>$smtp->datasend("Smokeping
Rules\n");<br>$smtp->dataend();<br>$smtp->quit;<br><br>sendmail also works
from the command line.<br><br>I have added this (below) to the config for
testing and place a bogus IP in the hosts file. I still do not recieve an email
and the mailq is empty.<br><br><br>+testloss<br>type = loss<br># in
percent<br>pattern = ==0%,==0%,==0%,==0%,>0%<br>comment = test packet
loss<br><br><br><br>Thanks in advance.<br><p></p></span></div><p>Please consider the environment before printing this e-mail. <br><br> CONFIDENTIAL NOTICE:<br>This e-mail message and any attachment(s) (collectively, this 'Email') are intended
<br>only for the confidential use of the recipient(s) named above. If the reader of this <br>message is not the intended recipient named above or an agent responsible for <br>delivering it to the intended recipient named above, you have received this Email in error.
<br>Please notify the sender immediately and permanently delete this Email and any copies thereof.</p></div>
</blockquote></div><br>