Status - Hashtags Summary

Access required: VIEWPORTACCESS, VIEWSOME, or VIEWALL.

Any public hashtags will be included in object permissions.

Request URL: /rest/status/viewport

URL parameters:

Example response:

    {
       "summary" : {
          "handled" : "15",
          "unhandled" : "31",
          "service" : {
             "handled" : "3",
             "unhandled" : "31",
             "unknown" : "34",
             "total" : "34"
          },
          "total" : "46",
          "host" : {
             "handled" : "12",
             "unhandled" : "0",
             "down" : "1",
             "up" : "11",
             "total" : "12"
          }
       },
       "list" : [
          {
             "hosts" : {
                "handled" : "1",
                "unhandled" : "0",
                "down" : {
                   "handled" : "1"
                },
                "total" : "1"
             },
             "services" : {
                "handled" : "1",
                "computed_state" : "unknown",
                "unhandled" : "0",
                "unknown" : {
                   "handled" : "1"
                },
                "total" : "1"
             },
             "computed_state" : "critical",
             "downtime" : null,
             "name" : "allhandled",
             "description" : "All services handled"
          },
          {
          ...
          }
       ]
    }

Note: The computed_state keyword represents the highest state based on host state and service state. Specifically, this will return critical if the host is down or unreachable otherwise the service computed_state.

["Opsview On-premises"] ["API", "Technical Reference"]

Was this topic helpful?