I'm having the same issue and when I run zenmail run -v 10 --cycle i get
following error message:
[EMAIL PROTECTED] zenoss]$ zenmail run -v 10 --cycle --listenPort=3025
INFO:zen.mail:listening on port: 3025
DEBUG:zen.ZenMail:run
DEBUG:zen.ZenMail:Connecting to localhost
DEBUG:zen.ZenMail:Logging in as admin
WARNING:zen.ZenMail:Reconnected to ZenHub
DEBUG:zen.ZenMail:setting up services EventService
DEBUG:zen.ZenMail:chaining getInitialServices with d2
DEBUG:zen.ZenMail:callback after getting service EventService
DEBUG:zen.ZenMail:Calling connected.
DEBUG:zen.ZenMail:connected
DEBUG:zen.ZenMail:Sending event {'severity': 0, 'component': 'zenmail',
'agent': 'zenmail', 'summary': 'started', 'manager': 'localhost', 'device':
'ixlxfe02.sphinxms.local', 'eventClass': '/App/Start'}
DEBUG:zen.ZenMail:Sending event {'severity': 0, 'component': 'zenmail',
'agent': 'zenmail', 'summary': 'zenmail started', 'manager': 'localhost',
'device': 'localhost', 'eventClass': '/App/Start'}
INFO:zen.ZenMail:started
INFO:zen.ZenMail:fetching default RRDCreateCommand
INFO:zen.ZenMail:getting threshold classes
DEBUG:zen.ZenMail:Loading classes ['Products.ZenModel.MinMaxThreshold']
INFO:zen.ZenMail:getting collector thresholds
DEBUG:zen.thresholds:Updating threshold ('zeneventlog cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenmodeler cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenperfsnmp cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenping cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenprocess cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenwin cycle time', ('localhost', ''))
DEBUG:zen.ZenMail:Sending event {'manager': 'localhost', 'timeout': 180,
'device': 'ixlxfe02.sphinxms.local', 'eventClass': '/Heartbeat', 'component':
'zenmail', 'agent': 'zenmail'}
DEBUG:zen.ZenMail:Sending event {'manager': 'localhost', 'timeout': 180,
'device': 'ixlxfe02.sphinxms.local', 'eventClass': '/Heartbeat', 'component':
'zenmail', 'agent': 'zenmail'}
INFO:zen.mail:from: [EMAIL PROTECTED]
INFO:zen.mail:to: [EMAIL PROTECTED]
INFO:zen.mail:relayed (or sent directly) from: 172.30.6.12
INFO:zen.mail:message data completed.
INFO:zen.mail:timestamp of event (should be in UTC): 1218722634.000000
DEBUG:zen.mail:eventClassKey=
INFO:zen.mail:sending event...
Traceback (most recent call last):
File "/opt/zenoss/lib/python/twisted/python/log.py", line 48, in
callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/opt/zenoss/lib/python/twisted/python/log.py", line 33, in
callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/opt/zenoss/lib/python/twisted/python/context.py", line 59, in
callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/opt/zenoss/lib/python/twisted/python/context.py", line 37, in
callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/opt/zenoss/lib/python/twisted/internet/selectreactor.py", line 139, in
_doReadOrWrite
why = getattr(selectable, method)()
File "/opt/zenoss/lib/python/twisted/internet/tcp.py", line 362, in doRead
return self.protocol.dataReceived(data)
File "/opt/zenoss/lib/python/twisted/protocols/basic.py", line 149, in
dataReceived
self.lineReceived(line)
File "/opt/zenoss/lib/python/twisted/mail/smtp.py", line 572, in lineReceived
return getattr(self, 'state_' + self.mode)(line)
File "/opt/zenoss/lib/python/twisted/mail/smtp.py", line 798, in
dataLineReceived
defer.DeferredList([
File "/opt/zenoss/Products/ZenEvents/zenmail.py", line 59, in eomReceived
self.postEvent(messageData)
File "/opt/zenoss/Products/ZenEvents/zenmail.py", line 51, in postEvent
self.processor.process(messageStr)
File "/opt/zenoss/Products/ZenEvents/MailProcessor.py", line 111, in process
self.zem.sendEvent(event)
File "/opt/zenoss/Products/ZenEvents/EventServer.py", line 99, in sendEvent
if event.has_key('firstTime'):
exceptions.AttributeError: MailEvent instance has no attribute 'has_key'
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23706#23706
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users