Christian Scott
2012-10-30 19:38:29 UTC
Christian Scott [http://community.zenoss.org/people/ChristianCScott] created the discussion
"Error executing action User on set(['***@Corp.Com'])"
To view the discussion, visit: http://community.zenoss.org/message/69616#69616
--------------------------------------------------------------
Hi,
I have been using Zenoss 4.2 enjoyable for a few months now and I have recently encountered a puzzeling issue since I have installed ZenPacks.community.powerware-1.0-py2.7; ever since doing so alerts will not send via email and I get the following error:
Resource:Â Â Â Â Â Â Â Â Â localhost
Component:Â Â Â Â Â Â Â Â Â zenactiond
Event Class:Â Â Â Â Â Â Â Â Â /App/Failed
Status:Â Â Â Â Â Â Â Â Â Â New
Message:Â Â Â Â Â Â Â Â Â Â Traceback (most recent call last): File "/opt/zenoss/Products/ZenModel/actions.py", line 244, in execute self.executeBatch(notification, signal, targets) File "/opt/zenoss/Products/ZenModel/actions.py", line 329, in executeBatch user, password File "/opt/zenoss/Products/ZenUtils/Utils.py", line 725, in sendEmail if len(usr): server.login(usr, pwd) TypeError: object of type 'NoneType' has no len()
Event Management...
agent
component         zenactiond
dedupid         localhost|zenactiond|/App/Failed|3|Error executing action *user* on set(['***@***.Com'])
eventClass         /App/Failed
eventClassKey
eventClassMapping
eventGroup
eventKey
eventState         New
evid         0018fe73-efdc-8c18-11e2-22c3607d0820
facility
message         Traceback (most recent call last): File "/opt/zenoss/Products/ZenModel/actions.py", line 244, in execute self.executeBatch(notification, signal, targets) File "/opt/zenoss/Products/ZenModel/actions.py", line 329, in executeBatch user, password File "/opt/zenoss/Products/ZenUtils/Utils.py", line 725, in sendEmail if len(usr): server.login(usr, pwd) TypeError: object of type 'NoneType' has no len()
ntevid
priority
severity         3
summary         Error executing action *User* on set(['***@***.Com'])
Interesting enough, when I send test emails manually, they are sent and received without any issues (not an SMTP connectivity issue).
I have uninstalled the zenpack and restarted Zenoss; but the issue continues to persist.
I checked to see the zenpack somehow modified any file structure but it looks like both actions.py and and Utils.py are unchanged since the day of install.
Does anyone have any ideas? Currently my limited knowledge of python and the internal functions of zenoss make this a little difficult to figure out.
Help is highly appreciated.
Additional Information:
Log has been redacted for the username and email
Centos 6.2
zenoss-4.2.0-1586.el6.x86_64
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69616#69616]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Error executing action User on set(['***@Corp.Com'])"
To view the discussion, visit: http://community.zenoss.org/message/69616#69616
--------------------------------------------------------------
Hi,
I have been using Zenoss 4.2 enjoyable for a few months now and I have recently encountered a puzzeling issue since I have installed ZenPacks.community.powerware-1.0-py2.7; ever since doing so alerts will not send via email and I get the following error:
Resource:Â Â Â Â Â Â Â Â Â localhost
Component:Â Â Â Â Â Â Â Â Â zenactiond
Event Class:Â Â Â Â Â Â Â Â Â /App/Failed
Status:Â Â Â Â Â Â Â Â Â Â New
Message:Â Â Â Â Â Â Â Â Â Â Traceback (most recent call last): File "/opt/zenoss/Products/ZenModel/actions.py", line 244, in execute self.executeBatch(notification, signal, targets) File "/opt/zenoss/Products/ZenModel/actions.py", line 329, in executeBatch user, password File "/opt/zenoss/Products/ZenUtils/Utils.py", line 725, in sendEmail if len(usr): server.login(usr, pwd) TypeError: object of type 'NoneType' has no len()
Event Management...
agent
component         zenactiond
dedupid         localhost|zenactiond|/App/Failed|3|Error executing action *user* on set(['***@***.Com'])
eventClass         /App/Failed
eventClassKey
eventClassMapping
eventGroup
eventKey
eventState         New
evid         0018fe73-efdc-8c18-11e2-22c3607d0820
facility
message         Traceback (most recent call last): File "/opt/zenoss/Products/ZenModel/actions.py", line 244, in execute self.executeBatch(notification, signal, targets) File "/opt/zenoss/Products/ZenModel/actions.py", line 329, in executeBatch user, password File "/opt/zenoss/Products/ZenUtils/Utils.py", line 725, in sendEmail if len(usr): server.login(usr, pwd) TypeError: object of type 'NoneType' has no len()
ntevid
priority
severity         3
summary         Error executing action *User* on set(['***@***.Com'])
Interesting enough, when I send test emails manually, they are sent and received without any issues (not an SMTP connectivity issue).
I have uninstalled the zenpack and restarted Zenoss; but the issue continues to persist.
I checked to see the zenpack somehow modified any file structure but it looks like both actions.py and and Utils.py are unchanged since the day of install.
Does anyone have any ideas? Currently my limited knowledge of python and the internal functions of zenoss make this a little difficult to figure out.
Help is highly appreciated.
Additional Information:
Log has been redacted for the username and email
Centos 6.2
zenoss-4.2.0-1586.el6.x86_64
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69616#69616]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]