Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
ContentIndex
  
[+] Expand All
[-] Collapse All

Monitoring RESTful Web Services

The following operations can be performed using the Edge Services Director Monitoring RESTful Web Services.

Get Chassis Details of an SDG Host

This request is used to retrieve details of the configuration on an SDG host chassis.

URI

/api/sgd/monitoring/sdg-monitor/hostchassisdetails/
sanity-service-gateway(sgd-name)

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.hostchassisdetails.sanity-service-gateway
(sgd-name)+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects chassis information of an SDG host

Response Status Code

Message

Description

200 OK

Successful collection of chassis information of an SDG host

Output

Sample JSON Output

"{
  ""response"": {
    ""data"": {
      ""id"": 32892,
      ""MOID"": ""net.juniper.jmp.sgd.discovery.inventory.device.datamodel.jpa.SDGHostEntity:32892"",
      ""name"": ""mobst480w"",
      ""haType"": ""MASTER"",
      ""haIndex"": ""MASTER1"",
      ""slots"": [
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327775"",
          ""name"": ""FPC 0"",
          ""displayName"": ""MS-DPC"",
          ""model"": ""MS-DPC"",
          ""partNum"": ""750-024064"",
          ""serial"": ""ZL4601"",
          ""status"": ""Online"",
          ""slotIndex"": 0,
          ""slotType"": ""FPC"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""PIC 0"",
                ""value"": ""MS-DPC PIC""
              },
              {
                ""key"": ""PIC 1"",
                ""value"": ""MS-DPC PIC""
              },
              {
                ""key"": ""CPU"",
                ""value"": ""DPC PMB""
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327783"",
          ""name"": ""FPC 1"",
          ""displayName"": ""MS-DPC"",
          ""model"": ""MS-DPC"",
          ""partNum"": ""750-024064"",
          ""serial"": ""YN4536"",
          ""status"": ""Online"",
          ""slotIndex"": 1,
          ""slotType"": ""FPC"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""PIC 0"",
                ""value"": ""MS-DPC PIC""
              },
              {
                ""key"": ""PIC 1"",
                ""value"": ""MS-DPC PIC""
              },
              {
                ""key"": ""CPU"",
                ""value"": ""DPC PMB""
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327791"",
          ""name"": ""FPC 2"",
          ""displayName"": ""MS-DPC"",
          ""model"": ""MS-DPC"",
          ""partNum"": ""750-024064"",
          ""serial"": ""CABH5741"",
          ""status"": ""Online"",
          ""slotIndex"": 2,
          ""slotType"": ""FPC"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""PIC 0"",
                ""value"": ""MS-DPC PIC""
              },
              {
                ""key"": ""PIC 1"",
                ""value"": ""MS-DPC PIC""
              },
              {
                ""key"": ""CPU"",
                ""value"": ""DPC PMB""
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327799"",
          ""name"": ""FPC 3"",
          ""displayName"": ""MX-MPC2-3D-EQ"",
          ""model"": ""MX-MPC2-3D-EQ"",
          ""partNum"": ""750-031090"",
          ""serial"": ""YY4714"",
          ""status"": ""Online"",
          ""slotIndex"": 3,
          ""slotType"": ""FPC"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""MIC 0"",
                ""value"": ""3D 20x 1GE(LAN) SFP""
              },
              {
                ""key"": ""CPU"",
                ""value"": ""MPC PMB 2G ""
              },
              {
                ""key"": ""QXM 1"",
                ""value"": ""MPC QXM""
              },
              {
                ""key"": ""QXM 0"",
                ""value"": ""MPC QXM""
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327817"",
          ""name"": ""FPC 4"",
          ""displayName"": ""MPC-3D-16XGE-SFPP"",
          ""model"": ""MPC-3D-16XGE-SFPP"",
          ""partNum"": ""750-028467"",
          ""serial"": ""CABG9928"",
          ""status"": ""Online"",
          ""slotIndex"": 4,
          ""slotType"": ""FPC"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""PIC 2"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""PIC 3"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""PIC 0"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""PIC 1"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""CPU"",
                ""value"": ""AMPC PMB""
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327851"",
          ""name"": ""FPC 5"",
          ""displayName"": ""MPC-3D-16XGE-SFPP"",
          ""model"": ""MPC-3D-16XGE-SFPP"",
          ""partNum"": ""750-028467"",
          ""serial"": ""YW8190"",
          ""status"": ""Online"",
          ""slotIndex"": 5,
          ""slotType"": ""FPC"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""PIC 2"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""PIC 3"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""PIC 0"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""PIC 1"",
                ""value"": ""4x 10GE(LAN) SFP+""
              },
              {
                ""key"": ""CPU"",
                ""value"": ""AMPC PMB""
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327747"",
          ""name"": ""Routing Engine 0"",
          ""displayName"": ""RE 0"",
          ""model"": ""RE-S-1800X4-16G-S"",
          ""partNum"": ""740-031116"",
          ""serial"": 9009079894,
          ""status"": ""Online"",
          ""slotIndex"": 0,
          ""slotType"": ""SCB"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""usb0 (addr 2)"",
                ""value"": ""uhub1""
              },
              {
                ""key"": ""DIMM 3"",
                ""value"": """"
              },
              {
                ""key"": ""usb0 (addr 1)"",
                ""value"": ""uhub0""
              },
              {
                ""key"": ""DIMM 1"",
                ""value"": """"
              },
              {
                ""key"": ""ad0"",
                ""value"": ""Compact Flash(disk-size 3896)""
              },
              {
                ""key"": ""DIMM 2"",
                ""value"": """"
              },
              {
                ""key"": ""ad1"",
                ""value"": ""Disk 1 (disk-size 30533)""
              },
              {
                ""key"": ""DIMM 0"",
                ""value"": """"
              }
            ]
          }
        },
        {
          ""MOID"": ""net.juniper.jmp.cems.shared.jpa.EquipmentHolderEntity:327765"",
          ""name"": ""Routing Engine 1"",
          ""displayName"": ""RE 1"",
          ""model"": ""RE-S-1800X4-8G-S"",
          ""partNum"": ""740-031118"",
          ""serial"": 9009079801,
          ""status"": ""Online"",
          ""slotIndex"": 1,
          ""slotType"": ""SCB"",
          ""attributes"": {
            ""entry"": [
              {
                ""key"": ""ad0"",
                ""value"": ""Compact Flash(disk-size 3896)""
              },
              {
                ""key"": ""ad1"",
                ""value"": ""Disk 1 (disk-size 30533)""
              }
            ]
          }
        }
      ],
      ""sgdName"": ""mobst480w"",
      ""deviceId"": 131086,
      ""serviceDetails"": [
        {
          ""serviceType"": ""ADC"",
          ""slotNumber"": 0,
          ""hostName"": ""mobst480w"",
          ""servicePic"": ""ms-0/0/0"",
          ""instanceNames"": ""lb1""
        },
        {
          ""serviceType"": ""CGNAT"",
          ""slotNumber"": 2,
          ""hostName"": ""mobst480w"",
          ""servicePic"": ""sp-2/0/0.1000, sp-2/0/0.100"",
          ""instanceNames"": ""NAPT44-SS1""
        },
        {
          ""serviceType"": ""CGNAT"",
          ""slotNumber"": 2,
          ""hostName"": ""mobst480w"",
          ""servicePic"": ""sp-2/1/0.1000, sp-2/1/0.100"",
          ""instanceNames"": ""NAPT44-SS2""
        },
        {
          ""serviceType"": ""SFW"",
          ""slotNumber"": 1,
          ""hostName"": ""mobst480w"",
          ""servicePic"": ""sp-1/1/0.100, sp-1/1/0.99"",
          ""instanceNames"": ""IPv6-SFW""
        },
        {
          ""serviceType"": ""TLB"",
          ""slotNumber"": 1,
          ""hostName"": ""mobst480w"",
          ""servicePic"": ""ms-1/0/0.0"",
          ""instanceNames"": ""tlb_sdg""
        },
        {
          ""serviceType"": ""TLB"",
          ""slotNumber"": 1,
          ""hostName"": ""mobst480w"",
          ""servicePic"": ""ms-1/0/0.0"",
          ""instanceNames"": ""tlb_sdg_v6""
        }
      ]
    },
    ""haStatus"": false,
    ""masterHostMOID"": ""net.juniper.jmp.sgd.discovery.inventory.device.datamodel.jpa.SDGHostEntity:32892"",
    ""masterHostName"": ""mobst480w"",
    ""sdgMOID"": ""net.juniper.jmp.sgd.discovery.inventory.device.datamodel.jpa.SDGEntity:33139"",
    ""sdgName"": ""mobst480w"",
    ""sdgid"": 33139
  }
}"

