# File Monitoring Alarms

**URL:** <https://community.netdata.cloud/t/file-monitoring-alarms/1595>\
**Category:** Help\
**Tags:** agent-alarms, agent\
**Created:** [August 4, 2021, 1:28pm UTC](https://community.netdata.cloud/t/file-monitoring-alarms/1595 "2021-08-04T13:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuj](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@anuj](https://community.netdata.cloud/u/anuj)\
**Post date:** [August 4, 2021, 1:28pm UTC](https://community.netdata.cloud/t/file-monitoring-alarms/1595/1 "2021-08-04T13:28:33Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![anuj](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@anuj](https://community.netdata.cloud/u/anuj)\
**Post date:** [August 10, 2021, 9:08am UTC](https://community.netdata.cloud/t/file-monitoring-alarms/1595/2 "2021-08-10T09:08:25Z")

</div>

can someone pls help me with this?
