I'm trying to find out when a file size increase stops and then sends a GET request to some URL. already added this conf in
/etc/monit/monitrc
check file file.log with path /home/projects/my_project/file.log
if timestamp > 15 minutes then alert
now I want to send a request to URL instead of alert.
something like this:
check file file.log with path /home/projects/my_project/file.log
if timestamp > 15 minutes then request GET "http://my_url:8000"