Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET settings/alarms/severityAutoClearConfig

Retrieves existing configuration for alarms. Returns tree of alarm types groups containing all alarms with their severities and auto clear ages if configured.

Since Product Version: 3.2

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

GET

DevNet Discussions

Resource URL

/webacs/api/v4/op/settings/alarms/severityAutoClearConfig

Unmodified

This resource has not been modified since the previous API version.

Response Parameters

Attribute Description

groups SeverityAutoClearConfigTree[]

Nested subgroups.

items PartialSeverityAutoClearConfigDto[]

Configurations for alarms types.

name String

Name of group of alarms.

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://localhost/webacs/api/v4/op/settings/alarms/severityAutoClearConfig

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/settings/alarms/severityAutoClearConfig" rootUrl="https://localhost/webacs/api/v4/op">
  <severityAutoClearConfigTree>
    <groups></groups>
    <items>
      <items>
        <alarmCondition>String value</alarmCondition>
        <alarmType>String value</alarmType>
        <autoClearAge>15</autoClearAge>
        <isAutoClearSupported>true</isAutoClearSupported>
        <severity>INFORMATION</severity>
      </items>
      <items>
        <alarmCondition>Another string value</alarmCondition>
        <alarmType>Another string value</alarmType>
        <autoClearAge>25</autoClearAge>
        <isAutoClearSupported>false</isAutoClearSupported>
        <severity>WARNING</severity>
      </items>
    </items>
    <name>String value</name>
  </severityAutoClearConfigTree>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v4/op/settings/alarms/severityAutoClearConfig.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v4/op/settings/alarms/severityAutoClearConfig",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v4/op",
    "severityAutoClearConfigTree" : [ {
      "groups" : {
        "groups" : [ ]
      },
      "items" : {
        "items" : [ {
          "alarmCondition" : "String value",
          "alarmType" : "String value",
          "autoClearAge" : 15,
          "isAutoClearSupported" : true,
          "severity" : "INFORMATION"
        }, {
          "alarmCondition" : "Another string value",
          "alarmType" : "Another string value",
          "autoClearAge" : 25,
          "isAutoClearSupported" : false,
          "severity" : "WARNING"
        } ]
      },
      "name" : "String value"
    } ]
  }
}