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

Dashboard RESTful Web Services

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

Get Alarms By Severity Levels

This request is used to retrieve alarms classified by severity levels.

URI

/api/sgd/dashboard/sgd-dashboard/getAlarmsBySeverity

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.dashboard.sgd-
dashboard.getAlarmsBySeverity+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects alarms based on severity levels.

Response Status Code

Message

Description

200 OK

Successful collection of alarms based on severity levels

Output

Sample JSON Output

{ "alarmsresponse" : { "alarms" : [ { "data" : 72,
            "name" : "Critical"
          },
          { "data" : 6,
            "name" : "Major"
          },
          { "data" : 0,
            "name" : "Minor"
          }
        ] } }

Sample XML Output

<alarmsresponse>
<alarms>
<data>22</data>
<name>Critical</name>
</alarms>
<alarms>
<data>0</data>
<name>Major</name>
</alarms>
<alarms>
<data>3</data>
<name>Minor</name>
</alarms>
</alarmsresponse>

Get Ticker Updates in the Dashboard

This request is used to retrieve the ticker updates in the dashboard. The SDG dashboard ticker constantly updates with the event, messages and logs.

URI

/api/sgd/dashboard/sgd-dashboard/getTickerUpdates

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.dashboard.sgd-
dashboard.getTickerUpdates+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.dashboard.sgd-
dashboard.getTickerUpdates+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects ticker updates

Response Status Code

Message

Description

200 OK

Successful collection of the ticker updates

Output

Sample JSON Output

{
  "tickerMessageResponse": {
    "tickerMessage": [
      {
        "time": 1416393996000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240c",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416393893000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "messageSource": "pm",
        "message": "User defined threshold event: Routing Engine 0 of chassis CPU usage is breached threshold value 95.0"
      },
      {
        "time": 1416393395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 11.0 "
      },
      {
        "time": 1416393395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416393395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416393395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416393395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416393395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416393292000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 10.0 "
      },
      {
        "time": 1416392091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416391489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416391489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416391489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416390996000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240c",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416390891000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "messageSource": "pm",
        "message": "User defined threshold event: Routing Engine 0 of chassis CPU usage is breached threshold value 95.0"
      },
      {
        "time": 1416390395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 11.0 "
      },
      {
        "time": 1416390395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416390395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416390395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416390395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416390395000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416390293000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 10.0 "
      },
      {
        "time": 1416389152000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416388490000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416388490000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416388490000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416387995000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240c",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416387892000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "messageSource": "pm",
        "message": "User defined threshold event: Routing Engine 0 of chassis CPU usage is breached threshold value 95.0"
      },
      {
        "time": 1416387401000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416387401000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416387401000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 11.0 "
      },
      {
        "time": 1416387401000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416387401000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416387400000,
        "sdgName": "mcmx240a-mcmx240c",
        "sdgHost": "mcmx240a",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416387359000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 10.0 "
      },
      {
        "time": 1416386091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416385489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416385489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416385489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416384892000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "messageSource": "pm",
        "message": "User defined threshold event: Routing Engine 0 of chassis CPU usage is breached threshold value 95.0"
      },
      {
        "time": 1416384291000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416383092000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416383091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416383091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416383091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416383091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416383091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416383091000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 10.0 "
      },
      {
        "time": 1416382489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416382489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416382489000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416381891000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "messageSource": "pm",
        "message": "User defined threshold event: Routing Engine 0 of chassis CPU usage is breached threshold value 95.0"
      },
      {
        "time": 1416381293000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      },
      {
        "time": 1416380089000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Less than 30.0% of configured real servers are up"
      },
      {
        "time": 1416380089000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416380089000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416380089000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB Real server down percentage is above threshold limit - 30.0% "
      },
      {
        "time": 1416380089000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "ADC",
        "serviceInstanceName": "lb1",
        "messageSource": "pm",
        "message": "User defined threshold event: Count of VIPs down 10.0 "
      },
      {
        "time": 1416380089000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416380088000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480w",
        "serviceType": "TLB",
        "serviceInstanceName": "tlb_sdg_v6",
        "messageSource": "pm",
        "message": "User defined threshold event: TLB routing instance composite next hop index is not available"
      },
      {
        "time": 1416379496000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event:  VRRP HA status is incorrect "
      },
      {
        "time": 1416379496000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: all VIP's are not point to local ADC service pic"
      },
      {
        "time": 1416379496000,
        "sdgName": "mobst480w-mobst480x",
        "sdgHost": "mobst480x",
        "serviceType": "HA",
        "messageSource": "pm",
        "message": "User defined threshold event: CGNAT default route status is not proper"
      }
    ]
  }
}

