Sandeep_Krishnan
2013-10-28 11:07:56 UTC
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion
"getEvents JSON Api call error"
To view the discussion, visit: http://community.zenoss.org/message/75097#75097
--------------------------------------------------------------
Hi Guys,
           I trying to retrive events using the following json call, but i am struck with following response, i follow the json doc i am not able to rectify the error. Please help me out
Request
{"action": "DeviceRouter","method": "getEvents","data":[{"uid": "/zport/dmd/Devices/Server/Linux/devices/localhost"}],"tid":1}' http://x.x.x.x:8080/zport/dmd/device_router http://x.x.x.x:8080/zport/dmd/device_router
Response
{"uuid": "4ac8b512-991c-4a9d-8bd5-e64d0fa6bd52", "action": "DeviceRouter", "result": {"msg": "AttributeError: 'DeviceFacade' object has no attribute 'getEvents'", "type": "exception", "success": false}, "tid": 1, "type": "rpc", "method": "getEvents"}
Thanks
Sandeep
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75097#75097]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"getEvents JSON Api call error"
To view the discussion, visit: http://community.zenoss.org/message/75097#75097
--------------------------------------------------------------
Hi Guys,
           I trying to retrive events using the following json call, but i am struck with following response, i follow the json doc i am not able to rectify the error. Please help me out
Request
{"action": "DeviceRouter","method": "getEvents","data":[{"uid": "/zport/dmd/Devices/Server/Linux/devices/localhost"}],"tid":1}' http://x.x.x.x:8080/zport/dmd/device_router http://x.x.x.x:8080/zport/dmd/device_router
Response
{"uuid": "4ac8b512-991c-4a9d-8bd5-e64d0fa6bd52", "action": "DeviceRouter", "result": {"msg": "AttributeError: 'DeviceFacade' object has no attribute 'getEvents'", "type": "exception", "success": false}, "tid": 1, "type": "rpc", "method": "getEvents"}
Thanks
Sandeep
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75097#75097]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]