summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2021-03-17 10:22:11 +0000
committerGitHub <noreply@github.com>2021-03-17 10:22:11 +0000
commit65f4f12e8606a14d2c133569890e294275c2e056 (patch)
tree351d185fc6e08864e83498f55caed18e37503aa2 /health
parent757e418090e1038b183d3776aa8a3c55260369ca (diff)
New thread for ebpf.plugin
Add monitoring to `sync` syscall
Diffstat (limited to 'health')
-rw-r--r--health/health.d/synchronization.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/health/health.d/synchronization.conf b/health/health.d/synchronization.conf
new file mode 100644
index 0000000000..dea69b956b
--- /dev/null
+++ b/health/health.d/synchronization.conf
@@ -0,0 +1,10 @@
+ alarm: sync_freq
+ on: mem.sync
+ lookup: sum -1m
+ units: calls
+ plugin: ebpf.plugin
+ every: 1m
+ warn: $this > 6
+ delay: down 10m multiplier 1.5 max 1h
+ info: Your OS is making a considerable number of synchronization to file descriptor in a short period of time.
+ to: sysadmin