Sun N1 System Manager 1.1 Administration Guide

Setting Polling Intervals

This section contains procedures that describe how to set the polling intervals for a server or a server group.

ProcedureTo Set Polling Intervals for a Server

This procedure shows you how to set a polling interval for a server at the command line. Any value set this way overwrites the factory-configured default value or the value in the monitoring.properties configuration file, if the file exists.

Steps
  1. Log in to the N1 System Manager.

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

  2. Type the set server command with the monitor attribute.


    set server server monitor monitor interval value
    

    This command is executed for a server that you have already named. In this procedure, this name appears as server. See set server in Sun N1 System Manager 1.1 Command Line Reference Manual for details.

    The monitor is either hardwarehealth, osresources, or network.

    The value is in seconds.


    Note –

    The minimum polling interval that you can set is 60 seconds.



Example 5–7 Setting the Polling Interval for Hardware Health Monitoring of a Server

This example shows how to set a polling interval of 280 seconds for hardware health monitoring of a provisionable server named serv1.


N1-ok> set server serv1 monitor hardwarehealth interval 280

ProcedureTo Set Polling Intervals for a Server Group

Any value set this way overwrites the factory-configured default value or the value in the monitoring.properties configuration file, if the file exists.

Steps
  1. Log in to the N1 System Manager.

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

  2. Type the set group command with the monitor attribute.


    set group group monitor monitor interval value
    

    This command is executed for a group of servers that you have already named. In this procedure, this name appears as group. See set group in Sun N1 System Manager 1.1 Command Line Reference Manual for details.

    The monitor is either hardwarehealth, osresources, or network.

    The value is in seconds.


    Note –

    The minimum polling interval that you can set is 60 seconds.



Example 5–8 Setting the Polling Interval for Network Reachability Monitoring of a Server Group

This example shows how to set a polling interval of 250 seconds for network reachability monitoring of a group of provisionable servers named grp5.


N1-ok> set group grp5 monitor network interval 250