Hi Robert,

That did the trick... I did find the entry (below) in the
smokeping_config.txt file but the example is what I needed.

Thank you...


*alerts*

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.

A


On 10/23/07, Mersberger, Robert <[EMAIL PROTECTED]> wrote:
>
>  where in your config do you tell it to report these alerts.
>
> Here is an example of where I process alerts.
>
> + SNFs
> menu = SNF's
> title = Beverly Skilled Nursing Facilities
> alerts = bigloss,someloss,startloss,rttdetect
>
> This activates all 4 alerts for all sites under the SNF group.
>
> Hope this helps.  I am assuming you have mailhost defined in your config.
>
>
>
>  ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Mostro Mostro
> *Sent:* Tuesday, October 23, 2007 10:51 AM
> *To:* [email protected]
> *Subject:* [smokeping-users] Email Alerts?
>
> Hi everyone,
>
> 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.
>
> Anyway,
>
> 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.
>
> #!/usr/bin/perl
> use Net::SMTP;
> $smtp = Net::SMTP->new('mail.domian.com');
> $smtp->mail("[EMAIL PROTECTED] <[EMAIL PROTECTED]> ");
> $smtp->to("[EMAIL PROTECTED] <[EMAIL PROTECTED]>");
> $smtp->data();
> $smtp->datasend("Smokeping Rules\n");
> $smtp->dataend();
> $smtp->quit;
>
> sendmail also works from the command line.
>
> 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.
>
>
> +testloss
> type = loss
> # in percent
> pattern = ==0%,==0%,==0%,==0%,>0%
> comment = test packet loss
>
>
>
> Thanks in advance.
>
> Please consider the environment before printing this e-mail.
>
> CONFIDENTIAL NOTICE:
> This e-mail message and any attachment(s) (collectively, this 'Email') are
> intended
> only for the confidential use of the recipient(s) named above. If the
> reader of this
> message is not the intended recipient named above or an agent responsible
> for
> delivering it to the intended recipient named above, you have received
> this Email in error.
> Please notify the sender immediately and permanently delete this Email and
> any copies thereof.
>
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to