• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Monitoring tmp directory question.

C

carliebentley

Guest
I was just curious if anyone here has found an effective way to monitor the /tmp directory on a RHEL3 server.

Basically I'm looking for something that will watch the tmp directory and drop an e-mail if a file is placed there with the .pl extension.

It would be very nice if this could also log the activity in the tmp directory, to the extent of figuring out the domain responsible for calling the .pl file so that it could be easily traced.

I've done a little digging and haven't found a simple script, etc. that will do this.

It's not enough to change the tmp directory to a noexec situation. I have applications that may need to execue something from the tmp directory, just not perl.

Any pointers in the right direction would be helpful.

Thanks.
 
Back
Top