Adding threshold rules
Add threshold rules after configuring the performance monitoring tool sensor.
Procedure
- Restart the
mmsysmon
component.mmsysmoncontrol restart
-
Issue the following commands to install threshold rules:
mmhealth thresholds add gpfs_fabhospital_errorIOCount:min --groupBy node,gpfs_fabhospital_adapter,gpfs_fabhospital_port,gpfs_fabhospital_enclosure_id --filterBy 'gpfs_fabhospital_version=3200' --warnlevel 5 --errorlevel 10 --sensitivity 900 --name SASPortErrorThreshold
mmhealth thresholds add gpfs_fabhospital_errorIOCount:min --groupBy gpfs_fabhospital_enclosure_id --filterBy 'node=.*,gpfs_fabhospital_version=3200' --warnlevel 5 --errorlevel 10 --sensitivity 900 --name SASEnclosureErrorThreshold
The sensitivity is the time window for tracking a threshold. The warning levels, error levels, and sensitivity values may be changed away from the provided defaults.
Note:- You cannot add multiple time-based thresholds to the same component. To change thresholds, you must first delete the previous setting by using the mmhealth thresholds delete command.
- Thresholds can only be applied after data has been collected, which might require minimum 900 seconds waiting time. If you are using the provided sample /usr/lpp/mmfs/samples/vdisk/install_essfabrichospital_sensor, then no additional waiting time is needed.