Defining status and health check settings for managed appliances using the CLI

Prev Next

Use the commands in this section to define status and health check settings for managed appliances.

To define status check settings:
  1. Enable the CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Define settings:

    • To enable status checking on all managed appliances:

      hostname (config) # cmc status enable
    • To disable status checking on all managed appliances:

      hostname (config) # no cmc status enable
    • To enable status checking on a specific managed appliance:

      hostname (config) # cmc appliance <applianceName> check-status
    • To disable status checking on a specific managed appliance:

      hostname (config) # no cmc appliance <applianceName> check-status
    • To set the interval between status checks:

      hostname (config) # cmc status check-interval <seconds>
    • To specify the amount of time to wait for an appliance to send its status:

      hostname (config) # cmc status timeout <seconds>
    • To force an immediate check of all managed appliances:

      hostname (config) # cmc status force-check
  3. Save your changes:

    hostname (config) # write memory
To define the status check criteria to include:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Display the current criteria status:

    hostname (config) # show cmc status
  3. Specify the criteria to include:

    • To enable status checking of a specific criterion:

      hostname (config) # cmc status criteria <criterionName> enable
    • To disable status checking of a specific criterion:

      hostname (config) # no cmc status criteria <criterionName> enable
  4. Repeat the previous step for each test you want to enable or disable.

  5. Save your changes:

    hostname (config) # write memory

Example

This example increases the time period between status checks to 90 seconds, and disables the temperature and raid criteria.

hostname (config) cmc status check-interval 90
hostname (config) # no cmc status criteria temperature enable
hostname (config) # no cmc status criteria raid enable