ITRS Opsview Cloud Documentation

Withdraw of the 6.9.2 Release

Unfortunately, due to critical issues identified with version 6.9.2, we have decided to remove it and ensure it's no longer available for download. These issues impacted the ability to install or upgrade but none were security-related. We are diligently working to resolve these issues and are planning to release an updated version 6.9.3 in early May.

What if you've already upgraded?

For customers who have already upgraded to 6.9.2, no immediate action is required, as none of these issues are security-related. Once it's available, you will still be able to upgrade to 6.9.3 as normal. We appreciate your patience and trust as we continue to enhance our software to better serve you. Thank you for your understanding.

Config - Attribute

Object type: attribute

Request URL: /rest/config/attribute

Example GET Copied

$ opsview_rest --username=admin --password=initial --pretty GET 'config/attribute?s.name=DISK'
{
  list => [
    {
      arg1          => "-w 5% -c 2%",
....
      id            => 172,
      label1        => "Warning/Critical values",
....
      name          => "DISK",
      ref           => "/rest/config/attribute/172",
....
      servicechecks => [
                         { name => "Disk", ref => "/rest/config/servicecheck/1308" },
                         {
                           name => "Read-only Partitions",
                           ref  => "/rest/config/servicecheck/1304",
                         },
                       ],
      uncommitted   => 0,
      value         => "",
    },
  ],
  summary => { allrows => 169, page => 1, rows => 1, totalpages => 1, totalrows => 1 },
}

Example minimal PUT (with changelog enabled) Copied

$ opsview_rest --username=admin --password=initial --pretty --data-format=json PUT 'config/attribute' --data '{"name":"NEWNAME","changelog":"A new attribute"}'
{
   "object" : {
      "arg1" : "",
      "arg2" : "",
      "arg3" : "",
      "arg4" : "",
      "id" : "174",
      "label1" : "",
      "label2" : "",
      "label3" : "",
      "label4" : "",
      "name" : "NEWNAME",
      "secured1" : "0",
      "secured2" : "0",
      "secured3" : "0",
      "secured4" : "0",
      "servicechecks" : [],
      "uncommitted" : "1",
      "value" : ""
   }
}

Note

When saving attributes, you cannot add a host attribute nor amend the list of service checks using an attribute. If you want to amend a service check so that it is no longer using multiple attributes, you have to edit the service check itself.
["Opsview On-premises"] ["API", "Technical Reference"]

Was this topic helpful?