Sun N1 System Manager 1.1 Administration Guide

ProcedureTo Modify Default Threshold Values for a Server

To modify default threshold values, edit the /etc/opt/sun/n1gc/monitoring.properties file. Only those default threshold values that relate to OS resource utilization attributes can be modified. Hardware health attribute default threshold values cannot be modified for servers.

Before You Begin

To enable the management agent IP and security credentials on a server named server, add the management features on the server as explained in Adding Base and OS Management Features.

Steps
  1. Open the /etc/opt/sun/n1gc/monitoring.properties file.

    If the file does not exist, create it.

  2. Modify or add lines in the monitoring.properties file that describe default threshold values.

    threshold.attribute.threshold value

    The syntax requires the threshold keyword to be followed by the attribute for which you are setting a threshold. The attribute is an OS resource utilization attribute. OS resource utilization attributes are described in OS Resource Utilization Monitoring.

    The threshold is either criticallow, warninglow, warninghigh, or criticalhigh.

    The value is a numeric figure and usually represents a percentage value.

  3. Save the file.

    You do not need to reboot the management server or the provisionable server for the changes to take effect. The modified default threshold values now apply to all servers managed by the N1 System Manager.


Example 5–1 Modifying the Default Threshold Value for File System Usage

This example shows how to modify the default criticalhigh threshold value for file system usage to 75 percent of maximum file system usage capacity. The following line is added to or amended in the /etc/opt/sun/n1gc/monitoring.properties file:


threshold.fsusage.pctused.criticalhigh=75

This value applies to all provisionable servers, unless you have set specific values for the threshold value at the command line, by using the set command as described in Setting Threshold Values.

Threshold values can be disabled. This process is shown in Example 5–4.