Cisco D9800 Reference Manual page 132

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

Alarms and Warnings
Table 111: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
js (optional)
Table 112: Output Field Descriptions
Output Field
actalarms
actwarns
clrfaults
Input example (read back all faults summary in default XML format):
curl -k -H "X-SESSION-ID: $token" "https://192.168.0.1/ws/v2/status/summary"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1" ?>
<faults>
<summary>
<actalarms>1</actalarms>
<actwarns>3</actwarns>
<clrfaults>144 </clrfaults>
</summary>
</faults>
Input example (read back all faults summary in JSON format):
curl -k -H "X-SESSION-ID: $token" "https://192.168.0.1/ws/v2/status/summary?js=1"
Expected output (values are for example purposes only):
{
"faults": {
}
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
120
Description
Format output using JSON standard.
Type: exist
Values: any value or empty (any of js=1, js, js=0, or js=9999 are valid)
Omitting this argument formats the output by default in XML.
Description
Number of active alarms
Type: Integer
Value: 0 ... 4294967295
Number of active warnings
Type: Integer
Value: 0 ... 4294967295
Number of cleared faults
Type: Integer
Value: 0 ... 4294967295
"summary": {
"actalarms": "1",
"actwarns": "3",
"clrfaults": "144"
}
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents