Modify LFD Email

Post Reply
jschmok
Junior Member
Posts: 3
Joined: 11 Nov 2018, 06:31

Modify LFD Email

Post by jschmok »

Hi All,

We're getting swamped with LFD Excessive Resource Usage emails and are working on that. Just wondering though, if its possible to modify the email subject as to remove the PID

for example, the email we get now is:

RE: lfd on hostname.servername.com: Excessive resource usage: username (45750 (Parent PID:45750))

Would like it to be:

RE: lfd on hostname.servername.com: Excessive resource usage: username


Reason being, these emails go to our support address which creates a ticket on EVERY email! You can imagine how many tickets it creates lol! If we could have a subject line that is the same, it would simply update 1 ticket rather than creating a seperate ticket each time.

Anyone have any ideas on if this is possible or not? Thanks!
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Modify LFD Email

Post by ForumAdmin »

You can change that by editing /usr/local/csf/tpl/resalert.txt, then restart lfd.
Post Reply