Sun N1 System Manager 1.3 Discovery and Administration Guide

ProcedureTo Monitor a Managed Server or a Managed Server Group

The following procedure describes how to use the command line to enable 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 enabled with this command, provided that the OS monitoring feature has been installed on the server or the server group. If the OS monitoring feature has not been installed on the managed server or a group of managed servers, then only hardware health monitoring is enabled.


Note –

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


Before You Begin

To enable the management agent IP and security credentials on a managed server named server, add the management features on themanaged server or a group of managed servers as explained in Supporting OS Monitoring.

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 true.

    • Use the set server command.


      N1-ok> set server server monitored true
      

      In this procedure, server is the name of the managed server that you want to monitor.

    • For a group of managed servers, set the monitored attribute to true by using the set group command.


      N1-ok> set group group monitored true
      

      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 that you want to monitor.

  3. View the details to determine if monitoring is enabled.

    • View the managed server details.


      N1-ok> show server server
      
    • For a server group, view the managed server group details to determine if monitoring is enabled for each managed server in the group.


      N1-ok> show group group
      

    Detailed monitoring information appears in the output. Information is displayed about hardware health, OS health and network reachability. OS health monitoring threshold values are also displayed.Monitoring threshold values are explained in Monitoring Threshold Values.