--- http_interactions: - request: method: post uri: http://192.168.56.2:9080/zport/dmd/zport/dmd/device_router body: encoding: UTF-8 string: '[{"action":"DeviceRouter","method":"getDevices","data":[{"uid":"/zport/dmd/Devices","params":{"name":"UnitTestDevice"}}],"type":"rpc","tid":3}]' headers: User-Agent: - HTTPClient/1.0 (2.6.0.1, ruby 2.2.0 (2014-12-25)) Accept: - "*/*" Date: - Fri, 22 May 2015 12:19:38 GMT Content-Type: - application/json; charset=utf-8 Cookie: - __ginger_snap=NjE2NDZkNjk2ZTo3YTY1NmU2ZjczNzM%253D response: status: code: 200 message: OK headers: Server: - Zope/(2.12.1, python 2.6.2, linux2) ZServer/1.1 Date: - Fri, 22 May 2015 12:19:38 GMT Content-Length: - '576' Content-Type: - application/json body: encoding: UTF-8 string: '{"tid": 3, "action": "DeviceRouter", "type": "rpc", "method": "getDevices", "result": {"totalCount": 1, "hash": "1", "success": true, "devices": [{"groups": [], "serialNumber": "", "name": "UnitTestDevice", "collector": "localhost", "osModel": null, "productionState": "Production", "location": null, "priority": "Normal", "hwModel": null, "tagNumber": "", "osManufacturer": null, "systems": [], "hwManufacturer": null, "ipAddress": null, "events": {"info": 0, "debug": 0, "critical": 0, "warning": 0, "error": 0}, "uid": "/zport/dmd/Devices/Server/devices/UnitTestDevice"}]}}' http_version: recorded_at: Fri, 22 May 2015 12:19:38 GMT - request: method: post uri: http://192.168.56.2:9080/zport/dmd/zport/dmd/evconsole_router body: encoding: UTF-8 string: '[{"action":"EventsRouter","method":"query","data":[{"limit":100,"start":0,"sort":"lastTime","dir":"DESC"}],"type":"rpc","tid":4}]' headers: User-Agent: - HTTPClient/1.0 (2.6.0.1, ruby 2.2.0 (2014-12-25)) Accept: - "*/*" Date: - Fri, 22 May 2015 12:19:38 GMT Content-Type: - application/json; charset=utf-8 Cookie: - __ginger_snap=NjE2NDZkNjk2ZTo3YTY1NmU2ZjczNzM%253D response: status: code: 200 message: OK headers: Server: - Zope/(2.12.1, python 2.6.2, linux2) ZServer/1.1 Date: - Fri, 22 May 2015 12:19:38 GMT Content-Length: - '606' Content-Type: - application/json body: encoding: UTF-8 string: '{"tid": 4, "action": "EventsRouter", "type": "rpc", "method": "query", "result": {"totalCount": 1, "events": [{"count": "31", "firstTime": "2015-05-21 22:38:21", "severity": "4", "evid": "fa1466bd-a707-4d11-af25-b6b0f8ebfa9c", "component": {"text": "snmp", "uid": null}, "summary": "SNMP agent down", "eventState": "New", "device": {"text": "localhost", "uid": "/zport/dmd/Devices/Server/Linux/devices/localhost"}, "eventClass": {"text": "/Status/Snmp", "uid": "/zport/dmd/Events/Status/Snmp"}, "lastTime": "2015-05-22 11:47:01", "id": "fa1466bd-a707-4d11-af25-b6b0f8ebfa9c"}], "asof": 1432297178.7991951}}' http_version: recorded_at: Fri, 22 May 2015 12:19:38 GMT recorded_with: VCR 2.9.3