diff options
Diffstat (limited to 'templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml')
-rw-r--r-- | templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml b/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml index 281a579ac7e..994487d19b1 100644 --- a/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml +++ b/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml @@ -1,11 +1,13 @@ zabbix_export: version: '5.4' - date: '2021-05-09T00:00:00Z' + date: '2021-05-10T19:41:52Z' groups: - + uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules templates: - + uuid: e518b1340ce44d7389d2cc7c304a97b4 template: 'SMART by Zabbix agent active 2' name: 'SMART by Zabbix agent active 2' description: | @@ -19,6 +21,7 @@ zabbix_export: name: Templates/Modules items: - + uuid: feba508d76b845039b434f62d9e62d54 name: 'SMART: Get attributes' type: ZABBIX_ACTIVE key: smart.disk.get @@ -31,6 +34,7 @@ zabbix_export: value: 'Zabbix raw items' discovery_rules: - + uuid: 3b19696e4d8f4f98acb40481adfa7513 name: 'Attribute discovery' type: ZABBIX_ACTIVE key: smart.attribute.discovery @@ -38,6 +42,7 @@ zabbix_export: description: 'Discovery SMART Vendor Specific Attributes of disks.' item_prototypes: - + uuid: 498a4f1b4b7442b5a38c52400646cc47 name: 'SMART [{#NAME}]: ID {#ID} {#ATTRNAME}' type: DEPENDENT key: 'smart.disk.error[{#NAME},{#ID}]' @@ -60,6 +65,7 @@ zabbix_export: value: '{#DISKTYPE} {#NAME}' trigger_prototypes: - + uuid: 26a3e4a0b79340b1bb753ec23c07c79b expression: 'last(/SMART by Zabbix agent active 2/smart.disk.error[{#NAME},{#ID}]) <= {#THRESH}' name: 'SMART [{#NAME}]: Attribute {#ID} {#ATTRNAME} is failed' priority: WARNING @@ -85,6 +91,7 @@ zabbix_export: status: ENABLED discover: NO_DISCOVER - + uuid: 0a56a348d4a446938beae1eae5ec8993 name: 'Disk discovery' type: ZABBIX_ACTIVE key: smart.disk.discovery @@ -92,6 +99,7 @@ zabbix_export: description: 'Discovery SMART disks.' item_prototypes: - + uuid: ad6a9f6f7293495c916bb0aac0bc9729 name: 'SMART [{#NAME}]: Critical warning' type: DEPENDENT key: 'smart.disk.critical_warning[{#NAME}]' @@ -114,6 +122,7 @@ zabbix_export: tag: Application value: '{#DISKTYPE} {#NAME}' - + uuid: e5bbd606e330469389bf081588b88d17 name: 'SMART [{#NAME}]: Power on hours' type: DEPENDENT key: 'smart.disk.hours[{#NAME}]' @@ -133,6 +142,7 @@ zabbix_export: tag: Application value: '{#DISKTYPE} {#NAME}' - + uuid: 0861b008b09a41799978e085625aaa4a name: 'SMART [{#NAME}]: Media errors' type: DEPENDENT key: 'smart.disk.media_errors[{#NAME}]' @@ -155,6 +165,7 @@ zabbix_export: tag: Application value: '{#DISKTYPE} {#NAME}' - + uuid: f48fe3366b194eb4942411cc776c8633 name: 'SMART [{#NAME}]: Device model' type: DEPENDENT key: 'smart.disk.model[{#NAME}]' @@ -178,6 +189,7 @@ zabbix_export: tag: Application value: '{#DISKTYPE} {#NAME}' - + uuid: d5cef21c49994c3e8e12ef6471d7cdcd name: 'SMART [{#NAME}]: Percentage used' type: DEPENDENT key: 'smart.disk.percentage_used[{#NAME}]' @@ -202,10 +214,12 @@ zabbix_export: value: '{#DISKTYPE} {#NAME}' trigger_prototypes: - + uuid: 68f373252bee4f9e8f3b33d04fc1adbd expression: 'last(/SMART by Zabbix agent active 2/smart.disk.percentage_used[{#NAME}])>90' name: 'SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance' priority: AVERAGE - + uuid: 189d8e8d16ed40229ba3ca52b75d2dc4 name: 'SMART [{#NAME}]: Serial number' type: DEPENDENT key: 'smart.disk.sn[{#NAME}]' @@ -230,12 +244,14 @@ zabbix_export: value: '{#DISKTYPE} {#NAME}' trigger_prototypes: - + uuid: 0316cdeb384342c6b5302eb7ff47fd9a expression: '(last(/SMART by Zabbix agent active 2/smart.disk.sn[{#NAME}],#1)<>last(/SMART by Zabbix agent active 2/smart.disk.sn[{#NAME}],#2))=1 and length(last(/SMART by Zabbix agent active 2/smart.disk.sn[{#NAME}]))>0' name: 'SMART [{#NAME}]: Disk has been replaced (new serial number received)' priority: INFO description: 'Device serial number has changed. Ack to close.' manual_close: 'YES' - + uuid: e79eaaf7ee0d40e7b91fc019f5edb19e name: 'SMART [{#NAME}]: Temperature' type: DEPENDENT key: 'smart.disk.temperature[{#NAME}]' @@ -260,10 +276,12 @@ zabbix_export: value: '{#DISKTYPE} {#NAME}' trigger_prototypes: - + uuid: 992b6986dffa4b4fb8c22f6da58f3281 expression: 'avg(/SMART by Zabbix agent active 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.CRIT}' name: 'SMART [{#NAME}]: Average disk temperature is critical (over {$SMART.TEMPERATURE.MAX.CRIT}°C for 5m)' priority: AVERAGE - + uuid: 82c00687361f4d4e9effd3b7b4d67909 expression: 'avg(/SMART by Zabbix agent active 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.WARN}' name: 'SMART [{#NAME}]: Average disk temperature is too high (over {$SMART.TEMPERATURE.MAX.WARN}°C for 5m)' priority: WARNING @@ -272,6 +290,7 @@ zabbix_export: name: 'SMART [{#NAME}]: Average disk temperature is critical (over {$SMART.TEMPERATURE.MAX.CRIT}°C for 5m)' expression: 'avg(/SMART by Zabbix agent active 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.CRIT}' - + uuid: 2475415cc95b4103b2933f921e62dd36 name: 'SMART [{#NAME}]: Self-test passed' type: DEPENDENT key: 'smart.disk.test[{#NAME}]' @@ -297,6 +316,7 @@ zabbix_export: value: '{#DISKTYPE} {#NAME}' trigger_prototypes: - + uuid: 304bd042b7644a31bb74a1e71808d196 expression: 'last(/SMART by Zabbix agent active 2/smart.disk.test[{#NAME}])="false"' name: 'SMART [{#NAME}]: Disk self-test is not passed' priority: HIGH |