centreon-plugins/tests/network/keysight/nvos/restapi/keysight.json

367 lines
50 KiB
JSON
Raw Normal View History

{
"uuid": "969b130b-0ab9-4d14-aa8d-5ba775260baf",
"lastMigration": 33,
"name": "Keysight",
"endpointPrefix": "",
"latency": 0,
"port": 3000,
"hostname": "",
"folders": [],
"routes": [
{
"uuid": "beee08c1-0fbb-4ccc-b233-90908aebfa03",
"type": "http",
"documentation": "Retrieve a stats snapshot",
"method": "post",
"endpoint": "api/stats",
"responses": [
{
"uuid": "48b94195-9437-4494-97bc-70513f46dc4d",
"body": "{\r\n \"stats_snapshot\":[\r\n {\r\n \"default_name\":\"PG1\",\r\n \"id\":\"104\",\r\n \"reset_time\":1679354883450,\r\n \"rs_average_drop_rate_packets\":0,\r\n \"rs_average_receive_rate_bytes\":65705532,\r\n \"rs_average_receive_rate_packets\":34666,\r\n \"rs_average_transmit_rate_bytes\":65722821,\r\n \"rs_average_transmit_rate_packets\":34689,\r\n \"rs_current_drop_rate_packets\":0,\r\n \"rs_current_receive_rate_bytes\":148553403,\r\n \"rs_current_receive_rate_packets\":77538,\r\n \"rs_current_transmit_rate_bytes\":148578576,\r\n \"rs_current_transmit_rate_packets\":77570,\r\n \"rs_peak_drop_rate_packets\":0,\r\n \"rs_peak_drop_rate_packets_time\":1701966818122,\r\n \"rs_peak_receive_rate_bytes\":958952724,\r\n \"rs_peak_receive_rate_bytes_time\":1684920909112,\r\n \"rs_peak_receive_rate_packets\":341706,\r\n \"rs_peak_receive_rate_packets_time\":1695195630913,\r\n \"rs_peak_transmit_rate_bytes\":958959729,\r\n \"rs_peak_transmit_rate_bytes_time\":1684920909112,\r\n \"rs_peak_transmit_rate_packets\":341735,\r\n \"rs_peak_transmit_rate_packets_time\":1695195630913,\r\n \"rs_total_drop_count_packets\":0,\r\n \"rs_total_receive_count_bytes\":185716152331665,\r\n \"rs_total_receive_count_packets\":783881855284,\r\n \"rs_total_transmit_count_bytes\":185765018913713,\r\n \"rs_total_transmit_count_packets\":784388603790,\r\n \"stats_time\":1701966818122,\r\n \"tp_afm_drop_time\":1701966818151,\r\n \"tp_average_drop_rate_packets\":0,\r\n \"tp_average_insp_rate_packets\":34689,\r\n \"tp_average_pass_percent_packets\":0.99999887,\r\n \"tp_average_pass_rate_bits\":65722821,\r\n \"tp_average_pass_rate_packets\":34689,\r\n \"tp_average_tx_rate_bits\":65703282,\r\n \"tp_average_tx_rate_packets\":34665,\r\n \"tp_average_tx_utilization\":0.01781242,\r\n \"tp_current_burst_buffer_fill_mb\":0,\r\n \"tp_current_burst_buffer_fill_percent\":0,\r\n \"tp_current_drop_rate_packets\":0,\r\n \"tp_current_insp_rate_packets\":77570,\r\n \"tp_current_pass_percent_packets\":1,\r\n \"tp_current_pass_rate_bits\":148578576,\r\n \"tp_current_pass_rate_packets\":77570,\r\n \"tp_current_tx_rate_bits\":148545116,\r\n \"tp_current_tx_rate_packets\":77509,\r\n \"tp_current_tx_utilization\":0.04023664,\r\n \"tp_drop_reset_time\":1679354883450,\r\n \"tp_peak_burst_buffer_fill_mb\":0,\r\n \"tp_peak_burst_buffer_fill_percent\":0,\r\n \"tp_peak_burst_buffer_fill_time\":0,\r\n \"tp_peak_drop_rate_packets\":0,\r\n \"tp_peak_drop_rate_packets_time\":1701966818122,\r\n \"tp_peak_insp_rate_packets\":341706,\r\n \"tp_peak_insp_rate_packets_time\":1695195630913,\r\n \"tp_peak_pass_percent_packets\":1,\r\n \"tp_peak_pass_percent_packets_time\":1701966818122,\r\n \"tp_peak_pass_rate_bits\":958959729,\r\n \"tp_peak_pass_rate_bits_time\":1684920910112,\r\n \"tp_peak_pass_rate_packets\":341735,\r\n \"tp_peak_pass_rate_packets_time\":1695195631913,\r\n \"tp_peak_tx_rate_bits\":959252656,\r\n \"tp_peak_tx_rate_bits_time\":1684920909112,\r\n \"tp_peak_tx_rate_packets\":341659,\r\n \"tp_peak_tx_rate_packets_time\":1695195630913,\r\n \"tp_peak_tx_utilization\":0.24709128,\r\n \"tp_peak_tx_utilization_time\":1684920909112,\r\n \"tp_total_afm_drop_count_packets\":0,\r\n \"tp_total_arp_req_pkt_cnt\":0,\r\n \"tp_total_bp_fifo_pkts_dropped\":0,\r\n \"tp_total_bp_fifo_pkts_passed\":0,\r\n \"tp_total_data_masking_count_packets\":0,\r\n \"tp_total_data_masking_percent_packets\":0,\r\n \"tp_total_dedup_count_packets\":506748505,\r\n \"tp_total_dedup_percent_packet
"latency": 0,
"statusCode": 200,
"label": "The request has succeeded",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "046ff40f-fc70-4292-92a8-28c991316240",
"type": "http",
"documentation": "Get PG1 port details (Port Group)",
"method": "get",
"endpoint": "api/ports/PG1",
"responses": [
{
"uuid": "a88f272f-a8de-46f2-a62f-0b9dd209c079",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "8690a790-9a24-45c3-a6ad-fc27d8f3d8fe",
"type": "http",
"documentation": "Get P01 port details (Network Port)",
"method": "get",
"endpoint": "api/ports/P01",
"responses": [
{
"uuid": "15cb91a9-91fa-442f-80d0-48c807cd7773",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "c308af63-c0b5-4d5e-a121-f532fe35f2a2",
"type": "http",
"documentation": "Get P12 port details (Network Port with dedup)",
"method": "get",
"endpoint": "api/ports/P12",
"responses": [
{
"uuid": "273baba8-e0fb-4aac-8612-6731228d529b",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "a9936e6f-a78c-4de2-ba66-9823460b24a4",
"type": "http",
"documentation": "Get P17 port details (Tool Port)",
"method": "get",
"endpoint": "api/ports/P17",
"responses": [
{
"uuid": "1f967d6d-9847-4c8b-a093-080481b1bed1",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "3e56d0a7-0048-47f0-99e6-f686b85307d4",
"type": "http",
"documentation": "Get P14 port details (Loopback dedup)",
"method": "get",
"endpoint": "api/ports/P14",
"responses": [
{
"uuid": "d0203a6b-2698-47b6-a0db-e7f44503bacc",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "977c593b-78ea-484c-92d2-2a9aeef5c7bc",
"type": "http",
"documentation": "Get F23 port details (Dynamic Filter without dedup)",
"method": "get",
"endpoint": "api/ports/F23",
"responses": [
{
"uuid": "f263a9d4-b331-4852-97aa-97279bb26e7d",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "754605e2-78ef-4c98-820c-9c56c08c3367",
"type": "http",
"documentation": "Get F22 port details (Dynamic Filter with dedup)",
"method": "get",
"endpoint": "api/ports/F22",
"responses": [
{
"uuid": "9fbb85f7-137f-4c04-813b-df7e8ab7052e",
"body": "{\r\n \"enabled\":1,\r\n \"license_status\":\"VALID\",\r\n \"link_status\":{\r\n \"link_up\":1\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
},
{
"uuid": "b0e757a3-0415-4735-bb4a-b10f1fc7d43b",
"type": "http",
"documentation": "Get system properties",
"method": "get",
"endpoint": "api/system",
"responses": [
{
"uuid": "d7ad5274-8136-4254-8745-8cc2daa82759",
"body": "{\r\n \"subsystem_alarms\":{\r\n \"subsystem_alarms\":{\r\n \"LicenseExpirationStatus\":{\r\n \"info\":[\r\n \"Expired: Maintenance; Oct 20, 2023 23:59:59 GMT\"\r\n ],\r\n \"state\":\"NONE\",\r\n \"time\":1701701956881\r\n }\r\n }\r\n }\r\n}",
"latency": 0,
"statusCode": 200,
"label": "",
"headers": [],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id",
"callbacks": []
}
],
"responseMode": null,
"streamingMode": null,
"streamingInterval": 0
}
],
"rootChildren": [
{
"type": "route",
"uuid": "beee08c1-0fbb-4ccc-b233-90908aebfa03"
},
{
"type": "route",
"uuid": "046ff40f-fc70-4292-92a8-28c991316240"
},
{
"type": "route",
"uuid": "8690a790-9a24-45c3-a6ad-fc27d8f3d8fe"
},
{
"type": "route",
"uuid": "c308af63-c0b5-4d5e-a121-f532fe35f2a2"
},
{
"type": "route",
"uuid": "a9936e6f-a78c-4de2-ba66-9823460b24a4"
},
{
"type": "route",
"uuid": "3e56d0a7-0048-47f0-99e6-f686b85307d4"
},
{
"type": "route",
"uuid": "977c593b-78ea-484c-92d2-2a9aeef5c7bc"
},
{
"type": "route",
"uuid": "754605e2-78ef-4c98-820c-9c56c08c3367"
},
{
"type": "route",
"uuid": "b0e757a3-0415-4735-bb4a-b10f1fc7d43b"
}
],
"proxyMode": false,
"proxyHost": "",
"proxyRemovePrefix": false,
"tlsOptions": {
"enabled": false,
"type": "CERT",
"pfxPath": "",
"certPath": "",
"keyPath": "",
"caPath": "",
"passphrase": ""
},
"cors": true,
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"proxyReqHeaders": [
{
"key": "",
"value": ""
}
],
"proxyResHeaders": [
{
"key": "",
"value": ""
}
],
"data": [],
"callbacks": []
}