소스 검색

added monitoring triggers

Matt Woodson 9 년 전
부모
커밋
f2a97b901b
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      roles/os_zabbix/vars/template_os_linux.yml

+ 8 - 0
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}'
   - description: 'Filesystem: /var has less than 5% free on {HOST.NAME}'
     expression: '{Template OS Linux:filesys.full.xvda3.last()}>95'
     expression: '{Template OS Linux:filesys.full.xvda3.last()}>95'
     priority: high
     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