Correct syntax to disable lfd notifications for CalendarServer Plugin in csf.pignore
Hi all,
Recently installed CalendarServer Plugin which is working fine but resulted in multiple excessive resource usage emails from lfd. I've read through the existing threads discussing this topic and they all say the solution is to whitelist CalendarServer in csf.pignore, however none of the solutions mention a full syntax that works for me.
Currently I am receiving 5 emails every hour or so and would like to disable these emails but need the correct syntax for csf.pignore.
Here are the executable and command lines I need to whitelist:
I'm thinking the correct line would use pcmd but not sure excaly how this works and I'm struggling to understand the logic from the documentation. Seems the following should work but I don't want to make any mistakes here and hoping someone from the community could shed some light on this for me. I'm thinking something like this should work:
I asked another user who claimed to have found the solution
Executable: /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer *.*.*+**************************** [Combined]
Executable: /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer Directory Proxy ServiceExecutable: /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer *.*.*+**************************** [Slave #0]Executable: /opt/cpanel-ccs/.develop/virtualenv/bin/python2.7
Command Line: CalendarServer *.*.*+**************************** [Slave #1]Executable: /usr/bin/memcached
Command Line: memcached -U 0 -s ./data/Logs/state/memcache.sockI'm thinking the correct line would use pcmd but not sure excaly how this works and I'm struggling to understand the logic from the documentation. Seems the following should work but I don't want to make any mistakes here and hoping someone from the community could shed some light on this for me. I'm thinking something like this should work:
pcmd:/opt/cpanel-css/.develop/virtualenv/bin/phython.* /CalendarServer*.*.*+**************************** [Combined]I asked another user who claimed to have found the solution
-
Hey there! Since this is a newer service, it might to good to ask ConfigServer directly to see what testing they've done with that and how that should be implemented, as CSF isn't something we create or manage on our end. Or it's possible another user will see this and share what they have configured successfully. 0 -
Hi @SimpleTechGuy From memory, you'd need something like this: cmd:memcached
andpcmd:CalendarServer.*
Let me know if it works :)0 -
Excellent, this seems to be working as far as I can tell. Thank you so much, these messages were driving me crazy lol. Will update if anything changes. Hi @SimpleTechGuy From memory, you'd need something like this:
cmd:memcached
andpcmd:CalendarServer.*
Let me know if it works :)0 -
**UPDATE** cmd:memcached
didn't work. I ended up usingexe:/usr/bin/memcached0 -
pcmd:/opt/cpanel-css/.develop/virtualenv/bin/phython.* /CalendarServer*.*.*+**************************** [Combined]
This command worked for you?0 -
This command worked for you?
That actually didn't work. For Calendar Server I ended up using this:pcmd:CalendarServer.*0
Please sign in to leave a comment.
Comments
6 comments