Runtime - Host Dependency Map

This section is for searching for live objects being monitored by Opsview. This is in the Runtime database, hence the URL path is /rest/runtime/{objecttype}.

URL: /rest/runtime/network. Requires authentication - requires VIEWALL or VIEWSOME permission.

Access Control Copied

VIEWALL allows all hosts to be returned. VIEWSOME allows only hosts where permission has been granted based on the access object selection.

Retrieving Host Dependency Map Copied

Parameters:

Response:

Note

If due to permission restriction children/parents are not visible null will be used instead of host name.

Example response:

    {
        rows    => 4,
        total   => 20,
        allrows => 8,
        list    => [
            {
                name: "opsview",
                parents: [],
                children: [ "opsviewdev1", null, "cisco" ]
            },
            {
                name: "opsviewdev1",
                parents: [ "opsview" ],
                children: []
            },
            {
                name: "cisco",
                parents: [ "opsview" ],
                children: [ "monitored_by_collector", "cisco4" ]
            },
            {
                name: "cisco4",
                parents: [ "cisco" ],
                children: [ null ]
            }
        ]
    }
["Opsview"] ["API", "Technical Reference"]

Was this topic helpful?