diff --git a/tasks/main.yml b/tasks/main.yml index 75f6ee6480489dd04c99fff409e8e7f9e4295dc8..5ecc701d9d53fa67ca7a94a2c0e90a27ddf13f90 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