Feature Request - Ensure A Process is in a 'stopped' state

Issue #765 new
Chris Szeles created an issue

Say I have a "rogue" user running process when I do not want them to. Can monit be enhanced to ensure that if a process is running, that it be 'stopped/killed' and an alert be sent to a defined email?

Example: * I have a user executing a script called 'netdump.sh' and it generates a file in /tmp that consumes a lot of disk, causing my FS to rapidly fill up. If monit can check for the existence of this process (via regex), then I want it to be stopped after a defined amount of uptime.

Comments (0)

  1. Log in to comment