Runtime - Host Templates

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/hosttemplate.

Requires authentication - requires VIEWALL or VIEWSOME permission.

Access Control Copied

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

Retrieving Host Templates Copied

Parameters:

Response:

Example response:

    {
      allrows => 4,
      list    => [
                   { id => 7, name => "Agent only" },
                   { id => 1, name => "Base Unix" },
                   { id => 3, name => "Cisco Mgt" },
                   { id => 2, name => "Network - Base" }
                 ],
      rows    => 4,
      total   => 4,
    }
["Opsview On-premises"] ["API", "Technical Reference"]

Was this topic helpful?