--- http_interactions: - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"user.authenticate","params":{"user":"Admin","password":"zabbix"},"auth":null,"id":64158,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 04:42:50 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '72' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":"fbba76cc74de902d341f6304f440d589","id":64158}' http_version: recorded_at: Thu, 14 May 2015 12:14:10 GMT - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"apiinfo.version","params":{},"auth":"fbba76cc74de902d341f6304f440d589","id":41977,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 04:42:50 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '45' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":"2.2.2","id":41977}' http_version: recorded_at: Thu, 14 May 2015 12:14:10 GMT - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"maintenance.create","params":{"name":"capistrano auto maintenance","active_since":1431605450,"active_till":1431692250,"groupids":[2],"timeperiods":[{"period":3600}]},"auth":"fbba76cc74de902d341f6304f440d589","id":39041,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 04:42:50 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '63' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":{"maintenanceids":["15"]},"id":39041}' http_version: recorded_at: Thu, 14 May 2015 12:14:10 GMT - request: method: post uri: http://192.168.56.2/zabbix/api_jsonrpc.php body: encoding: UTF-8 string: '{"method":"maintenance.exists","params":{"name":"capistrano auto maintenance"},"auth":"fbba76cc74de902d341f6304f440d589","id":83293,"jsonrpc":"2.0"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json-rpc response: status: code: 200 message: OK headers: Date: - Thu, 14 May 2015 04:42:51 GMT Server: - Apache/2.2.22 (Linux/SUSE) X-Powered-By: - PHP/5.3.17 Content-Length: - '42' Content-Type: - application/json body: encoding: UTF-8 string: '{"jsonrpc":"2.0","result":true,"id":83293}' http_version: recorded_at: Thu, 14 May 2015 12:14:10 GMT recorded_with: VCR 2.9.3