The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Csf & Lfd Directory File Watching

Discussion in 'cPanel Developers' started by chae, Oct 10, 2006.

  1. chae

    chae Well-Known Member

    Joined:
    Apr 19, 2003
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Auckland, New Zealand
    Hi Yah,

    Thanks for a magic piece of software Chirpy...made life so much easier :)

    Got a question for everyone with the Directory File Watching section what directories are recommended on monitoring...obviously /home wouldn't as there would be files changing all the time. I've used these for a default to begin with:-

    /bin
    /usr/bin
    /sbin
    /usr/sbin
    /etc
    /usr/local/etc

    Anyone else recommend others ?

    Thanks in advance
     
  2. curriertech

    curriertech Active Member

    Joined:
    Jun 25, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    03819
    I have wondered about this as well! Any expert advice would be gladly accepted. :cool:
     
  3. mrprez

    mrprez Well-Known Member

    Joined:
    Jun 14, 2002
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    16
    I have mine watching the home folder. It has found several scripts that I had to eliminate.

    John
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Some people like to use it to watch /var/spool/cron/ so that they are alerted whenever a cron job is added by users.
     
  5. chae

    chae Well-Known Member

    Joined:
    Apr 19, 2003
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Auckland, New Zealand
    I think this works a bit like ViperDB & any changes or additions the server admin gets notified...

    I'm playing safe or probably gone overboard but have the following listed though there maybe others that I've missed out on:-

    /var/spool/cron
    /etc/X11
    /etc/cron.d
    /etc/cron.hourly
    /etc/cron_daily
    /etc/cron.weekly
    /etc/cron.monthly
    /etc/init.d
    /etc/rc.d
    /bin
    /usr/bin
    /sbin
    /usr/sbin
    /etc
    /usr/local/etc
    /etc/rc.d/rc.sysinit
    /etc/inetd.conf
    /etc/xinetd.conf
    /bin/ps
    /bin/ls
    /usr/bin/w
    /usr/bin/who
    /bin/netstat
    /bin/login
    /bin/ps
    /bin/ls
    /etc/rc.local
    /etc/rc.d/rc.local
    /usr/local/etc/rc.local
    /usr/local/etc/rc.d/rc.local
    /etc/conf.d/local.start
    /etc/init.d/boot.local
    /dev
     
  6. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    I also monitor:

    /var/named/
    /var/cpanel/users/
     

Share This Page