Many peoples would like to ignore messages sent by CSF/LFD. So, we're writing a tutorial to guide them. Let's start!
Suppose you're receiving the email:
Time: Sun Jun 7 09:00:51 2020 +0000
Account: ossecr
Resource: Process Time
Exceeded: 942465 > 43200 (seconds)
Executable: /var/ossec/bin/ossec-remoted
Command Line: /var/ossec/bin/ossec-remoted
PID: 6038 (Parent PID:6038)
Killed: No
So, here's the executable & command line is "/var/ossec/bin/ossec-remoted". Now edit the file: "/etc/csf/csf.pignore" and add the following:
exe:/var/ossec/bin/ossec-remoted
And lastly, save the file and restart LFD service with the command:
service lfd restart
You've done it! Thanks for your attention and for reading the tutorial.