LFD emails from CSF keep coming by dozens

cPanel, Industry leading hosting platform with world-class support.
Post Reply
bl333
Posts: 3
Joined: May 23rd, 2016, 7:44 pm

LFD emails from CSF keep coming by dozens

Post by bl333 »

Hi,

After JBM installation, I noticed that two new lines were added to “/etc/csf/csf.fignore”:
/tmp/tmp[^/]{5,10}/virtualenv\-[\d\.]+/.* # JetBackupManager aws ignore
/tmp/tmp[a-zA-Z0-9]+/virtualenv\-[\d\.]+/.* # JetBackupManager aws ignore http://wiki.jetbackupmanager.com/lfd-alert-virtualenv
I am guessing these were added by JBM installation script.

The problem is that we get literally thousands of emails all day, containing exactly what is described in your wiki:
http://wiki.jetbackupmanager.com/lfd-alert-virtualenv

The suggested solution in the wiki, is exactly the line in the csf.fignore file, but the emails keep pouring!

With dozens of servers and each one emailing every few minutes, well you get the picture.

Any ideas for a permanent solution? :roll:
User avatar
idanbe
Staff Member
Staff Member
Posts: 30
Joined: October 22nd, 2015, 2:34 pm

Re: LFD emails from CSF keep coming by dozens

Post by idanbe »

Hello,

That regex rule is supposed to work, nobody reported that issue since we implemented that change.

Please open support ticket with login details to your server,
i would like to check that issue.
bl333
Posts: 3
Joined: May 23rd, 2016, 7:44 pm

Re: LFD emails from CSF keep coming by dozens

Post by bl333 »

In CentOS 6, the two regex that I quoted, work just fine.

In CentOS 7 though, if you retain the comments at the end of each line, then the rule does not work. As soon as we deleted the comments, it worked!
User avatar
idanbe
Staff Member
Staff Member
Posts: 30
Joined: October 22nd, 2015, 2:34 pm

Re: LFD emails from CSF keep coming by dozens

Post by idanbe »

Hello,

Thank you for the report, i opened internal case to our developers on this issue.
bl333
Posts: 3
Joined: May 23rd, 2016, 7:44 pm

Re: LFD emails from CSF keep coming by dozens

Post by bl333 »

You 're welcome :)

I also opened a thread at the CSF forum and the admin replied the following:
You cannot use the regexes as you posted in your last update as you cannot have trailing spaces and comments on the regex line in csf.fignore.
Here's the thread: http://forum.configserver.com/viewtopic.php?f=6&t=9530

So if the comments are in a different line, it works. Hope this helps your devs or anyone else trying to find a solution 8-)
User avatar
idanbe
Staff Member
Staff Member
Posts: 30
Joined: October 22nd, 2015, 2:34 pm

Re: LFD emails from CSF keep coming by dozens

Post by idanbe »

Hello,


One more thing,
we only use the last line, you can delete the first one

Please change both your lines to:

Code: Select all

# JetBackupManager aws ignore
/tmp/tmp[a-zA-Z0-9]+/virtualenv\-[\d\.]+/.*
this syntax will promise you that if we will need to update regex syntax it will update correctly
Post Reply