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
- name: files_example