Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • use this if you did not change the original script file and you updated the Linux Utilites kit
  • do not use this if you customized your own alert script

Example:

Image Added

This script can be customized to send alerts the way you want, adding for example commands to link with your monitoring tool. It is based on an alert code passed as parameter 1. All other parameters are information used to send alerts by default with a ‘wall ‘ command and an email sent to the alert mail recipients list described above. The script uses templates in order to send emails and wall messages (templates/*.mail and templates/*.wall files)

...