Get SDGs in Dashboard Tile View

This request is used to retrieve the SDGs in the tile view of the dashboard. The dashboard default view is tiled view. In tile view, a high-level, graphical view of the chassis is shown. It indicates the state of the interfaces. When the administrative and operational status of the interface is up, it is displayed in green. If the administrative status is down, the interface is displayed in grey. And, if the administrative status is up and operational status is down, the interface is displayed in amber

URI

/api/sgd/dashboard/sgd-dashboard/getAllSDGForTiledView

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.sgd-
dashboard.getAllSDGForTiledView+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects the SDGs in dashboard tile view

Response Status Code

Message

Description

200 OK

Successful collection of the SDGs in dashboard tile view

Input

Sample JSON Input

displayFavoriteSdgs=false&
limit=25&
page=1&
start=0&
userPreference=
{ "dashboardFilter" : { "alarmFilter" : { "all" : false,
          "critical" : false,
          "major" : false,
          "minor" : false
        },
      "allFilters" : false,
      "filterApplied" : false,
      "kpiFilter" : { "adcFilter" : [ { "green" : false,
                "kpiAttrName" : "VIP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Contorl CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Data Core CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "cgnatFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Memory Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Statful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "haFilter" : [ { "green" : false,
                "kpiAttrName" : "VRRP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "CGNAT Stateful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "sfwFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "tlbFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ]
        }
    },
  "emptyFilterPreference" : true,
  "favoritePreferenceList" : [ { "favorite" : true,
        "sdgName" : "MonitoringSDG-Trend"
      } ],
  "groupViewPageSize" : 4,
  "tileViewPageSize" : 25,
  "userDefaultView" : "TILE_VIEW"
}

Output

Sample JSON Output

{ "representationresponse" : { "sdgs" : [ { "adc" : true,
            "adcStatus" : "red",
            "cgnat" : true,
            "cgnatStatus" : "green",
            "favorite" : false,
            "ha" : true,
            "haStatus" : "red",
            "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:34273",
            "name" : "MonitoringSDG-Trend",
            "sdgHealthStatus" : "red",
            "sfw" : true,
            "sfwStatus" : "green",
            "tlb" : true,
            "tlbStatus" : "red"
          },
          { "adc" : true,
            "adcStatus" : "green",
            "cgnat" : true,
            "cgnatStatus" : "green",
            "favorite" : false,
            "ha" : true,
            "haStatus" : "green",
            "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:34803",
            "name" : "napt",
            "sdgHealthStatus" : "green",
            "sfw" : true,
            "sfwStatus" : "green",
            "tlb" : true,
            "tlbStatus" : "green"
          },
          { "adc" : true,
            "adcStatus" : "red",
            "cgnat" : true,
            "cgnatStatus" : "green",
            "favorite" : false,
            "ha" : true,
            "haStatus" : "red",
            "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:37892",
            "name" : "MonitoringSDG-Sanity",
            "sdgHealthStatus" : "red",
            "sfw" : true,
            "sfwStatus" : "green",
            "tlb" : true,
            "tlbStatus" : "red"
          }
        ],
      "success" : true,
      "totalGreen" : 1,
      "totalGrey" : 0,
      "totalOrange" : 0,
      "totalRed" : 2,
      "totalRows" : 0
    } }

Get the Count of Network Alarms

This request is used to retrieve the total number of network alarms.

URI

/api/sgd/dashboard/commondatanotification/
getnetworkalarmscount

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.dashboard.sdg-
dashcommondatanotification.
getnetworkalarmscount+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects the total number of alarms

Response Status Code

Message

Description

200 OK

Successful collection of the number of network alarms

Output

Sample JSON Output

{ "NetworkAlarmsCountTO" : { "critical" : 72,
      "major" : 6,
      "minor" : 1
    } }

Get the Health Status Graph of SDGs

This request is used to retrieve the health status graph of SDGs

URI

api/sgd/dashboard/sgd-dashboard/getAllSDGStatusCount?page
=1&start=0&limit=25

HTTP Method

GET

Content-Type

application/vnd.net.juniper.space.dashboard.
sdgstatuscount+json;version="1"

Consumes

None

Produces

Collects the health status graph of SDGs

Response Status Code

Message

Description

200 OK

Successful collection of the health status graph of SDGs

Output

Sample JSON Output

{ "statusresponse" : { "sdgstatus" : [ { "green" : 0,
            "orange" : 0,
            "red" : 0,
            "time" : 1416351600000
          },
          { "green" : 0,
            "orange" : 0,
            "red" : 0,
            "time" : 1416355200000
          },
          { "green" : 1,
            "orange" : 0,
            "red" : 1,
            "time" : 1416358800000
          },
          { "green" : 0,
            "orange" : 0,
            "red" : 2,
            "time" : 1416362400000
          },
          { "green" : 1,
            "orange" : 0,
            "red" : 1,
            "time" : 1416366000000
          },
          { "green" : 1,
            "orange" : 0,
            "red" : 2,
            "time" : 1416369600000
          },
          { "green" : 1,
            "orange" : 0,
            "red" : 2,
            "time" : 1416371404000
          }
        ] } }

Get SDGs in Dashboard Group View

This request is used to retrieve the SDGs in the group view of the dashboard.

URI

/api/sgd/dashboard/sgd-dashboard/getAllSDGForGroupView

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.sgd-
dashboard.getAllSDGForGroupView+json;version=1;charset=UTF-8

Consumes

None

Produces

Collects the SDGs in dashboard group view

Response Status Code

Message

Description

200 OK

Successful collection of the SDGs in dashboard group view

Input

Sample JSON Input

displayFavoriteSdgs false
limit 4
page 1
sdgHealthStatus green
start 0
userPreference 
{ "dashboardFilter" : { "alarmFilter" : { "all" : false,
          "critical" : false,
          "major" : false,
          "minor" : false
        },
      "allFilters" : false,
      "filterApplied" : false,
      "kpiFilter" : { "adcFilter" : [ { "green" : false,
                "kpiAttrName" : "VIP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Contorl CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Data Core CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "cgnatFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Memory Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Statful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "haFilter" : [ { "green" : false,
                "kpiAttrName" : "VRRP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "CGNAT Stateful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "sfwFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "tlbFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ]
        }
    },
  "emptyFilterPreference" : true,
  "favoritePreferenceList" : [ { "favorite" : true,
        "sdgName" : "MonitoringSDG-Trend"
      } ],
  "groupViewPageSize" : 4,
  "tileViewPageSize" : 25,
  "userDefaultView" : "TILE_VIEW"
}

Output

Sample JSON Output

{ "sdggroupresponse" : { "group" : { "groupName" : "Default-Group",
          "sdg" : [ { "adc" : true,
                "adcStatus" : "red",
                "cgnat" : true,
                "cgnatStatus" : "green",
                "favorite" : false,
                "ha" : true,
                "haStatus" : "red",
                "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:34273",
                "name" : "MonitoringSDG-Trend",
                "sdgHealthStatus" : "red",
                "sfw" : true,
                "sfwStatus" : "green",
                "tlb" : true,
                "tlbStatus" : "red"
              },
              { "adc" : true,
                "adcStatus" : "green",
                "cgnat" : true,
                "cgnatStatus" : "green",
                "favorite" : false,
                "ha" : true,
                "haStatus" : "green",
                "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:34803",
                "name" : "napt",
                "sdgHealthStatus" : "green",
                "sfw" : true,
                "sfwStatus" : "green",
                "tlb" : true,
                "tlbStatus" : "green"
              },
              { "adc" : true,
                "adcStatus" : "red",
                "cgnat" : true,
                "cgnatStatus" : "green",
                "favorite" : false,
                "ha" : true,
                "haStatus" : "red",
                "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:37892",
                "name" : "MonitoringSDG-Sanity",
                "sdgHealthStatus" : "red",
                "sfw" : true,
                "sfwStatus" : "green",
                "tlb" : true,
                "tlbStatus" : "red"
              }
            ]
        },
      "success" : true,
      "totalGreen" : 1,
      "totalGrey" : 0,
      "totalOrange" : 0,
      "totalRed" : 2,
      "totalRows" : 0
    } }

Get SDGs in Green Band View

This request is used to retrieve the SDGs in the band view of the dashboard that are in green.

URI

/api/sgd/dashboard/sgd-dashboard/getAllTiledSDGByStatus

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.
tiledsdg+json;version=1

Consumes

None

Produces

Collects the SDGs in dashboard band view that are in green

Response Status Code

Message

Description

200 OK

Successful collection of the green SDGs in dashboard band view

Input

Sample JSON Input

displayFavoriteSdgs false
limit 4
page 1
sdgHealthStatus green
start 0
userPreference 
{ "dashboardFilter" : { "alarmFilter" : { "all" : false,
          "critical" : false,
          "major" : false,
          "minor" : false
        },
      "allFilters" : false,
      "filterApplied" : false,
      "kpiFilter" : { "adcFilter" : [ { "green" : false,
                "kpiAttrName" : "VIP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Contorl CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Data Core CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "cgnatFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Memory Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Statful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "haFilter" : [ { "green" : false,
                "kpiAttrName" : "VRRP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "CGNAT Stateful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "sfwFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "tlbFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ]
        }
    },
  "emptyFilterPreference" : true,
  "favoritePreferenceList" : [ { "favorite" : true,
        "sdgName" : "MonitoringSDG-Trend"
      } ],
  "groupViewPageSize" : 4,
  "tileViewPageSize" : 25,
  "userDefaultView" : "TILE_VIEW"
}

Output

Sample JSON Output

{ "representationresponse" : { "sdgs" : [ { "adc" : true,
            "adcStatus" : "red",
            "cgnat" : true,
            "cgnatStatus" : "green",
            "favorite" : false,
            "ha" : true,
            "haStatus" : "red",
            "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:34273",
            "name" : "MonitoringSDG-Trend",
            "sdgHealthStatus" : "red",
            "sfw" : true,
            "sfwStatus" : "green",
            "tlb" : true,
            "tlbStatus" : "red"
          },
          { "adc" : true,
            "adcStatus" : "red",
            "cgnat" : true,
            "cgnatStatus" : "green",
            "favorite" : false,
            "ha" : true,
            "haStatus" : "red",
            "moid" : "net.juniper.jmp.sgd.statusmanager.jpa.SDGStatusDataEntity:37892",
            "name" : "MonitoringSDG-Sanity",
            "sdgHealthStatus" : "red",
            "sfw" : true,
            "sfwStatus" : "green",
            "tlb" : true,
            "tlbStatus" : "red"
          }
        ],
      "success" : true,
      "totalGreen" : 1,
      "totalGrey" : 0,
      "totalOrange" : 0,
      "totalRed" : 2,
      "totalRows" : 3
    } }

Get SDGs in Red Band View

This request is used to retrieve the SDGs in the band view of the dashboard that are in red.

URI

/api/sgd/dashboard/sgd-dashboard/getAllTiledSDGByStatus

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.
tiledsdg+json;version=1

Consumes

None

Produces

Collects the SDGs in dashboard band view that are in red

Response Status Code

Message

Description

200 OK

Successful collection of the red SDGs in dashboard band view

Input

Sample JSON Input

displayFavoriteSdgs false
limit 4
page 1
sdgHealthStatus green
start 0
userPreference 
{ "dashboardFilter" : { "alarmFilter" : { "all" : false,
          "critical" : false,
          "major" : false,
          "minor" : false
        },
      "allFilters" : false,
      "filterApplied" : false,
      "kpiFilter" : { "adcFilter" : [ { "green" : false,
                "kpiAttrName" : "VIP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Contorl CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Data Core CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "cgnatFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Memory Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Statful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "haFilter" : [ { "green" : false,
                "kpiAttrName" : "VRRP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "CGNAT Stateful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "sfwFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "tlbFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ]
        }
    },
  "emptyFilterPreference" : true,
  "favoritePreferenceList" : [ { "favorite" : true,
        "sdgName" : "MonitoringSDG-Trend"
      } ],
  "groupViewPageSize" : 4,
  "tileViewPageSize" : 25,
  "userDefaultView" : "TILE_VIEW"
}

Output

Sample JSON Output

{ "representationresponse" : { "success" : true,
      "totalGreen" : 1,
      "totalGrey" : 0,
      "totalOrange" : 0,
      "totalRed" : 2,
      "totalRows" : 3
    } }

Get SDGs in Orange Band View

This request is used to retrieve the SDGs in the band view of the dashboard that are in orange.

URI

/api/sgd/dashboard/sgd-dashboard/getAllTiledSDGByStatus

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.
tiledsdg+json;version=1

Consumes

None

Produces

Collects the SDGs in dashboard band view that are in orange

Response Status Code

Message

Description

200 OK

Successful collection of the orange SDGs in dashboard band view

Input

Sample JSON Input

displayFavoriteSdgs false
limit 4
page 1
sdgHealthStatus green
start 0
userPreference 
{ "dashboardFilter" : { "alarmFilter" : { "all" : false,
          "critical" : false,
          "major" : false,
          "minor" : false
        },
      "allFilters" : false,
      "filterApplied" : false,
      "kpiFilter" : { "adcFilter" : [ { "green" : false,
                "kpiAttrName" : "VIP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Contorl CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Data Core CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "cgnatFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Memory Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Statful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "haFilter" : [ { "green" : false,
                "kpiAttrName" : "VRRP Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "CGNAT Stateful Sync Status",
                "orange" : false,
                "red" : false
              }
            ],
          "sfwFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ],
          "tlbFilter" : [ { "green" : false,
                "kpiAttrName" : "CPU Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Real Servers Status",
                "orange" : false,
                "red" : false
              },
              { "green" : false,
                "kpiAttrName" : "Service Pic Status",
                "orange" : false,
                "red" : false
              }
            ]
        }
    },
  "emptyFilterPreference" : true,
  "favoritePreferenceList" : [ { "favorite" : true,
        "sdgName" : "MonitoringSDG-Trend"
      } ],
  "groupViewPageSize" : 4,
  "tileViewPageSize" : 25,
  "userDefaultView" : "TILE_VIEW"
}

Output

Sample JSON Output

{ "representationresponse" : { "success" : true,
      "totalGreen" : 1,
      "totalGrey" : 0,
      "totalOrange" : 0,
      "totalRed" : 2,
      "totalRows" : 3
    } }

Create a Favorite Filter for Dashboard

This request is used to create a filter to display only the SDGs that you are interested in or are involved with managing in the entire network.

URI

/api/sgd/dashboard/sgd-dashboard/saveUserPreferences

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.
getuserpreferences+json;version="1"

Consumes

None

Produces

Creates a favorite filter for the dashboard view

Response Status Code

Message

Description

200 OK

Successful creation of a favorite filter for dashboard view

Input

Sample JSON Input

{ "userPreference" : { "appliedFilterType" : "FAVORITE_FILTER",
      "favoritePreferenceList" : [ { "favorite" : true,
            "sdgName" : "MonitoringSDG-Trend"
          } ],
      "groupViewPageSize" : 4,
      "tileViewPageSize" : 25,
      "userDefaultView" : "TILE_VIEW"
    } }

Output

Sample JSON Output

{ "userPreference" : { "appliedFilterType" : "FAVORITE_FILTER",
      "dashboardFilter" : { "alarmFilter" : { "all" : false,
              "critical" : false,
              "major" : false,
              "minor" : false
            },
          "allFilters" : false,
          "filterApplied" : false,
          "kpiFilter" : { "adcFilter" : [ { "green" : false,
                    "kpiAttrName" : "VIP Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Contorl CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Data Core CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "cgnatFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Memory Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Statful Sync Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "haFilter" : [ { "green" : false,
                    "kpiAttrName" : "VRRP Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "CGNAT Stateful Sync Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "sfwFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "tlbFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ]
            }
        },
      "emptyFilterPreference" : true,
      "favoritePreferenceList" : { "favorite" : true,
          "sdgName" : "MonitoringSDG-Trend"
        },
      "groupViewPageSize" : 4,
      "tileViewPageSize" : 25,
      "userDefaultView" : "TILE_VIEW"
    } }

Create a KPI Template and Alarm Filter for Dashboard

This request is used to create a filter to display only the SDGs to display SDGs that match with the criteria specified in the templates.

URI

/api/sgd/dashboard/sgd-dashboard/saveUserPreferences

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.
getuserpreferences+json;version="1"

Consumes

None

Produces

Creates a filter to display SDGs that match with the criteria specified in the templates.

Response Status Code

Message

Description

200 OK

Successful creation of a filter to display SDGs that match with the criteria specified in the templates.

Input

Sample JSON Input

{ "userPreference" : { "appliedFilterType" : "ALARM_KPI_FILTER",
      "dashboardFilter" : { "alarmFilter" : { "critical" : true,
              "major" : true,
              "minor" : false
            },
          "filterApplied" : true,
          "kpiFilter" : { "adcFilter" : [ { "green" : false,
                    "kpiAttrName" : "VIP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Contorl CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Data Core CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "cgnatFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Memory Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Statful Sync Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "haFilter" : [ { "green" : false,
                    "kpiAttrName" : "VRRP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "CGNAT Stateful Sync Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "sfwFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "tlbFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ]
            }
        },
      "favoritePreferenceList" : [ { "favorite" : true,
            "sdgName" : "MonitoringSDG-Trend"
          } ],
      "groupViewPageSize" : 4,
      "tileViewPageSize" : 25,
      "userDefaultView" : "TILE_VIEW"
    } }

Output

Sample JSON Output

{ "userPreference" : { "appliedFilterType" : "ALARM_KPI_FILTER",
      "dashboardFilter" : { "alarmFilter" : { "all" : false,
              "critical" : true,
              "major" : true,
              "minor" : false,
              "moid" : "net.juniper.jmp.sgd.dashboard.jpa.DashboardAlarmFilterEntity:39520"
            },
          "allFilters" : false,
          "filterApplied" : true,
          "kpiFilter" : { "adcFilter" : [ { "green" : false,
                    "kpiAttrName" : "VIP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Contorl CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Data Core CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "cgnatFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Memory Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Statful Sync Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "haFilter" : [ { "green" : false,
                    "kpiAttrName" : "VRRP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "CGNAT Stateful Sync Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "sfwFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "tlbFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ]
            }
        },
      "emptyFilterPreference" : false,
      "favoritePreferenceList" : { "favorite" : true,
          "sdgName" : "MonitoringSDG-Trend"
        },
      "groupViewPageSize" : 4,
      "tileViewPageSize" : 25,
      "userDefaultView" : "TILE_VIEW"
    } }

Edit and Save User Preferences for Dashboard

This request is used to specify customization for the dashboard view.

URI

/api/sgd/dashboard/sgd-dashboard/saveUserPreferences

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.dashboard.
getuserpreferences+json;version="1"

Consumes

None

Produces

Creates user preference settings

Response Status Code

Message

Description

200 OK

Successful creation of user preference settings

Input

Sample JSON Input

{ "userPreference" : { "appliedFilterType" : "ALARM_KPI_FILTER",
      "dashboardFilter" : { "alarmFilter" : { "all" : false,
              "critical" : true,
              "major" : true,
              "minor" : false,
              "moid" : "net.juniper.jmp.sgd.dashboard.jpa.DashboardAlarmFilterEntity:39520"
            },
          "allFilters" : false,
          "filterApplied" : true,
          "kpiFilter" : { "adcFilter" : [ { "green" : false,
                    "kpiAttrName" : "VIP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Contorl CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Data Core CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "cgnatFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Memory Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Statful Sync Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "haFilter" : [ { "green" : false,
                    "kpiAttrName" : "VRRP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "CGNAT Stateful Sync Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "sfwFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "tlbFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ]
            }
        },
      "favoritePreferenceList" : [ { "favorite" : true,
            "sdgName" : "MonitoringSDG-Trend"
          } ],
      "groupViewPageSize" : 8,
      "tileViewPageSize" : 40,
      "userDefaultView" : "BAND_VIEW"
    } }

Output

Sample JSON Output

{ "userPreference" : { "appliedFilterType" : "ALARM_KPI_FILTER",
      "dashboardFilter" : { "alarmFilter" : { "all" : false,
              "critical" : true,
              "major" : true,
              "minor" : false,
              "moid" : "net.juniper.jmp.sgd.dashboard.jpa.DashboardAlarmFilterEntity:39520"
            },
          "allFilters" : false,
          "filterApplied" : true,
          "kpiFilter" : { "adcFilter" : [ { "green" : false,
                    "kpiAttrName" : "VIP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "Contorl CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Data Core CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "cgnatFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Memory Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Statful Sync Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "haFilter" : [ { "green" : false,
                    "kpiAttrName" : "VRRP Status",
                    "orange" : false,
                    "red" : true
                  },
                  { "green" : false,
                    "kpiAttrName" : "CGNAT Stateful Sync Status",
                    "orange" : false,
                    "red" : true
                  }
                ],
              "sfwFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ],
              "tlbFilter" : [ { "green" : false,
                    "kpiAttrName" : "CPU Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Real Servers Status",
                    "orange" : false,
                    "red" : false
                  },
                  { "green" : false,
                    "kpiAttrName" : "Service Pic Status",
                    "orange" : false,
                    "red" : false
                  }
                ]
            }
        },
      "favoritePreferenceList" : [ { "favorite" : true,
            "sdgName" : "MonitoringSDG-Trend"
          } ],
      "groupViewPageSize" : 8,
      "tileViewPageSize" : 40,
      "userDefaultView" : "BAND_VIEW"
    } }

Modified: 2016-08-02