From c6563f9a40e7e9d076597b7a65cd16b53c140dbc Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Fri, 30 Dec 2016 09:34:41 +0100
Subject: [PATCH] Increase softnet budget

---
 tasks/main.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tasks/main.yml b/tasks/main.yml
index 75f6ee6..5ecc701 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -117,6 +117,14 @@
     notify:
       - "Restart NetData"
 
+  - name: "Configure Alert: Softnet"
+    replace:
+      dest: '/etc/netdata/health.d/softnet.conf'
+      regexp: 'warn: \$this > \(\(\$status >= \$WARNING\)  \? \(0\) : \(10\)\)'
+      replace: 'warn: $this > (($status >= $WARNING)  ? (0) : (50))'
+    notify:
+      - "Restart NetData"
+
   - name: "Check if KSM is available"
     stat: path='/sys/kernel/mm/ksm'
     register: ksm
-- 
GitLab