]> arthur.barton.de Git - netdata.git/blobdiff - conf.d/health.d/ram.conf
allow all configuration options to be set from the command line; #1991
[netdata.git] / conf.d / health.d / ram.conf
index c461480a1a4e7e816ac9ba153c0629e552838b8b..d60df75b2040e8f6e4054d540b6be291095cd167 100644 (file)
@@ -4,8 +4,8 @@
     calc: $used * 100 / ($used + $cached + $free)
    units: %
    every: 10s
-    warn: $this > 80
-    crit: $this > 90
-   delay: up 1m down 15m multiplier 1.5 max 1h
+    warn: $this > (($status >= $WARNING)  ? (80) : (90))
+    crit: $this > (($status == $CRITICAL) ? (90) : (98))
+   delay: down 15m multiplier 1.5 max 1h
     info: system RAM usage
       to: sysadmin