Alert if file exists
Posted: Tue Jun 25, 2019 9:15 am
We are having issues where lot of core file are being generated and dumped in /var/core. I would like to know how can I set up alert so it alert whenever a core file exists in the /var/core. I see there is a check_file_age plugin it alerts if the file does not exist, I want to get an alert if file exists. Please let me.
Thanks in advance.
Thanks in advance.