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.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Use the set server command with the threshold attribute.
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 and listed in Table 5–2.
The threshold is either criticallow, warninglow, warninghigh, or criticalhigh. The value is a numeric figure and usually represents a percentage.
This example shows how to set the CPU usage warninghigh severity threshold on a provisionable server named serv1 to 53 percent. This example also shows how to set the criticalhigh severity threshold value to 75 percent.
N1-ok> set server serv1 threshold cpustats.pctusage warninghigh 53 criticalhigh 75 |
These values override the default values stored in the monitoring.properties configuration file on the management server for the server named serv1.
This example sets the file system usage warninghigh threshold on a provisionable server named serv1 to 75 percent. This example also shows how to set the criticalhigh threshold value to 87 percent.
N1-ok> set server serv1 threshold fsusage.pctused warninghigh 75 criticalhigh 87 |
This example shows how to delete a value that was set for the warninghigh threshold on a provisionable server named serv1.
N1-ok> set server serv1 threshold fsusage warninghigh none |
In this case, any previously set value for this threshold at this severity is deleted. The threshold severity value does not revert back to the default threshold value, which is stored in the monitoring.properties configuration file, or to the factory-configured default, if this default existed for the attribute. In effect, monitoring is disabled for the warninghigh threshold for file system usage for this server.