set up event handler
set up event handler
I want to set up event handler which can execute a script when I find a core file in the /var/core. I currently have a custom plugin script which alert critical when a core file is generated and we delete it manually. I want to setup event handler so it can delete the file by using the script we wrote.