diff options
author | Vyacheslav Khaliev <vyacheslav.khaliev@zabbix.com> | 2022-01-26 16:11:28 +0300 |
---|---|---|
committer | Vyacheslav Khaliev <vyacheslav.khaliev@zabbix.com> | 2022-01-26 16:11:28 +0300 |
commit | 9be7e0f8632e5ce1baea14964233ce8cb880aa42 (patch) | |
tree | 92e6e5594a22856d3995eb459cf8d9ab76f02a66 /templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml | |
parent | 0f1dcff0f3739d23511e22f8114d593dfa115703 (diff) |
.........T [ZBXNEXT-7414] added new tags to all templates
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 | 135 |
1 files changed, 111 insertions, 24 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 292c7e7a8e3..cf4e17673f4 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,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2021-12-16T11:48:11Z' + date: '2022-01-26T10:32:29Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 @@ -15,7 +15,7 @@ zabbix_export: You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/415662-discussion-thread-for-official-zabbix-smart-disk-monitoring - Template tooling version used: 0.40 + Template tooling version used: 0.41 groups: - name: Templates/Modules @@ -30,8 +30,11 @@ zabbix_export: value_type: TEXT tags: - - tag: Application - value: 'Zabbix raw items' + tag: component + value: raw + - + tag: component + value: storage discovery_rules: - uuid: 3b19696e4d8f4f98acb40481adfa7513 @@ -63,8 +66,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: storage + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' - uuid: 498a4f1b4b7442b5a38c52400646cc47 name: 'SMART [{#NAME}]: ID {#ID} {#ATTRNAME}' @@ -85,8 +94,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: storage + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' trigger_prototypes: - uuid: 26a3e4a0b79340b1bb753ec23c07c79b @@ -94,6 +109,10 @@ zabbix_export: name: 'SMART [{#NAME}]: Attribute {#ID} {#ATTRNAME} is failed' priority: WARNING description: 'The value should be greater than THRESH.' + tags: + - + tag: scope + value: notice overrides: - name: 'ID filter' @@ -143,8 +162,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: storage + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' - uuid: e5bbd606e330469389bf081588b88d17 name: 'SMART [{#NAME}]: Power on hours' @@ -166,8 +191,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: storage + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' - uuid: 0861b008b09a41799978e085625aaa4a name: 'SMART [{#NAME}]: Media errors' @@ -189,8 +220,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: storage + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' - uuid: f48fe3366b194eb4942411cc776c8633 name: 'SMART [{#NAME}]: Device model' @@ -213,8 +250,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: inventory + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' - uuid: d5cef21c49994c3e8e12ef6471d7cdcd name: 'SMART [{#NAME}]: Percentage used' @@ -237,14 +280,24 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: storage + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' trigger_prototypes: - uuid: 68f373252bee4f9e8f3b33d04fc1adbd expression: 'last(/SMART by Zabbix agent 2 active/smart.disk.percentage_used[{#NAME}])>90' name: 'SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance' priority: AVERAGE + tags: + - + tag: scope + value: notice - uuid: 189d8e8d16ed40229ba3ca52b75d2dc4 name: 'SMART [{#NAME}]: Serial number' @@ -267,8 +320,14 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: inventory + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' trigger_prototypes: - uuid: 2d5cf100fe094c819d725ee598d37de8 @@ -277,6 +336,10 @@ zabbix_export: priority: INFO description: 'Device serial number has changed. Ack to close.' manual_close: 'YES' + tags: + - + tag: scope + value: notice - uuid: e79eaaf7ee0d40e7b91fc019f5edb19e name: 'SMART [{#NAME}]: Temperature' @@ -299,14 +362,24 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: temperature + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' trigger_prototypes: - uuid: 7f46b24934854866849dd758cb5999d5 expression: 'avg(/SMART by Zabbix agent 2 active/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 + tags: + - + tag: scope + value: notice - uuid: c903a37f4b004e1593ef85ac893c3f6c expression: 'avg(/SMART by Zabbix agent 2 active/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.WARN}' @@ -316,6 +389,10 @@ zabbix_export: - name: 'SMART [{#NAME}]: Average disk temperature is critical (over {$SMART.TEMPERATURE.MAX.CRIT}°C for 5m)' expression: 'avg(/SMART by Zabbix agent 2 active/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.CRIT}' + tags: + - + tag: scope + value: notice - uuid: 2475415cc95b4103b2933f921e62dd36 name: 'SMART [{#NAME}]: Self-test passed' @@ -339,14 +416,24 @@ zabbix_export: key: smart.disk.get tags: - - tag: Application - value: '{#DISKTYPE} {#NAME}' + tag: component + value: health + - + tag: diskname + value: '{#NAME}' + - + tag: disktype + value: '{#DISKTYPE}' trigger_prototypes: - uuid: 304bd042b7644a31bb74a1e71808d196 expression: 'last(/SMART by Zabbix agent 2 active/smart.disk.test[{#NAME}])="false"' name: 'SMART [{#NAME}]: Disk self-test is not passed' priority: HIGH + tags: + - + tag: scope + value: notice overrides: - name: 'Not NVMe' |