Sun N1 System Manager 1.3 Discovery and Administration Guide

ProcedureTo Disable Monitoring for a Managed Server or a Managed Server Group

The following procedure describes how to use the command line to disable the monitoring of hardware health and operating system health of a managed server or a group of managed servers. Hardware health and OS health monitoring are both disabled with this command, provided that the OS monitoring feature has been added.


Note –

It can take up to one minute for monitoring to be disabled after running the command in this procedure.


You might want to disable monitoring of a hardware component to perform maintenance tasks without generating events.

Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line for details.

  2. Set the monitored attribute to false.

    • Use the set server command.


      N1-ok> set server server monitored false
      

      In this example, server is the name of the managed server that you want to stop monitoring. Executing this command disables monitoring of the server. With monitoring of a managed server disabled, the violation of threshold values by attributes related to that managed server does not generate events.

    • For a server group, set the monitored attribute to false by using the set group command.


      N1-ok> set group group monitored false
      

      This command is executed for the group of managed servers that you have already named. See set group in Sun N1 System Manager 1.3 Command Line Reference Manual for details. In this procedure, group is the name of the group of managed servers for which you want to disable monitoring.

  3. View the details to determine that monitoring is disabled.

    • View the managed server details.

      The output shows that monitoring is disabled.


      N1-ok> show server server
      

      If you are not interested in the values of some OS health attributes, you can disable the threshold severity for the monitoring of those attributes, while continuing to monitor other OS health attributes. This action prevents annoyance alarms. Example 6–9 shows how to accomplish this task. For general information about threshold values, see Monitoring Threshold Values. You can also remove the OS health monitoring feature. See To Remove the OS Monitoring Feature.

    • For a group of managed servers, view the managed server group details to determine if monitoring is disabled for each managed server in the group.


      N1-ok> show group group