Discussion:
Can't add new event to any device
renewer
2013-04-26 13:45:47 UTC
Permalink
renewer [http://community.zenoss.org/people/renewer] created the discussion

"Can't add new event to any device"

To view the discussion, visit: http://community.zenoss.org/message/72983#72983

--------------------------------------------------------------
Using the UI and adding in all the appropriate information I receive a Errno 104: Connection reset by peer, and the event doesn't get added. Here is the log message that is received:

------
2013-04-26T09:40:33 CRITICAL zen.zenoss.protocols.amqp Could not use exchange $RawZenEvents: [Errno 104] Connection reset by peer
------
2013-04-26T09:40:33 INFO extdirect Direct request failed: [Errno 104] Connection reset by peer: EventsRouter.add_event [{'severity': 3, 'evclasskey': 'sshClientAuth', 'component': 'zenBoom', 'summary': 'WORK', 'device': 'MyDeviceName', 'evclass': '/Cmd/Fail'}]
------
2013-04-26T09:40:33 INFO extdirect DirectRouter suppressed the following exception (Response 12c966db-078e-4b9a-8c4f-bf271448e5b6):
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 179, in _processDirectRequest
    response.result = _targetfn(**data)
  File "<string>", line 2, in add_event
  File "/opt/zenoss/Products/Zuul/decorators.py", line 69, in wrapped_fn
    return f(self, *args, **kwargs)
  File "/opt/zenoss/Products/Zuul/routers/zep.py", line 621, in add_event
    eventClass=evclass, immediate=True)
  File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 753, in create
    publisher.publish(event, mandatory=mandatory, immediate=immediate)
  File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 288, in publish
    mandatory=mandatory, immediate=immediate)
  File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 308, in _publish
    createQueues=createQueues)
  File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 392, in publish
    headers=headers, declareExchange=declareExchange)
  File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 129, in publish
    exchangeConfig = self.useExchange(exchange)
  File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 90, in useExchange
    channel = self.getChannel()
  File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 69, in getChannel
    ssl=self._connectionInfo.usessl)
  File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 144, in __init__
    (10, 30), # tune
  File "/opt/zenoss/lib/python/amqplib/client_0_8/abstract_channel.py", line 95, in wait
    self.channel_id, allowed_methods)
  File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 202, in _wait_method
    self.method_reader.read_method()
  File "/opt/zenoss/lib/python/amqplib/client_0_8/method_framing.py", line 221, in read_method
    raise m
error: [Errno 104] Connection reset by peer

Any help would be appreciated. This is Zenoss 4.2.3 on a CentOS 6 server (VM)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72983#72983]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Shane Scott
2013-04-26 15:14:41 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Can't add new event to any device"

To view the discussion, visit: http://community.zenoss.org/message/72990#72990

--------------------------------------------------------------
Renewer:

Can you validate that rabbit is running? What version of rabbit did you install?

--Shane Scott (Hackman238)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72990#72990]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
renewer
2013-04-26 16:35:44 UTC
Permalink
renewer [http://community.zenoss.org/people/renewer] created the discussion

"Re: Can't add new event to any device"

To view the discussion, visit: http://community.zenoss.org/message/72985#72985

--------------------------------------------------------------
jcurry's reply on this post:

http://community.zenoss.org/message/72294#72294 http://community.zenoss.org/message/72294

actually fixed it. I believe rabbit was running. I reset my rabbit MQ environment like he suggested and it had begun working.

Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72985#72985]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...