Alerting

Alert not sending email

Path Finder
  • I copied alertactions.conf [email] stanza from .../default to .../local directory as alertactions.conf

  • I set up an alert to fire on the hour + 30. It does this successfully, however the email does not get sent.

  • When I created the alert the mailserver = was successfully changed in the alert_actions.conf

  • To make sure that the email could be sent, I successfully did a telnet 25 and sent an email from splunk@ to the recipient.

  • I noticed that after the alert fires, this entry changed in the alertactions.conf file, even though I opted for no authentication:
    auth
    password =
    auth_password = $1$0A==

  • python.log entry:

2014-03-27 11:30:03,019 Central Daylight Time ERROR sendemail:357 - Sending email. subject="Splunk Alert: Load Avg > 2",

resultslink="http://WKGSSSPLKAPCP01:8000/app/capacity/@go?sid=scheduleradmincapacityRMD5264977cbcc6fb61eat139593780018",
(this worked from a browser)

recipients="['my valid email address']"

Tags (2)
0 Karma

Path Finder

Solved. The problem was in the documentation stating that the sender could be just 'splunk' and the system would add the domain. Not so, and there are two places where you have to define the sender and it needs to be a full splunk@