Get the Number of Alarms for an SDG Host

This request is used to retrieve the number of alarms generated for a particular SDG device.

URI

/api/sgd/monitoring/sdg-monitor/alarmsCount/
(SDGHostEntity)

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.alarmsCount.(SDGHostEntity)
+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects alarms generated for an SDG host

Response Status Code

Message

Description

200 OK

Successful collection of alarms generated for an SDG host

Output

Sample JSON Output

{ "alarmcount" : { "criticalCount" : 5,
      "majorCount" : 6,
      "minorCount" : 0
    } }

Get Details for an SDG Host

This request is used to retrieve details of the configuration on an SDG host.

URI

/api/sgd/monitoring/sdg-monitor/hostDetails/
(SDGHostEntity)?
sgdName=sanity-service-gateway

HTTP Method

GET

Content-Type

aapplication/vnd.net.juniper.space.monitoring.
sdg-monitor.hostDetails.(SDGHostEntity)?
sgdName=sanity-service-gateway
+json;version=1;charset=UTF-8

Parameters

sgdName,includeTrend

Consumes

None

Produces

Collects information of an SDG host

Response Status Code

Message

Description

200 OK

Successful collection of information of an SDG host

Output

Sample JSON Output

"{
  ""SGDHostDetails"": {
    ""trendDataMap"": """",
    ""sgdName"": ""mobst480w"",
    ""hostName"": ""mobst480w"",
    ""manageIp"": ""10.213.2.219"",
    ""status"": ""up"",
    ""softwareVersion"": ""12.1X43.11"",
    ""family"": ""MX480"",
    ""upTimeSince"": ""Host uptime not available""
  }
}"

Get the Trend of Alarms Count for an SDG Host

This request is used to retrieve the alarms count trend for an SDG host.

URI

/api/sgd/monitoring/sdg-monitor/alarmsCountTrend/deviceId?
interval=LAST_6_HRS

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.alarmsCountTrend.
deviceId?interval=LAST_6_HRS
+json;version=1;charset=UTF-8

Parameters

interval,serviceType,instanceName

Consumes

None

Produces

Collects the alarms count trend

Response Status Code

Message

Description

200 OK

Successful collection of alarms count trend

Output

Sample JSON Output

[ { "alarmcount" : { "criticalCount" : 6,
        "majorCount" : 0,
        "minorCount" : 0,
        "time" : "2014-11-18T09:30:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 5,
        "majorCount" : 0,
        "minorCount" : 1,
        "time" : "2014-11-18T09:40:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 6,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T09:50:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 6,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T10:00:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 6,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T10:10:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 6,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T10:20:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 6,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T10:30:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 5,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T10:40:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 5,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T10:50:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 5,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T11:00:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 5,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T11:10:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 5,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T11:20:02Z"
      } },
  { "alarmcount" : { "criticalCount" : 3,
        "majorCount" : 6,
        "minorCount" : 0,
        "time" : "2014-11-18T11:30:02Z"
      } }
]

Get Service Status Trend for an SDG Host

This request is used to retrieve the service status trend for an SDG host.

URI

/api/sgd/monitoring/sdg-monitor/serviceStatusTrend?
sgdName=MonitoringSDG-Sanity&interval
=LAST_24_HRS(sgd-name)

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.serviceStatusTrend?
sgdName=MonitoringSDG-Sanity&interval
=LAST_24_HRS(sgd-name)+json;version=1;charset=UTF-8

Parameters

instanceName

Consumes

None

Produces

Collects the service status trend for an SDG host

Response Status Code

Message

Description

200 OK

Successful collection of the service status trend for an SDG host

Output

Sample JSON Output

{ "kpiGroupTrendData" : { "kpiNames" : [ "ADC",
          "CGNAT",
          "SFW",
          "TLB"
        ],
      "trendData" : [ { "date" : "2014-11-18T09:30:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T09:40:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T09:50:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:00:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:10:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:20:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:30:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:40:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:50:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:00:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:10:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:20:04Z",
            "values" : [ "red",
                "red",
                "red",
                "green"
              ]
          }
        ],
      "valueDataType" : "String"
    } }

Get the HA Switchover Trend of an SDG Host

This request is used to retrieve the high availability (HA) switchover trend in a redundancy pair of devices.

URI

/api/sgd/monitoring/sdg-monitor/haswitchover/
sanity-service-gateway?interval=LAST_24_HRS
&sdgHosts=hostName

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.haswitchover.
sanity-service-gateway?interval=LAST_24_HRS
&sdgHosts=hostName+json;version=1;charset=UTF-8

Parameters

interval,sgdHosts

Consumes

None

Produces

Collects the HA switchover status trend for an SDG host

Response Status Code

Message

Description

200 OK

Successful collection of HA switchover status trend for an SDG host

Output

Sample JSON Output

{ "haswitchoverTrendData" : { "sgdHosts" : "mobst480w",
      "trendData" : [ { "date" : "2014-11-19T03:20:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T03:30:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T03:40:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T03:50:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T04:00:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T04:10:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T04:20:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T04:30:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T04:40:00Z",
            "values" : 1
          },
          { "date" : "2014-11-19T04:50:00Z",
            "values" : 1
          }
        ],
      "valueDataType" : "String"
    } }

Get the HA KPI Trend of an SDG Host

This request is used to retrieve the high availability KPI trend of an SDG host.

URI

/api/sgd/monitoring/sdg-monitor/hostHaKpiTrend
?sgdName=MonitoringSDG-Sanity
&interval=LAST_24_HRS(sgd-name)

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.hostHaKpiTrend
?sgdName=MonitoringSDG-Sanity
&interval=LAST_24_HRS(sgd-name)+json;version=1;charset=UTF-8

Parameters

sgdName, interval

Consumes

None

Produces

Collects high availability KPI trend of an SDG host.

Response Status Code

Message

Description

200 OK

Successful collection of high availability KPI trend of an SDG host.

Output

Sample JSON Output

{ "kpiGroupTrendData" : { "kpiNames" : [ "vrrpStatus",
          "iclLinkStatus",
          "adcVIPRouteStatus",
          "cgnatDefaultRouteStatus",
          "dmzLinkStatus"
        ],
      "trendData" : [ { "date" : "2014-11-18T09:30:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T09:40:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T09:50:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:00:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:10:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:20:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:30:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:40:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T10:50:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:00:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:10:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:20:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          },
          { "date" : "2014-11-18T11:30:00Z",
            "values" : [ "green",
                "green",
                "red",
                "red",
                "green"
              ]
          }
        ],
      "valueDataType" : "String"
    } }

Get Ticker Details of an SDG Host

This request is used to retrieve an SDG host ticker information.

URI

/api/sgd/monitoring/sdg-monitor/hostTicker/
sanity-service-gateway?&interval=LAST_6_HRS&
sdhHost=hostName

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.hostTicker.
sanity-service-gateway?&interval=LAST_6_HRS&
sdhHost=hostName+json;version=1;charset=UTF-8

Parameters

sgdHost, interval

Consumes

None

Produces

Collects an SDG host ticker information

Response Status Code

Message

Description

200 OK

Successful collection of an SDG host ticker information.

Output

Sample JSON Output

{ "response" : { "data" : [ { "log" : "<p>\n\t\t\tUser defined threshold event: sfwPacketDropStatusThreshold  trap received \n\t\t\t\tService Instance Name=IPv6-SFW \t\t\t\t\n\t\t\t\tKPI Name =sfwPacketDropStatus \t</p>",
            "message" : "User defined threshold event: there is CPU limit, memory limit and flow limit packet drops ",
            "time" : 1416309774000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: realServerUpThreshold  trap received \n\t\t\t\tService Instance Name=adc_lb \t\t\t\t\n\t\t\t\tKPI Name =adcRealServerStatus \n\t\t\t\tThreshold Value =30.0\n\t\t\t\tCurrent Value =0.0 </p>",
            "message" : "User defined threshold event: Less than 30.0% of configured real servers are up",
            "time" : 1416308578000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: sfwServicePICStatusDownThreshold  trap received \n\t\t\t\tService Instance Name= NAPT44-SS1 \t\t\t\n\t\t\t\tKPI Name =sfwServicePICStatus \n\t\t\t\tservice PIC Name =sp-2/0/0 \t </p>",
            "message" : "User defined threshold event: service PIC sp-2/0/0 is down",
            "time" : 1416308578000
          },
          { "log" : "<p>\n\t\t\tUser defined HA threshold event: sdgVRRPStatusThreshold  trap received \n\t\t\t\tKPI Name = sdgMasterVRRPStatus \t </p>",
            "message" : "User defined threshold event:  VRRP HA status is incorrect ",
            "time" : 1416308578000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: sfwServicePICStatusDownThreshold  trap received \n\t\t\t\tService Instance Name= NAPT44-SS2 \t\t\t\n\t\t\t\tKPI Name =sfwServicePICStatus \n\t\t\t\tservice PIC Name =sp-2/1/0 \t </p>",
            "message" : "User defined threshold event: service PIC sp-2/1/0 is down",
            "time" : 1416308577000
          },
          { "log" : "<p>\n\t\t\tUser defined HA threshold event: sdgVRRPStatusThreshold  trap received \n\t\t\t\tKPI Name = sdgMasterVRRPStatus \t </p>",
            "message" : "User defined threshold event:  VRRP HA status is incorrect ",
            "time" : 1416305580000
          }
        ],
      "schemaName" : "TickerMessageTO",
      "success" : true,
      "totalRows" : 17
    } }

Get Master SDG Host Details

This request is used to retrieve details of the configuration on a master SDG device in a high availability pair of devices.

URI

/api/sgd/monitoring/sdg-monitor/hostDetails/
{$MASTER_SDGHOSTMO_ID}?sgdName={sgdname}

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.hostDetails.{$MASTER_SDGHOSTMO_ID}
?sgdName={sgdname}+json;version=1;charset=UTF-8

Parameters

sgdName

Consumes

None

Produces

Collects master SDG host configuration details.

Response Status Code

Message

Description

200 OK

Successful collection of master SDG host configuration details.

Output

Sample JSON Output

{ "SGDHostDetails" : { "family" : "MX480",
      "hostName" : "10.2.1.25",
      "manageIp" : "10.2.1.25",
      "sgdName" : "fmTesting",
      "softwareVersion" : "12.1X43.8",
      "status" : "up",
      "trendDataMap" : "",
      "upTimeSince" : "99 days,  1:48"
    } }

Get ADC Service Instance Details

This request is used to retrieve details of the ADC service template configuration.

URI

/api/sgd/monitoring/sdg-monitor/adc/
{$SDGMO_ID}
?instanceName={ADCInstanceName}

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.adc/{$SDGMO_ID}
?instanceName={ADCInstanceName}+json;
version=1;charset=UTF-8

Parameters

instanceName, includeTrend

Consumes

None

Produces

Collects information about an ADC service instance

Response Status Code

Message

Description

200 OK

Successful collection of ADC service instance details.

Output

Sample JSON Output

{ "adcMonitorData" : { "ipV4RealServerCount" : 0,
      "ipV4RealServersDownCount" : 0,
      "ipV4RealServersUpCount" : 0,
      "ipV4VipCount" : 0,
      "ipV4VipDownCount" : 0,
      "ipV6RealServerCount" : 0,
      "ipV6RealServersDownCount" : 0,
      "ipV6RealServersUpCount" : 0,
      "ipV6VipDownCount" : 0,
      "ipv4VipUpCount" : 0,
      "ipv6VipCount" : 0,
      "ipv6VipUpCount" : 0,
      "serviceInstanceName" : "adc_lb",
      "serviceInstanceStatus" : true,
      "serviceInstanceType" : "ADC",
      "servicePicName" : "ms-0/1/0",
      "servicePicStatus" : "Up",
      "trendDataMap" : ""
    } }

Get CGNAT Service Instance Details

This request is used to retrieve details of the CGNAT service template configuration.

URI

/api/sgd/monitoring/sdg-monitor/cgnat/
{$SDGMO_ID}?instanceName={CGNATInstanceName}

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring
sdg-monitor.cgnat.{$SDGMO_ID}
?instanceName={CGNATInstanceName}+json;
version=1;charset=UTF-8

Parameters

instanceName, includeTrend

Consumes

None

Produces

Collects information about a CGNAT service instance

Response Status Code

Message

Description

200 OK

Successful collection of CGNAT service instance details.

Output

Sample JSON Output

{ "cgnatMonitorData" : { "createdFlowsPerSec" : 0,
      "deletedFlowsPerSec" : 0,
      "peakTotalFlowsActive" : 1104,
      "serviceInstanceName" : "NAPT44-SS2",
      "serviceInstanceStatus" : true,
      "serviceInstanceType" : "CGNAT",
      "servicePicName" : "sp-2/1/0",
      "servicePicStatus" : "Up",
      "totalFlowsActive" : 1100,
      "trendDataMap" : ""
    } }

Get TLB Service Instance Details

This request is used to retrieve details of the TLB service template configuration.

URI

/api/sgd/monitoring/sdg-monitor/tlb/
{$SDGMO_ID}?instanceName
={TLBInstanceName}

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.sdg-monitor.tlb.{$SDGMO_ID}
?instanceName={TLBInstanceName}+json;
version=1;charset=UTF-8

Parameters

instanceName, includeTrend

Consumes

None

Produces

Collects information about a TLB service instance

Response Status Code

Message

Description

200 OK

Successful collection of TLB service instance details.

Output

Sample JSON Output

{ "tlbMonitorData" : { "ipV4RealServerCount" : 220,
      "ipV4RealServersDownCount" : 10,
      "ipV4RealServersUpCount" : 210,
      "ipV6RealServerCount" : 0,
      "ipV6RealServersDownCount" : 0,
      "ipV6RealServersUpCount" : 0,
      "ipv4RealServerDownList" : [ "rs1",
          "rs10",
          "rs2",
          "rs3",
          "rs4",
          "rs5",
          "rs6",
          "rs7",
          "rs8",
          "rs9"
        ],
      "ipv4RealServerUpList" : [ "rs100",
          "rs101",
          "rs102",
          "rs103",
          "rs104",
          "rs105",
          "rs106",
          "rs107",
          "rs108",
          "rs109",
          "rs11",
          "rs110",
          "rs111",
          "rs112",
          "rs113",
          "rs114",
          "rs115",
          "rs116",
          "rs117",
          "rs118",
          "rs119",
          "rs12",
          "rs120",
          "rs121",
          "rs122",
          "rs123",
          "rs124",
          "rs125",
          "rs126",
          "rs127",
          "rs128",
          "rs129",
          "rs13",
          "rs130",
          "rs131",
          "rs132",
          "rs133",
          "rs134",
          "rs135",
          "rs136",
          "rs137",
          "rs138",
          "rs139",
          "rs14",
          "rs140",
          "rs141",
          "rs142",
          "rs143",
          "rs144",
          "rs145",
          "rs146",
          "rs147",
          "rs148",
          "rs149",
          "rs15",
          "rs150",
          "rs151",
          "rs152",
          "rs153",
          "rs154",
          "rs155",
          "rs156",
          "rs157",
          "rs158",
          "rs159",
          "rs16",
          "rs160",
          "rs161",
          "rs162",
          "rs163",
          "rs164",
          "rs165",
          "rs166",
          "rs167",
          "rs168",
          "rs169",
          "rs17",
          "rs170",
          "rs171",
          "rs172",
          "rs173",
          "rs174",
          "rs175",
          "rs176",
          "rs177",
          "rs178",
          "rs179",
          "rs18",
          "rs180",
          "rs181",
          "rs182",
          "rs183",
          "rs184",
          "rs185",
          "rs186",
          "rs187",
          "rs188",
          "rs189",
          "rs19",
          "rs190",
          "rs191",
          "rs192",
          "rs193",
          "rs194",
          "rs195",
          "rs196",
          "rs197",
          "rs198",
          "rs199",
          "rs20",
          "rs200",
          "rs201",
          "rs202",
          "rs203",
          "rs204",
          "rs205",
          "rs206",
          "rs207",
          "rs208",
          "rs209",
          "rs21",
          "rs210",
          "rs211",
          "rs212",
          "rs213",
          "rs214",
          "rs215",
          "rs216",
          "rs217",
          "rs218",
          "rs219",
          "rs22",
          "rs220",
          "rs23",
          "rs24",
          "rs25",
          "rs26",
          "rs27",
          "rs28",
          "rs29",
          "rs30",
          "rs31",
          "rs32",
          "rs33",
          "rs34",
          "rs35",
          "rs36",
          "rs37",
          "rs38",
          "rs39",
          "rs40",
          "rs41",
          "rs42",
          "rs43",
          "rs44",
          "rs45",
          "rs46",
          "rs47",
          "rs48",
          "rs49",
          "rs50",
          "rs51",
          "rs52",
          "rs53",
          "rs54",
          "rs55",
          "rs56",
          "rs57",
          "rs58",
          "rs59",
          "rs60",
          "rs61",
          "rs62",
          "rs63",
          "rs64",
          "rs65",
          "rs66",
          "rs67",
          "rs68",
          "rs69",
          "rs70",
          "rs71",
          "rs72",
          "rs73",
          "rs74",
          "rs75",
          "rs76",
          "rs77",
          "rs78",
          "rs79",
          "rs80",
          "rs81",
          "rs82",
          "rs83",
          "rs84",
          "rs85",
          "rs86",
          "rs87",
          "rs88",
          "rs89",
          "rs90",
          "rs91",
          "rs92",
          "rs93",
          "rs94",
          "rs95",
          "rs96",
          "rs97",
          "rs98",
          "rs99"
        ],
      "routeHoldTimer" : 180,
      "serviceInstanceName" : "tlb_sdg",
      "serviceInstanceStatus" : true,
      "serviceInstanceType" : "TLB",
      "servicePicName" : "ms-1/0/0",
      "servicePicStatus" : "Up",
      "trendDataMap" : ""
    } }

Get Stateful Firewall Service Instance Details

This request is used to retrieve details of the stateful firewall (SFW) service template configuration.

URI

/api/sgd/monitoring/sdg-monitor/sfw/{$SDGMO_ID}
?instanceName={SFWInstanceName}

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.sdg-monitor.sfw.{$SDGMO_ID}
?instanceName={SFWInstanceName}+json;version=1;
charset=UTF-8

Parameters

instanceName, includeTrend

Consumes

None

Produces

Collects information about an SFW service instance

Response Status Code

Message

Description

200 OK

Successful collection of SFW service instance details.

Output

Sample JSON Output

{ "sfwMonitorData" : { "createdFlowsPerSec" : 0,
      "deletedFlowsPerSec" : 0,
      "peakTotalFlowsActive" : 900,
      "serviceInstanceName" : "NAPT44-SS1",
      "serviceInstanceStatus" : true,
      "serviceInstanceType" : "SFW",
      "servicePicName" : "sp-2/0/0",
      "servicePicStatus" : "Up",
      "totalFlowsActive" : 900,
      "trendDataMap" : ""
    } }

Get Service Ticker Details

This request is used to retrieve the service ticker details.

URI

/api/sgd/monitoring/sdg-monitor/serviceTicker/
serviceTicker/sanity-service-gateway(sgd-name)

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.serviceTicker.
serviceTicker/sanity-service-gateway(sgd-name)
+json;version=1;charset=UTF-8

Parameters

serviceType,instanceName,interval

Consumes

None

Produces

Collects the service ticker information

Response Status Code

Message

Description

200 OK

Successful collection of a service ticker information.

Output

Sample JSON Output

{ "response" : { "data" : [ { "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "message" : "User defined threshold event: memory usage is in threshold zone ",
            "time" : 1416371492000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "message" : "User defined threshold event: memory usage is in threshold zone ",
            "time" : 1416368490000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "message" : "User defined threshold event: memory usage is in threshold zone ",
            "time" : 1416365490000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "message" : "User defined threshold event: memory usage is in threshold zone ",
            "time" : 1416362490000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "message" : "User defined threshold event: memory usage is in threshold zone ",
            "time" : 1416359490000
          },
          { "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "message" : "User defined threshold event: memory usage is in threshold zone ",
            "time" : 1416356495000
          }
        ],
      "schemaName" : "TickerMessageTO",
      "success" : true,
      "totalRows" : 6
    } }

Get Service Alarms Count

This request is used to retrieve the count of service alarms

URI

/api/sgd/monitoring/sdg-monitor
<$SDGMO_ID>?instanceName=<instanceName>

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.<$SDGMO_ID>?instanceName=<instanceName>
+json;version=1;charset=UTF-8

Parameters

instanceName

Consumes

None

Produces

Collects the count of service alarms

Response Status Code

Message

Description

200 OK

Successful collection of the count of service alarms

Output

Sample JSON Output

{ "alarmcount" : { "criticalCount" : 2,
      "majorCount" : 0,
      "minorCount" : 0
    } }

Get Alarms

This request is used to retrieve information regarding the alarms generated.

URI

/api/sgd/monitoring/sdg-monitor
alarms/<$SDGMO_ID>?serviceType=<ADC>
&instanceName=<instance>

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.&lt;$SDGMO_ID>?
instanceName=&lt;instanceName>
+json;version=1;charset=UTF-8

Parameters

serviceType,instanceName

Consumes

None

Produces

Collects the alarms generated

Response Status Code

Message

Description

200 OK

Successful collection of details of generated alarms

Output

Sample JSON Output

{ "response" : { "data" : [ { "alarmid" : 167,
            "description" : "This notification is generated when memory status is breached",
            "eventparms" : "value=1.0(string,text);kpiName=cgnatMemoryZoneStatus(string,text);serviceName=NAPT44-SS1(string,text);
             thresholdValue=1.0(string,text)",
            "ipAddress" : "10.2.1.25",
            "lasteventtime" : 1416372691000,
            "log" : "<p>\n\t\t\tUser defined threshold event: cgnatMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =cgnatMemoryZoneStatus \t</p>",
            "nodeid" : 15,
            "severity" : 7
          },
          { "alarmid" : 169,
            "description" : "This notification is generated when memory status is breached",
            "eventparms" : "value=1.0(string,text);kpiName=sfwMemoryZoneStatus(string,text);serviceName=NAPT44-SS1(string,text);thresholdValue=1.0(string,text)",
            "ipAddress" : "10.2.1.25",
            "lasteventtime" : 1416372691000,
            "log" : "<p>\n\t\t\tUser defined threshold event: sfwMemoryZoneStatusThreshold trap received \n\t\t\t\tService Instance Name=NAPT44-SS1 \t\t\t\t\n\t\t\t\tKPI Name =sfwMemoryZoneStatus \t</p>",
            "nodeid" : 15,
            "severity" : 7
          }
        ],
      "schemaName" : "AlarmTO",
      "success" : true,
      "totalRows" : 2
    } }

Get the Trend of KPI Groups

This request is used to retrieve the trend of KPI groups.

URI

/api/sgd/monitoring/sdg-monitor
kpiGroupTrend/<$SDGMO_ID>?serviceType=<ADC>&instance
Name=<instance>&kpiNames=<KPIs

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.kpiGroupTrend/<$SDGMO_ID>?
serviceType=<ADC>&instanceName=<instance>&kpiNames=
<KPIs +json;version=1;charset=UTF-8

Parameters

serviceType,instanceName,kpiNames,interval

Consumes

None

Produces

Collects the trend of KPI groups

Response Status Code

Message

Description

200 OK

Successful collection of the trend of KPI groups

Output

Sample JSON Output

{ "kpiGroupTrendData" : { "kpiNames" : "cgnatFlowCount",
      "trendData" : [ { "date" : "2014-11-19T00:30:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T00:40:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T00:50:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T01:00:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T01:10:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T01:20:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T01:30:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T01:40:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T01:50:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T02:00:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T02:10:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T02:20:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T02:30:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T02:40:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T02:50:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T03:00:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T03:10:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T03:20:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T03:30:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T03:40:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T03:50:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T04:00:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T04:10:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T04:20:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T04:30:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T04:40:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T04:50:00Z",
            "values" : 900
          },
          { "date" : "2014-11-19T05:00:00Z",
            "values" : 900
          }
        ],
      "valueDataType" : "String"
    } }

Monitor the SDG Tree

This request is used to verify the SDG tree structure.

URI

/api/sgd/monitoring/sdg-monitor
/monitoringsdgtree

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.monitoringsdgtree
<KPIs +json;version=1;charset=UTF-8

Consumes

None

Produces

Displays the SDG tree

Response Status Code

Message

Description

200 OK

Successful display of the SDG tree

Output

Sample JSON Output

[ { "children" : [ { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS1",
                "leaf" : true,
                "text" : "NAPT44-SS1",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS2",
                "leaf" : true,
                "text" : "NAPT44-SS2",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS3",
                "leaf" : true,
                "text" : "NAPT44-SS3",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS4",
                "leaf" : true,
                "text" : "NAPT44-SS4",
                "type" : "CGNAT"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT",
          "text" : "CGNAT",
          "type" : "CGNAT"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&SFW&NAPT44-SS1",
                "leaf" : true,
                "text" : "NAPT44-SS1",
                "type" : "SFW"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&SFW&NAPT44-SS2",
                "leaf" : true,
                "text" : "NAPT44-SS2",
                "type" : "SFW"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&SFW&IPv6-SFW",
                "leaf" : true,
                "text" : "IPv6-SFW",
                "type" : "SFW"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&33920&MonitoringSDG-Trend&SFW",
          "text" : "SFW",
          "type" : "SFW"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&TLB&tlb_sdg_v6",
                "leaf" : true,
                "text" : "tlb_sdg_v6",
                "type" : "TLB"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&TLB&tlb_sdg",
                "leaf" : true,
                "text" : "tlb_sdg",
                "type" : "TLB"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&33920&MonitoringSDG-Trend&TLB",
          "text" : "TLB",
          "type" : "TLB"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&ADC&adc_lb",
                "leaf" : true,
                "text" : "adc_lb",
                "type" : "ADC"
              } ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&33920&MonitoringSDG-Trend&ADC",
          "text" : "ADC",
          "type" : "ADC"
        }
      ],
    "iconCls" : "x4-tree-noicon-sgd",
    "id" : "SDG&33920&MonitoringSDG-Trend",
    "leaf" : false,
    "text" : "MonitoringSDG-Trend"
  },
  { "children" : [ { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&CGNAT&NAPT44-SS1",
                "leaf" : true,
                "text" : "NAPT44-SS1",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&CGNAT&NAPT44-SS2",
                "leaf" : true,
                "text" : "NAPT44-SS2",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&CGNAT&NAPT44-SS3",
                "leaf" : true,
                "text" : "NAPT44-SS3",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&CGNAT&NAPT44-SS4",
                "leaf" : true,
                "text" : "NAPT44-SS4",
                "type" : "CGNAT"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&34612&napt&CGNAT",
          "text" : "CGNAT",
          "type" : "CGNAT"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&SFW&NAPT44-SS1",
                "leaf" : true,
                "text" : "NAPT44-SS1",
                "type" : "SFW"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&SFW&NAPT44-SS2",
                "leaf" : true,
                "text" : "NAPT44-SS2",
                "type" : "SFW"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&SFW&IPv6-SFW",
                "leaf" : true,
                "text" : "IPv6-SFW",
                "type" : "SFW"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&34612&napt&SFW",
          "text" : "SFW",
          "type" : "SFW"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&TLB&tlb_sdg_v6",
                "leaf" : true,
                "text" : "tlb_sdg_v6",
                "type" : "TLB"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&TLB&tlb_sdg",
                "leaf" : true,
                "text" : "tlb_sdg",
                "type" : "TLB"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&34612&napt&TLB",
          "text" : "TLB",
          "type" : "TLB"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&ADC&lb1",
                "leaf" : true,
                "text" : "lb1",
                "type" : "ADC"
              } ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&34612&napt&ADC",
          "text" : "ADC",
          "type" : "ADC"
        }
      ],
    "iconCls" : "x4-tree-noicon-sgd",
    "id" : "SDG&34612&napt",
    "leaf" : false,
    "text" : "napt"
  },
  { "children" : [ { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&CGNAT&NAPT44-SS1",
                "leaf" : true,
                "text" : "NAPT44-SS1",
                "type" : "CGNAT"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&CGNAT&NAPT44-SS2",
                "leaf" : true,
                "text" : "NAPT44-SS2",
                "type" : "CGNAT"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&37673&MonitoringSDG-Sanity&CGNAT",
          "text" : "CGNAT",
          "type" : "CGNAT"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&SFW&IPv6-SFW",
                "leaf" : true,
                "text" : "IPv6-SFW",
                "type" : "SFW"
              } ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&37673&MonitoringSDG-Sanity&SFW",
          "text" : "SFW",
          "type" : "SFW"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&TLB&tlb_sdg_v6",
                "leaf" : true,
                "text" : "tlb_sdg_v6",
                "type" : "TLB"
              },
              { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&TLB&tlb_sdg",
                "leaf" : true,
                "text" : "tlb_sdg",
                "type" : "TLB"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&37673&MonitoringSDG-Sanity&TLB",
          "text" : "TLB",
          "type" : "TLB"
        },
        { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&ADC&lb1",
                "leaf" : true,
                "text" : "lb1",
                "type" : "ADC"
              } ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&37673&MonitoringSDG-Sanity&ADC",
          "text" : "ADC",
          "type" : "ADC"
        }
      ],
    "iconCls" : "x4-tree-noicon-sgd",
    "id" : "SDG&37673&MonitoringSDG-Sanity",
    "leaf" : false,
    "text" : "MonitoringSDG-Sanity"
  }
]

Monitor the SDG Group Tree

This request is used to verify the SDG Group tree structure.

URI

/api/sgd/monitoring/sdg-monitor
/monitoringgrouptree

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.monitoring.
sdg-monitor.monitoringgrouptree
<KPIs +json;version=1;charset=UTF-8

Consumes

None

Produces

Displays the SDG group tree

Response Status Code

Message

Description

200 OK

Successful display of the SDG group tree

Output

Sample JSON Output

[ { "children" : [ { "children" : [ { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS1",
                      "leaf" : true,
                      "text" : "NAPT44-SS1",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS2",
                      "leaf" : true,
                      "text" : "NAPT44-SS2",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS3",
                      "leaf" : true,
                      "text" : "NAPT44-SS3",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT&NAPT44-SS4",
                      "leaf" : true,
                      "text" : "NAPT44-SS4",
                      "type" : "CGNAT"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&CGNAT",
                "text" : "CGNAT",
                "type" : "CGNAT"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&SFW&NAPT44-SS1",
                      "leaf" : true,
                      "text" : "NAPT44-SS1",
                      "type" : "SFW"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&SFW&NAPT44-SS2",
                      "leaf" : true,
                      "text" : "NAPT44-SS2",
                      "type" : "SFW"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&SFW&IPv6-SFW",
                      "leaf" : true,
                      "text" : "IPv6-SFW",
                      "type" : "SFW"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&SFW",
                "text" : "SFW",
                "type" : "SFW"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&TLB&tlb_sdg_v6",
                      "leaf" : true,
                      "text" : "tlb_sdg_v6",
                      "type" : "TLB"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&TLB&tlb_sdg",
                      "leaf" : true,
                      "text" : "tlb_sdg",
                      "type" : "TLB"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&TLB",
                "text" : "TLB",
                "type" : "TLB"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&33920&MonitoringSDG-Trend&ADC&adc_lb",
                      "leaf" : true,
                      "text" : "adc_lb",
                      "type" : "ADC"
                    } ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&33920&MonitoringSDG-Trend&ADC",
                "text" : "ADC",
                "type" : "ADC"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&33920&MonitoringSDG-Trend",
          "leaf" : false,
          "text" : "MonitoringSDG-Trend"
        },
        { "children" : [ { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&CGNAT&NAPT44-SS1",
                      "leaf" : true,
                      "text" : "NAPT44-SS1",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&CGNAT&NAPT44-SS2",
                      "leaf" : true,
                      "text" : "NAPT44-SS2",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&CGNAT&NAPT44-SS3",
                      "leaf" : true,
                      "text" : "NAPT44-SS3",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&CGNAT&NAPT44-SS4",
                      "leaf" : true,
                      "text" : "NAPT44-SS4",
                      "type" : "CGNAT"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&CGNAT",
                "text" : "CGNAT",
                "type" : "CGNAT"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&SFW&NAPT44-SS1",
                      "leaf" : true,
                      "text" : "NAPT44-SS1",
                      "type" : "SFW"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&SFW&NAPT44-SS2",
                      "leaf" : true,
                      "text" : "NAPT44-SS2",
                      "type" : "SFW"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&SFW&IPv6-SFW",
                      "leaf" : true,
                      "text" : "IPv6-SFW",
                      "type" : "SFW"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&SFW",
                "text" : "SFW",
                "type" : "SFW"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&TLB&tlb_sdg_v6",
                      "leaf" : true,
                      "text" : "tlb_sdg_v6",
                      "type" : "TLB"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&TLB&tlb_sdg",
                      "leaf" : true,
                      "text" : "tlb_sdg",
                      "type" : "TLB"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&TLB",
                "text" : "TLB",
                "type" : "TLB"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&34612&napt&ADC&lb1",
                      "leaf" : true,
                      "text" : "lb1",
                      "type" : "ADC"
                    } ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&34612&napt&ADC",
                "text" : "ADC",
                "type" : "ADC"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&34612&napt",
          "leaf" : false,
          "text" : "napt"
        },
        { "children" : [ { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&37673&MonitoringSDG-Sanity&CGNAT&NAPT44-SS1",
                      "leaf" : true,
                      "text" : "NAPT44-SS1",
                      "type" : "CGNAT"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&37673&MonitoringSDG-Sanity&CGNAT&NAPT44-SS2",
                      "leaf" : true,
                      "text" : "NAPT44-SS2",
                      "type" : "CGNAT"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&CGNAT",
                "text" : "CGNAT",
                "type" : "CGNAT"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&37673&MonitoringSDG-Sanity&SFW&IPv6-SFW",
                      "leaf" : true,
                      "text" : "IPv6-SFW",
                      "type" : "SFW"
                    } ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&SFW",
                "text" : "SFW",
                "type" : "SFW"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&37673&MonitoringSDG-Sanity&TLB&tlb_sdg_v6",
                      "leaf" : true,
                      "text" : "tlb_sdg_v6",
                      "type" : "TLB"
                    },
                    { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&37673&MonitoringSDG-Sanity&TLB&tlb_sdg",
                      "leaf" : true,
                      "text" : "tlb_sdg",
                      "type" : "TLB"
                    }
                  ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&TLB",
                "text" : "TLB",
                "type" : "TLB"
              },
              { "children" : [ { "iconCls" : "x4-tree-noicon-sgd",
                      "id" : "SDG&37673&MonitoringSDG-Sanity&ADC&lb1",
                      "leaf" : true,
                      "text" : "lb1",
                      "type" : "ADC"
                    } ],
                "iconCls" : "x4-tree-noicon-sgd",
                "id" : "SDG&37673&MonitoringSDG-Sanity&ADC",
                "text" : "ADC",
                "type" : "ADC"
              }
            ],
          "iconCls" : "x4-tree-noicon-sgd",
          "id" : "SDG&37673&MonitoringSDG-Sanity",
          "leaf" : false,
          "text" : "MonitoringSDG-Sanity"
        }
      ],
    "iconCls" : "x4-tree-noicon-sgd",
    "id" : "Group&net.juniper.jmp.sgd.management.sdg.groups.jpa.SDGGroupEntity:32768&Default-Group",
    "leaf" : false,
    "text" : "Default-Group"
  } ]

Modified: 2016-08-02