TECHZEN Zenoss User Community ARCHIVE  

Fail Sending Email Notifications

Subject: Fail Sending Email Notifications
Author: [Not Specified]
Posted: 2014-08-21 09:38

I need help, i configured the trigger and notifications and it fail when trying to send the email.

Resource: localhost
Component: zenactiond
Event Class: /App/Failed
Status: New
Message: Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/actions.py", line 250, in execute
self.executeBatch(notification, signal, targets)
File "/opt/zenoss/Products/ZenModel/actions.py", line 360, in executeBatch
(notification.id, targets, errorMsg)
ActionExecutionException: Notification 'x' FAILED to send emails to set(['xxxx@gmail.com']): - [Errno -2] Name or service not known



Subject: Hi! Please check the
Author: Andrew Kirch
Posted: 2014-08-21 11:38

Hi! Please check the settings under Advanced> Settings to ensure your SMTP settings are correctly configured.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Yanluish:
Author: Andrew Kirch
Posted: 2014-08-22 12:33

Yanluish:

What version of Zenoss are you running I ran into an issue similar to this a long time ago. I can tell you with near certainty that your SMTP settings are hosed, or it's trying to use an MTA on localhost that doesn't exist.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: <class 'socket.gaierror'> -
Author: Jan Garaj
Posted: 2014-08-23 00:51

- [Errno -2] Name or service not known
=> probably DNS related issue; probably your zenoss is not able to resolve DNS name of your SMTP server

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: version
Author: [Not Specified]
Posted: 2014-08-23 10:11

i'm running zenoss v 4.2.4, and is not a DNS issue because i can ping the google smtp server (smtp.gmail.com)
here is my smtp configuration
Instance identifier: Zenoss
SMTP Host: smtp.gmail.com
SMTP Port : 587
SMTP Username: email@telenord.com.do
SMTP Password:
From Address for Emails: email@telenord.com.do
Use TLS: yes
Page Command: $ZENHOME/bin/zensnpp localhost 444 $RECIPIENT



Subject: Yanluish,
Author: Andrew Kirch
Posted: 2014-08-23 12:16

Yanluish,

Turn on the local SMTP server (postfix) and see if the error goes away.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Trelane
Author: [Not Specified]
Posted: 2014-08-23 12:43

i installed postfix, do i have to make some kind of configurations i'm new with smtp servers configurations so i'd apreciate the help



Subject: emailping daemon
Author: [Not Specified]
Posted: 2014-08-23 13:01

i was going through the configuration and i noticed that the emailping daemon is down, does that have anything to do with my issue



Subject: no, emailping is a zenpack
Author: Andrew Kirch
Posted: 2014-08-24 00:12

no, emailping is a zenpack which checks to see if an e-mail server is functional by sending and then checking e-mail. If you start postfix on the local box and still get a connection refused, or dns error let me know.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Postfix
Author: [Not Specified]
Posted: 2014-08-24 23:10

do i have to set some kind of configurations on postfix to get it working if is like that please send me a guide or some documentation that can be usefull (i don't have any experience with postfix)



Subject: It doesn't make sense to have
Author: Jan Garaj
Posted: 2014-08-25 12:43

It doesn't make sense to have any Postfix on localhost.
Could you provide output from my troubleshooting bash/python steps - http://pastebin.com/Js5mFHuE

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: How did you solve this issue?
Author: [Not Specified]
Posted: 2015-01-08 23:03

How did you solve this issue From zenoss server I am able to send emails to me using telnet, but using zenoss nothing happens.
I need some help!
Thanks.



Subject: Please check zenactiond.log
Author: Andrew Kirch
Posted: 2015-01-12 13:35

Please check zenactiond.log and you should see why the e-mail isn't sending

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
4.2.3 to 4.2.4 error
  Next
Locations have disappeared
>