hostname:configuration alerts thresholds> create
Cet exemple définit une alerte avec seuil de capacité pour le pool du système lorsqu'il dépasse 80 % pendant au moins une heure un jour de la semaine. L'alerte s'affiche tous les jours tant que la condition persiste et une alerte est également envoyée lorsque la condition est supprimée pendant au moins une journée.
hostname:configuration alerts threshold (uncommitted)> set statname=syscap.percentused statname = syscap.percentused (uncommitted) hostname:configuration alerts threshold (uncommitted)> set limit=80 limit = 80 (uncommitted) hostname:configuration alerts threshold (uncommitted)> set minpost=3600 minpost = 1 hours (uncommitted) hostname:configuration alerts threshold (uncommitted)> set days=all days=all (uncommitted) hostname:configuration alerts threshold (uncommitted)> set frequency=86400 frequency = 1 days (uncommitted) hostname:configuration alerts threshold (uncommitted)> set minclear=86400 minclear = 1 days (uncommitted)
hostname:configuration alerts threshold (uncommitted)> commit