summaryrefslogtreecommitdiffstats
path: root/health/health.d/synchronization.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/synchronization.conf')
-rw-r--r--health/health.d/synchronization.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/health/health.d/synchronization.conf b/health/health.d/synchronization.conf
new file mode 100644
index 0000000..417624a
--- /dev/null
+++ b/health/health.d/synchronization.conf
@@ -0,0 +1,12 @@
+ alarm: sync_freq
+ on: mem.sync
+ lookup: sum -1m of sync
+ units: calls
+ plugin: ebpf.plugin
+ every: 1m
+ warn: $this > 6
+ delay: up 1m down 10m multiplier 1.5 max 1h
+ info: number of sync() system calls. \
+ Every call causes all pending modifications to filesystem metadata and \
+ cached file data to be written to the underlying filesystems.
+ to: sysadmin