|
@@ -203,17 +203,35 @@ g_template_os_linux:
|
|
|
applications:
|
|
|
- Disk
|
|
|
|
|
|
+ - discoveryrule_key: disc.filesys
|
|
|
+ name: "Percentage of used inodes on {#OSO_FILESYS}"
|
|
|
+ key: "disc.filesys.inodes.pused[{#OSO_FILESYS}]"
|
|
|
+ value_type: float
|
|
|
+ description: "PCP derived value of percentage of used inodes on a filesystem."
|
|
|
+ applications:
|
|
|
+ - Disk
|
|
|
+
|
|
|
ztriggerprototypes:
|
|
|
- - name: 'Filesystem: {#OSO_FILESYS} has less than 15% free on {HOST.NAME}'
|
|
|
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 15% free disk space on {HOST.NAME}'
|
|
|
expression: '{Template OS Linux:disc.filesys.full[{#OSO_FILESYS}].last()}>85'
|
|
|
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
|
|
|
priority: warn
|
|
|
|
|
|
- - name: 'Filesystem: {#OSO_FILESYS} has less than 10% free on {HOST.NAME}'
|
|
|
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 10% free disk space on {HOST.NAME}'
|
|
|
expression: '{Template OS Linux:disc.filesys.full[{#OSO_FILESYS}].last()}>90'
|
|
|
url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
|
|
|
priority: high
|
|
|
|
|
|
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 10% free inodes on {HOST.NAME}'
|
|
|
+ expression: '{Template OS Linux:disc.filesys.inodes.pused[{#OSO_FILESYS}].last()}>90'
|
|
|
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
|
|
|
+ priority: warn
|
|
|
+
|
|
|
+ - name: 'Filesystem: {#OSO_FILESYS} has less than 5% free inodes on {HOST.NAME}'
|
|
|
+ expression: '{Template OS Linux:disc.filesys.inodes.pused[{#OSO_FILESYS}].last()}>95'
|
|
|
+ url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_filesys_full.asciidoc'
|
|
|
+ priority: high
|
|
|
+
|
|
|
ztriggers:
|
|
|
- name: 'Too many TOTAL processes on {HOST.NAME}'
|
|
|
expression: '{Template OS Linux:proc.nprocs.last()}>5000'
|