PingDirectory

Configure alert handlers

You can configure alert handlers with the dsconfig tool.

PingDirectory servers support JMX, SMTP, and SNMP. Use the--help option for a list of configuration options. The following is a sample command to create and enable an SMTP Alert handler from the command line:

$ bin/dsconfig create-alert-handler \
  --handler-name "SMTP Alert Handler" \
  --type smtp \
  --set enabled:true \
  --set "sender-address:alerts@example.com" \
  --set "recipient-address:administrators@example.com" \
  --set "message-subject:Directory Admin Alert \%\%alert-type\%\%" \
  --set "message-body:Administrative alert:\\n\%\%alert-message\%\%"