summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-08-31 16:07:22 -0400
committerMatt Woodson <mwoodson@redhat.com>2015-08-31 16:07:47 -0400
commitf2a97b901b5adf6cb8a4875e0b296c5a0d509741 (patch)
tree85c6da0d8e2faee7003f4165c1cd39c0bd406c9d /roles
parent3f6b8e5ada944142644ab053f6505bd7aacf59db (diff)
downloadopenshift-f2a97b901b5adf6cb8a4875e0b296c5a0d509741.tar.gz
openshift-f2a97b901b5adf6cb8a4875e0b296c5a0d509741.tar.bz2
openshift-f2a97b901b5adf6cb8a4875e0b296c5a0d509741.tar.xz
openshift-f2a97b901b5adf6cb8a4875e0b296c5a0d509741.zip
added monitoring triggers
Diffstat (limited to 'roles')
-rw-r--r--roles/os_zabbix/vars/template_os_linux.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml
index 95e15c6e8..7bc8ddc5d 100644
--- a/roles/os_zabbix/vars/template_os_linux.yml
+++ b/roles/os_zabbix/vars/template_os_linux.yml
@@ -173,3 +173,11 @@ g_template_os_linux:
- description: 'Filesystem: /var has less than 5% free on {HOST.NAME}'
expression: '{Template OS Linux:filesys.full.xvda3.last()}>95'
priority: high
+
+ - description: 'Too many TOTAL processes on {HOST.NAME}'
+ expression: '{Template OS Linux:proc.nprocs.last()}>5000'
+ priority: warn
+
+ - description: 'Lack of available memory on {HOST.NAME}'
+ expression: '{Template OS Linux:mem.freemem.last()}<3000'
+ priority: warn