Configuring iCAM Monitoring
For more information, see the Cisco Nexus 9000 Series NX-OS iCAM Configuration Guide:
Configuring the System Threshold Percentage
Configuring the System Threshold Percentage
POST http://<mgmt0_IP>/api/mo/sys/icam/inst.json
{
"icamInst": {
"children": [
{
"icamSystem": {
"attributes": {
"critical": "90",
"warning": "80",
"info": "70"
}}}]}}
{
imdata:[]
}
<System>
<icam-items>
<inst-items>
<sysmon-items>
<critical>90</critical>
<warning>80</warning>
<info>70</info>
</sysmon-items>
</inst-items>
</icam-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
icam monitor system threshold info 70 warning 80 critical 90
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
icamInst | sys/icam/inst |
icamSystem | sys/icam/inst/sysmon |
icamSystem Properties
The following table contains information about the icamSystem properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
critical | scalar:Uint16 | Critical threshold percent | RANGE: [1 , 100] DEFAULT: 100 |
warning | scalar:Uint16 | Warning threshold percent | RANGE: [1 , 100] DEFAULT: 90 |
info | scalar:Uint16 | Info threshold percent | RANGE: [1 , 100] DEFAULT: 80 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Reverting the System Threshold Percentage to the Default Value
Reverting the System Threshold Percentage to the Default Value
POST http://<mgmt0_IP>/api/mo/sys/icam/inst.json
{
"icamInst": {
"children": [
{
"icamSystem": {
"attributes": {
"critical": "100",
"warning": "90",
"info": "80"
}}}]}}
{
imdata:[]
}
<System>
<icam-items>
<inst-items>
<sysmon-items>
<critical>100</critical>
<warning>90</warning>
<info>80</info>
</sysmon-items>
</inst-items>
</icam-items>
</System>
The default values are:
- critical: 100
- warning: 90
- info: 80
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no icam monitor system threshold info 70 warning 80 critical 90
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
icamInst | sys/icam/inst |
icamSystem | sys/icam/inst/sysmon |
icamSystem Properties
The following table contains information about the icamSystem properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
critical | scalar:Uint16 | Critical threshold percent | RANGE: [1 , 100] DEFAULT: 100 |
warning | scalar:Uint16 | Warning threshold percent | RANGE: [1 , 100] DEFAULT: 90 |
info | scalar:Uint16 | Info threshold percent | RANGE: [1 , 100] DEFAULT: 80 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring System Monitoring
Configuring System Monitoring
POST http://<mgmt0_IP>/api/mo/sys/icam/inst.json
{
"icamInst": {
"children": [
{
"icamSystem": {
"attributes": {
"systemcfg": "yes"
}}}]}}
{
imdata:[]
}
<System>
<icam-items>
<inst-items>
<sysmon-items>
<systemcfg>true</systemcfg>
</sysmon-items>
</inst-items>
</icam-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
icam monitor system
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
icamInst | sys/icam/inst |
icamSystem | sys/icam/inst/sysmon |
icamSystem Properties
The following table contains information about the icamSystem properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
systemcfg | scalar:Bool | System feature config [yes/no\] | SELECTION: true or false |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting System Monitoring
Deleting System Monitoring
POST http://<mgmt0_IP>/api/mo/sys/icam/inst.json
{
"icamInst": {
"children": [
{
"icamSystem": {
"attributes": {
"systemcfg": "no"
}}}]}}
{
imdata:[]
}
<System>
<icam-items>
<inst-items>
<sysmon-items>
<systemcfg>false</systemcfg>
</sysmon-items>
</inst-items>
</icam-items>
</System>
Note: This example was added in Release 9.3(5).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no icam monitor system
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
icamInst | sys/icam/inst |
icamSystem | sys/icam/inst/sysmon |
icamSystem Properties
The following table contains information about the icamSystem properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
systemcfg | scalar:Bool | System feature config [yes/no\] | SELECTION: true or false |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: