Netdata Community

File Monitoring Alarms

I couldn’t find any examples for raising file monitoring alarms. Can someone help me with the steps & syntax for defining alarms ? I have to monitor 2 files-file1 and file2 and raise different alarms when size of the files is more than 10MB.

My filecheck.conf would loook like
jobs:
- name: files_example
discovery_every: 30s
files:
include:
- ‘/path/to/file1’
- ‘/path/to/file2’

can someone pls help me with this?