Configuring iCAM Monitoring

For more information, see the Cisco Nexus 9000 Series NX-OS iCAM Configuration Guide:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-installation-and-configuration-guides-list.html/

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.

MODN
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 NameData TypeDescriptionValues
criticalscalar:Uint16
Critical threshold percent
RANGE: [1 , 100]
DEFAULT: 100
warningscalar:Uint16
Warning threshold percent
RANGE: [1 , 100]
DEFAULT: 90
infoscalar: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:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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.

MODN
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 NameData TypeDescriptionValues
criticalscalar:Uint16
Critical threshold percent
RANGE: [1 , 100]
DEFAULT: 100
warningscalar:Uint16
Warning threshold percent
RANGE: [1 , 100]
DEFAULT: 90
infoscalar: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:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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.

MODN
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 NameData TypeDescriptionValues
systemcfgscalar: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:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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.

MODN
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 NameData TypeDescriptionValues
systemcfgscalar: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:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html