TECHZEN Zenoss User Community ARCHIVE  

zenactionsd unable to send out email

Subject: zenactionsd unable to send out email
Author: J K
Posted: 2016-06-14 05:30

I've suddenly been unable to receive alerts and it seems zenactions d is failing as below:

2016-06-14 07:36:52,495 ERROR zen.actions: Notification 'AletingEmail' FAILED to send emails to set(['MYEMAILADD@DOMAIN.COM']): - Connection unexpectedly closed: timed out

Test email works. However it is unable to send out any alerts.



Subject: How are you testing sending
Author: Jay Stanley
Posted: 2016-06-14 09:20

How are you testing sending emails Also, is your test email and the email in the notification the same



Subject: I replied to this via email
Author: J K
Posted: 2016-06-14 20:26

I replied to this via email but it seems it didn't post. I am using the test button next to my user list. This works.

Sender address is the same.



Subject: Is it possible to determine
Author: J K
Posted: 2016-06-18 08:04

Is it possible to determine what IP the service is connecting to My gut feeling is that it is failing to connect to the SMTP host in question for some reason.

What does not make sense is that it is actually able to send out the test emails but not the actual alerts.



Subject: Could anybody please advise
Author: J K
Posted: 2016-07-05 20:24

Could anybody please advise how to troubleshoot this I have an otherwise working ZenOSS 5 install but without the email alerts it is still pretty blinding - have sufferred a hardware failure only to find out that ZenOSS knew about it but didn't send out an email.

Any help on this would be appreciated as I don't quite follow why it is failing when the SMTP host is not blocking it.



Subject: In the notification called
Author: Jane Curry
Posted: 2016-07-10 05:45

In the notification called AletingEmail, scroll down in the content tab and there is the option to specifically configure the smtp parameters for this notification. Normally this is blank so it picks up those parameters from the defaults on the ADVANCED -> Settings page but you can override it here (and someone may have inadvertently done so).

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: Do you mean under events
Author: J K
Posted: 2016-07-11 02:07

Do you mean under events>triggers>notifications>AlertingEmail

I checked and it inherited the correct settings. Just to test, I cleared out and tried but it doesn't do anything.

I also set up a mirror port for the zenoss server to see where it was connecting to. To my surprise, it was actually reaching out to the SMTP server (out over WAN) and it was producing a huge volume of TCP retransmission of just about 100%. The only exception was when I cleared the fields in alerting rules.

I don't understand why given this is a VM and the other VMs on this host don't produce this type of issue.

Any thoughts Is this something specific to docker



Subject: zenactionsd unable to send out email
Author: J K
Posted: 2016-07-11 06:13

I looked at the wireshark dump and it seemd the tcp retransmission was coming from the SMTP server to begin with so after some thought it seems that it was waiting for the end sequence.

So, I flipped the switch from html to text on the same screen and things started to come in without issue. I guess the issue is that html doesn't have the correct end sequence to send the email out. However, it worked before.

As I don't have another instance, can you share the normal message body

Mine is:

Device: ${evt/device}
Component: ${evt/component}
Severity: ${evt/severity}
Time: ${evt/lastTime}
Message:
${evt/message}
Event Detail
Acknowledge
Close
Device Events



< Previous
graph of performance counter is discontinues
  Next
zenoss core upgrade from 4.24 to 5.1.1
>