Update: Notifying users of processes killed by the in-kernel OOM killer

Posted on Mon 01 May 2023 in Sysadmin

Article summary: useRalativeImagePath

I've updated the Notifying users of processes killed by the in-kernel OOM killer page. The code has been updated is now in GitLab.

Notable changes:

  • Uses Rsyslog's omprog facility to run the script
  • That allows you to pass the configuration file to use as a command line
    argument
  • Mail deliver can happen via local SMTP server or the sendmail binary.
  • Can either use LDAP to search for email addresses or assume that deliver to the local username will work.