Monitoring Policy
This object will attach the Syslog and SNMP Trap policies to the common monitoring policy.
Location in GUI: Fabric » Fabric Policies » Policies » Monitoring » Common Policy
Diagram
Section titled “Diagram”Classes
Section titled “Classes”monitoring (apic.fabric_policies)
Section titled “monitoring (apic.fabric_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| policies | List | [policies] | No |
policies (apic.fabric_policies.monitoring)
Section titled “policies (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| snmp_traps | List | [snmp_traps] | No | |
| syslogs | List | [syslogs] | No | |
| fault_severity_policies | List | [fault_severity_policies] | No |
snmp_traps (apic.fabric_policies.monitoring.policies)
Section titled “snmp_traps (apic.fabric_policies.monitoring.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| destination_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
syslogs (apic.fabric_policies.monitoring.policies)
Section titled “syslogs (apic.fabric_policies.monitoring.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| audit | Boolean | true, false | No | true |
| events | Boolean | true, false | No | true |
| faults | Boolean | true, false | No | true |
| session | Boolean | true, false | No | false |
| minimum_severity | Choice | emergencies, alerts, critical, errors, warnings, notifications, information, debugging | No | warnings |
| destination_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
fault_severity_policies (apic.fabric_policies.monitoring.policies)
Section titled “fault_severity_policies (apic.fabric_policies.monitoring.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| class | String | Regex: ^[a-zA-Z0-9]{1,64}$ | Yes | |
| faults | List | [faults] | No |
faults (apic.fabric_policies.monitoring.policies.fault_severity_policies)
Section titled “faults (apic.fabric_policies.monitoring.policies.fault_severity_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| fault_id | String | Regex: ^F\d+$ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| initial_severity | Choice | warning, minor, major, critical, squelched, inherit | No | inherit |
| target_severity | Choice | warning, minor, major, critical, inherit | No | inherit |
Examples
Section titled “Examples”---apic: fabric_policies: monitoring: policies: - name: Custom_Policy description: "This is a custom policy for policy monitoring." fault_severity_policies: - class: snmpClient faults: - fault_id: F1368 description: "Fault 1368 nice description" initial_severity: minor target_severity: major - class: snmpTrapDest faults: - fault_id: F1449 description: "Fault 1449 superb description" initial_severity: minor target_severity: critical snmp_traps: - name: policy_trap1 destination_group: pol_snmp_dst_grp syslogs: - name: policy_syslog1 description: desc1 session: true audit: false events: false faults: false minimum_severity: debugging destination_group: pol_syslog_dst_grpThis object will attach the Syslog and SNMP Trap policies to the common monitoring policy.
Location in GUI: Fabric » Fabric Policies » Policies » Monitoring » Common Policy
Diagram
Section titled “Diagram”Classes
Section titled “Classes”snmp_traps (apic.fabric_policies.monitoring)
Section titled “snmp_traps (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
syslogs (apic.fabric_policies.monitoring)
Section titled “syslogs (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
This object will attach the Syslog and SNMP Trap policies to the common monitoring policy.
Location in GUI: Fabric » Fabric Policies » Policies » Monitoring » Common Policy
Diagram
Section titled “Diagram”Classes
Section titled “Classes”snmp_traps (apic.fabric_policies.monitoring)
Section titled “snmp_traps (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
syslogs (apic.fabric_policies.monitoring)
Section titled “syslogs (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
This object will attach the Syslog and SNMP Trap policies to the common monitoring policy.
Location in GUI: Fabric » Fabric Policies » Policies » Monitoring » Common Policy
Diagram
Section titled “Diagram”Classes
Section titled “Classes”snmp_traps (apic.fabric_policies.monitoring)
Section titled “snmp_traps (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
syslogs (apic.fabric_policies.monitoring)
Section titled “syslogs (apic.fabric_policies.monitoring)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |