Gowrish SS
2013-03-20 08:20:52 UTC
Gowrish SS [http://community.zenoss.org/people/gowrish.ec] created the discussion
"zensendevent not working from remote collectors"
To view the discussion, visit: http://community.zenoss.org/message/72489#72489
--------------------------------------------------------------
Hi All,
We are having issues with executing zensend events from colelctors, when we execute the command from the master it works fine and creates alerts in zenoss. But when same command is executed from remote collector we are below error could you please advise.
zensendevent -d <devicename> -i <device ip> -s Critical -p test -y test -c eventclass message
Traceback (most recent call last):
 File "/opt/zenoss/bin/zensendevent", line 179, in <module>
   serv.sendEvent(evt)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1281, in __call__
   return self.__send(self.__name, args)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1632, in __request
   verbose=self.__verbose
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1321, in request
   return self.single_request(host, handler, request_body, verbose)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1349, in single_request
   self.send_content(h, request_body)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1496, in send_content
   connection.endheaders(request_body)
 File "/opt/zenoss/lib/python2.7/httplib.py", line 951, in endheaders
   self._send_output(message_body)
 File "/opt/zenoss/lib/python2.7/httplib.py", line 811, in _send_output
   self.send(msg)
 File "/opt/zenoss/lib/python2.7/httplib.py", line 773, in send
   self.connect()
 File "/opt/zenoss/lib/python2.7/httplib.py", line 754, in connect
   self.timeout, self.source_address)
 File "/opt/zenoss/lib/python2.7/socket.py", line 571, in create_connection
   raise err
socket.error: [Errno 111] Connection refused

Could any one please look into this and help.
Please do needful.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72489#72489]
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]
"zensendevent not working from remote collectors"
To view the discussion, visit: http://community.zenoss.org/message/72489#72489
--------------------------------------------------------------
Hi All,
We are having issues with executing zensend events from colelctors, when we execute the command from the master it works fine and creates alerts in zenoss. But when same command is executed from remote collector we are below error could you please advise.
zensendevent -d <devicename> -i <device ip> -s Critical -p test -y test -c eventclass message
Traceback (most recent call last):
 File "/opt/zenoss/bin/zensendevent", line 179, in <module>
   serv.sendEvent(evt)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1281, in __call__
   return self.__send(self.__name, args)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1632, in __request
   verbose=self.__verbose
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1321, in request
   return self.single_request(host, handler, request_body, verbose)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1349, in single_request
   self.send_content(h, request_body)
 File "/opt/zenoss/lib/python2.7/xmlrpclib.py", line 1496, in send_content
   connection.endheaders(request_body)
 File "/opt/zenoss/lib/python2.7/httplib.py", line 951, in endheaders
   self._send_output(message_body)
 File "/opt/zenoss/lib/python2.7/httplib.py", line 811, in _send_output
   self.send(msg)
 File "/opt/zenoss/lib/python2.7/httplib.py", line 773, in send
   self.connect()
 File "/opt/zenoss/lib/python2.7/httplib.py", line 754, in connect
   self.timeout, self.source_address)
 File "/opt/zenoss/lib/python2.7/socket.py", line 571, in create_connection
   raise err
socket.error: [Errno 111] Connection refused

Could any one please look into this and help.
Please do needful.
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72489#72489]
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]