Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have OpenVZ running on a box with CSF / LFD installed.

I like the way LFD can alert me of suspicious processes running on the HardwareNode itself.

However, LFD is emailing me about every suspicious process that the VE's are running.

Is there a way to make LFD ignore the /vz/root directory entirely?

Regards, Chris

share|improve this question
    
attach alert, please –  alvosu Feb 9 '11 at 15:19
    
Feb 9 15:19:52 vza2 lfd[7835]: User Processing PID:8097 Kill:0 User: Time:2873 EXE:/var/lib/vz/root/3042/bin/dbus-daemon CMD:dbus-daemon --system –  Squeeb Feb 9 '11 at 15:21

1 Answer 1

You need to tweak /etc/csf/csf.pignore (on the host) to your requirements. In most cases we tend to ignore certain process on VMs like this:

exe:/var/lib/vz/root/*/usr/sbin/mysqld
exe:/var/lib/vz/root/*/usr/sbin/portmap
exe:/var/lib/vz/root/*/sbin/portmap
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.