Unfortunately, the problem was not sending email as both sendmail and relevant perl modules were installed and tested. Any other ideas? On Wed, Jun 16, 2004 at 10:18:58AM -0400, Dan McGinn-Combs wrote: > Dez, > 1) By defining a mailhost, you are telling Smokeping to use the perl > based SMTP functionality in NET::SMTP. If you do not have this loaded, > it will not work. > 2) Test your sendmail/SMTP functionality outside of Smokeping first. > Using sendmail (if that's what you so) try this: > Good luck! > Dan >> -----Original Message----- >> Sent: Wednesday, June 16, 2004 9:50 AM >> To: [EMAIL PROTECTED] >> Subject: [smokeping-users] smokeping email alerts >> I've been trying to set up simple email alerts for smokeping targets >> just to >> get the hang of it. I do not receive any email alerts and I cant seem to >> find >> something wrong in my conf. Could anybody help? >> Here's the relevant part of my config: >> *** General *** >> mailhost = smokehost.domain.com >> sendmail = /usr/lib/sendmail >> # specify this to get syslog logging >> syslogfacility = local0 >> *** Alerts *** >> to = [EMAIL PROTECTED] >> from = [EMAIL PROTECTED] >> +testloss >> type = loss >> # in percent >> pattern = ==0%,==0%,==0%,==0%,>0% >> comment = test packet loss >> +hostdown >> type = loss >> # in percent >> pattern = ==0%,==0%,==0%, ==U >> comment = no reply >> *** Probes *** >> + FPing >> binary = /usr/local/bin/sfping >> *** Targets *** >> probe = FPing >> ++++++ loco >> menu = aaa >> title = aaa >> host = a.b.c.d >> alerts = hostdown,testloss >> ### end of config ###
>> Now, what I do to test my alerts is create a firewall rule to reject all >> ICMP traffic >> towards a.b.c.d and wait for the email alert, which never comes :( >> Any syggestions? -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/smokeping-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
