smbmc/tests/integration/cassettes/Client_get_metrics.json

2 lines
11 KiB
JSON
Raw Normal View History

2020-10-31 16:57:30 +00:00
{"http_interactions": [{"request": {"body": {"encoding": "utf-8", "string": "name=<USER>&pwd=<PASS>"}, "headers": {"User-Agent": ["python-requests/2.24.0"], "Accept-Encoding": ["gzip, deflate"], "Accept": ["*/*"], "Connection": ["keep-alive"], "Content-Length": ["29"], "Content-Type": ["application/x-www-form-urlencoded"]}, "method": "POST", "uri": "<SERVER>/cgi/login.cgi"}, "response": {"body": {"encoding": "ISO-8859-1", "string": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <META HTTP-EQUIV=\"Pragma\" CONTENT=\"no_cache\">\n <META NAME=\"ATEN International Co Ltd.\" CONTENT=\"(c) ATEN International Co Ltd. 2010\">\n <title></title>\n <script language=\"JavaScript\" type=\"text/javascript\">\n<!--\n self.location=\"../cgi/url_redirect.cgi?url_name=mainmenu\";\n-->\n </script>\n</head>\n<body>\n</body>\n</html>"}, "headers": {"Set-Cookie": ["SID=; expires=Thursday,01-Jan-1970 00:00:00 GMT; HttpOnly", "SID=sjbhfksjnquapwkl; path=/ ; HttpOnly"], "Content-Length": ["580"], "Content-Type": ["text/html"], "Date": ["Thu, 08 Oct 2020 19:01:37 GMT"]}, "status": {"code": 200, "message": "OK"}, "url": "<SERVER>/cgi/login.cgi"}, "recorded_at": "2020-10-08T19:01:37"}, {"request": {"body": {"encoding": "utf-8", "string": "Get_PSInfoReadings.XML=%280%2C0%29"}, "headers": {"User-Agent": ["python-requests/2.24.0"], "Accept-Encoding": ["gzip, deflate"], "Accept": ["*/*"], "Connection": ["keep-alive"], "Cookie": ["SID=sjbhfksjnquapwkl"], "Content-Length": ["34"], "Content-Type": ["application/x-www-form-urlencoded"]}, "method": "POST", "uri": "<SERVER>/cgi/ipmi.cgi"}, "response": {"body": {"encoding": null, "string": "<?xml version=\"1.0\"?>\n<IPMI>\n <PSInfo at_w_PSTimeoutValue=\"0\" at_b_PSTimeoutEnable=\"0\" BBP_TIMEOUT_VALUE=\"0\">\n <PSItem a_b_PS_Status_I2C=\"ff\" psType=\"0\" acInVoltage=\"0\" acInCurrent=\"0\" dc12OutVoltage=\"0\" dc12OutCurrent=\"0\" temp1=\"0\" temp2=\"0\" fan1=\"0\" fan2=\"0\" dcOutPower=\"0\" acInPower=\"0\" name=\"\"/>\n <PSItem a_b_PS_Status_I2C=\"1\" psType=\"1\" acInVoltage=\"ed\" acInCurrent=\"196\" dc12OutVoltage=\"79\" dc12OutCurrent=\"1676\" temp1=\"23\" temp2=\"32\" fan1=\"b4e\" fan2=\"f07\" dcOutPower=\"45\" acInPower=\"5e\" name=\"PSU0SERIAL0NO00\"/>\n <PSItem a_b_PS_Status_I2C=\"ff\" psType=\"0\" acInVoltage=\"0\" acInCurrent=\"0\" dc12OutVoltage=\"0\" dc12OutCurrent=\"0\" temp1=\"0\" temp2=\"0\" fan1=\"0\" fan2=\"0\" dcOutPower=\"0\" acInPower=\"0\" name=\"\"/>\n <PSItem a_b_PS_Status_I2C=\"ff\" psType=\"0\" acInVoltage=\"0\" acInCurrent=\"0\" dc12OutVoltage=\"0\" dc12OutCurrent=\"0\" temp1=\"0\" temp2=\"0\" fan1=\"0\" fan2=\"0\" dcOutPower=\"0\" acInPower=\"0\" name=\"\"/>\n </PSInfo>\n</IPMI>\n"}, "headers": {"Content-Type": ["application/xml"], "Content-Length": ["932"], "Date": ["Thu, 08 Oct 2020 19:01:37 GMT"]}, "status": {"code": 200, "message": "OK"}, "url": "<SERVER>/cgi/ipmi.cgi"}, "recorded_at": "2020-10-08T19:01:37"}, {"request": {"body": {"encoding": "utf-8", "string": "SENSOR_INFO.XML=%281%2Cff%29"}, "headers": {"User-Agent": ["python-requests/2.24.0"], "Accept-Encoding": ["gzip, deflate"], "Accept": ["*/*"], "Connection": ["keep-alive"], "Cookie": ["SID=sjbhfksjnquapwkl"], "Content-Length": ["28"], "Content-Type": ["application/x-www-form-urlencoded"]}, "method": "POST", "uri": "<SERVER>/cgi/ipmi.cgi"}, "response": {"body": {"encoding": null, "string": "<?xml version=\"1.0\"?> <IPMI> <SENSOR_INFO> <SENSOR ID=\"001\" NUMBER=\"10\" NAME=\"System Temp\" READING=\"19c000\" OPTION=\"c0\" UNR=\"5a\" UC=\"55\" UNC=\"50\" LNC=\"fb\" LC=\"f9\" LNR=\"f7\" STYPE=\"01\" RTYPE=\"01\" ERTYPE=\"01\" UNIT1=\"80\" UNIT=\"01\" L=\"00\" M=\"0100\" B=\"0000\" RB=\"00\"/> <SENSOR ID=\"002\" NUMBER=\"30\" NAME=\"12VCC\" READING=\"bdc000\" OPTION=\"c0\" UNR=\"d0\" UC=\"ce\" UNC=\"c9\" LNC=\"a7\" LC=\"9f\" LNR=\"9d\" STYPE=\"02\" RTYPE=\"01\" ERTYPE=\"01\" UN