Use dsconfig to configure the maximum number of times an alert is generated within a particular time frame for the same condition. The duplicate-alert-time-limit property specifies the length of time that must pass before duplicate messages are sent over the administrative alert framework and the maximum number of messages should be sent.

$ bin/dsconfig set-global-configuration-prop \
  --set duplicate-alert-limit:2 \
  --set "duplicate-alert-time-limit:3 minutes"