Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/module')
-rw-r--r--templates/module/ether_like_snmp/README.md2
-rw-r--r--templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml18
-rw-r--r--templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml98
-rw-r--r--templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml134
-rw-r--r--templates/module/icmp_ping/template_module_icmp_ping.yaml47
-rw-r--r--templates/module/interfaces_simple_snmp/README.md18
-rw-r--r--templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml110
-rw-r--r--templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml120
-rw-r--r--templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml110
-rw-r--r--templates/module/smart_agent2/template_module_smart_agent2.yaml135
-rw-r--r--templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml135
-rw-r--r--templates/module/zabbix_agent/README.md10
-rw-r--r--templates/module/zabbix_agent/template_module_zabbix_agent.yaml56
13 files changed, 785 insertions, 208 deletions
diff --git a/templates/module/ether_like_snmp/README.md b/templates/module/ether_like_snmp/README.md
index 548f526bb52..d417576d8bc 100644
--- a/templates/module/ether_like_snmp/README.md
+++ b/templates/module/ether_like_snmp/README.md
@@ -28,7 +28,7 @@ There are no template links in this template.
|Group|Name|Description|Type|Key and additional info|
|-----|----|-----------|----|---------------------|
-|Network_interfaces |Interface {#IFNAME}({#IFALIAS}): Duplex status |<p>MIB: EtherLike-MIB</p><p>The current mode of operation of the MAC</p><p>entity. 'unknown' indicates that the current</p><p>duplex mode could not be determined.</p><p>Management control of the duplex mode is</p><p>accomplished through the MAU MIB. When</p><p>an interface does not support autonegotiation,</p><p>or when autonegotiation is not enabled, the</p><p>duplex mode is controlled using</p><p>ifMauDefaultType. When autonegotiation is</p><p>supported and enabled, duplex mode is controlled</p><p>using ifMauAutoNegAdvertisedBits. In either</p><p>case, the currently operating duplex mode is</p><p>reflected both in this object and in ifMauType.</p><p>Note that this object provides redundant</p><p>information with ifMauType. Normally, redundant</p><p>objects are discouraged. However, in this</p><p>instance, it allows a management application to</p><p>determine the duplex status of an interface</p><p>without having to know every possible value of</p><p>ifMauType. This was felt to be sufficiently</p><p>valuable to justify the redundancy.</p><p>Reference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus.</p> |SNMP |net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}] |
+|Network interfaces |Interface {#IFNAME}({#IFALIAS}): Duplex status |<p>MIB: EtherLike-MIB</p><p>The current mode of operation of the MAC</p><p>entity. 'unknown' indicates that the current</p><p>duplex mode could not be determined.</p><p>Management control of the duplex mode is</p><p>accomplished through the MAU MIB. When</p><p>an interface does not support autonegotiation,</p><p>or when autonegotiation is not enabled, the</p><p>duplex mode is controlled using</p><p>ifMauDefaultType. When autonegotiation is</p><p>supported and enabled, duplex mode is controlled</p><p>using ifMauAutoNegAdvertisedBits. In either</p><p>case, the currently operating duplex mode is</p><p>reflected both in this object and in ifMauType.</p><p>Note that this object provides redundant</p><p>information with ifMauType. Normally, redundant</p><p>objects are discouraged. However, in this</p><p>instance, it allows a management application to</p><p>determine the duplex status of an interface</p><p>without having to know every possible value of</p><p>ifMauType. This was felt to be sufficiently</p><p>valuable to justify the redundancy.</p><p>Reference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus.</p> |SNMP |net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}] |
## Triggers
diff --git a/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml b/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml
index 003f5e1d4e4..8b0d7d28c70 100644
--- a/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml
+++ b/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T08:28:11Z'
+ date: '2022-01-26T10:32:41Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -16,7 +16,7 @@ zabbix_export:
MIBs used:
EtherLike-MIB
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -78,8 +78,14 @@ zabbix_export:
name: 'EtherLike-MIB::dot3StatsDuplexStatus'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
trigger_prototypes:
-
uuid: e6ae9fc7d4454d389d066450af3a3066
@@ -88,6 +94,10 @@ zabbix_export:
priority: WARNING
description: 'Please check autonegotiation settings and cabling'
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: performance
preprocessing:
-
type: JAVASCRIPT
diff --git a/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml b/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml
index f2638ca5641..4708007b455 100644
--- a/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml
+++ b/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2022-01-18T20:38:37Z'
+ date: '2022-01-26T10:32:00Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -31,8 +31,11 @@ zabbix_export:
name: 'Service state'
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: 085d6f785f1e46faa447d6921036d01d
@@ -40,6 +43,10 @@ zabbix_export:
name: 'Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
+ tags:
+ -
+ tag: scope
+ value: availability
-
uuid: 5d306c51188e496ba19b75b99e28cc7b
name: 'ICMP loss'
@@ -50,8 +57,11 @@ zabbix_export:
units: '%'
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: d1bd868814ba4ace9b5034ac4e303259
@@ -63,6 +73,13 @@ zabbix_export:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/Generic SNMP/icmpping,#3)=0'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: performance
-
uuid: 9ad39c8c6ede46e6953aa6f9466eaf69
name: 'ICMP response time'
@@ -73,8 +90,11 @@ zabbix_export:
units: s
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: ecd74ec29b484a499414293bf671160b
@@ -89,6 +109,13 @@ zabbix_export:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/Generic SNMP/icmpping,#3)=0'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: performance
-
uuid: 2cda26906f254e13985cecdbb7901d1a
name: 'SNMP traps (fallback)'
@@ -101,8 +128,8 @@ zabbix_export:
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
-
- tag: Application
- value: General
+ tag: component
+ value: network
-
uuid: 62da59c7aae54df7976f327119fe7cc2
name: 'System contact details'
@@ -124,8 +151,8 @@ zabbix_export:
- 12h
tags:
-
- tag: Application
- value: General
+ tag: component
+ value: system
-
uuid: 29a3e5277de94386a5985fcf38a09364
name: 'System description'
@@ -148,8 +175,8 @@ zabbix_export:
- 12h
tags:
-
- tag: Application
- value: General
+ tag: component
+ value: system
-
uuid: 02b453f44c014f2bb1054e801058b381
name: 'System location'
@@ -171,8 +198,8 @@ zabbix_export:
- 12h
tags:
-
- tag: Application
- value: General
+ tag: component
+ value: system
-
uuid: 3996a3a8d927473aa07c47e63a09b865
name: 'System name'
@@ -194,8 +221,8 @@ zabbix_export:
- 12h
tags:
-
- tag: Application
- value: General
+ tag: component
+ value: system
triggers:
-
uuid: 072bf35ea9d04c559ada5cb13d4b6802
@@ -204,6 +231,13 @@ zabbix_export:
priority: INFO
description: 'System name has changed. Ack to close.'
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: notice
+ -
+ tag: scope
+ value: security
-
uuid: 9dbcc5a1cd7240c896e2ea718f9ccb35
name: 'System object ID'
@@ -224,8 +258,8 @@ zabbix_export:
- 12h
tags:
-
- tag: Application
- value: General
+ tag: component
+ value: system
-
uuid: 000b97abddcd44bfb57e0eeb1b77f69e
name: Uptime
@@ -246,8 +280,8 @@ zabbix_export:
- '0.01'
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: system
triggers:
-
uuid: 6f00359af55f45909bdecbad234c7654
@@ -260,6 +294,10 @@ zabbix_export:
-
name: 'No SNMP data collection'
expression: 'max(/Generic SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
+ tags:
+ -
+ tag: scope
+ value: notice
-
uuid: 3e8c2d440441416b9ccec7dd90e21503
name: 'SNMP agent availability'
@@ -276,8 +314,11 @@ zabbix_export:
name: zabbix.host.available
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: d3aba975ec574b258c7f971152c5d4cd
@@ -290,6 +331,17 @@ zabbix_export:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/Generic SNMP/icmpping,#3)=0'
+ tags:
+ -
+ tag: scope
+ value: availability
+ tags:
+ -
+ tag: class
+ value: device
+ -
+ tag: target
+ value: generic
macros:
-
macro: '{$ICMP_LOSS_WARN}'
diff --git a/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml b/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml
index b1a6bd941f3..98392d1187c 100644
--- a/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml
+++ b/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2022-01-18T20:38:41Z'
+ date: '2022-01-26T10:32:52Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -41,8 +41,8 @@ zabbix_export:
- '$..[''{#CPU.UTIL}''].avg()'
tags:
-
- tag: Application
- value: CPU
+ tag: component
+ value: cpu
triggers:
-
uuid: bb8b2193ed4c437284d569a38f500367
@@ -51,6 +51,10 @@ zabbix_export:
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'CPU utilization is too high. The system might be slow to respond.'
+ tags:
+ -
+ tag: scope
+ value: performance
macros:
-
macro: '{$CPU.UTIL.CRIT}'
@@ -118,8 +122,8 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: Memory
+ tag: component
+ value: memory
-
uuid: f5b701faf10d40d596d04e1d921861f9
name: '{#MEMNAME}: Used memory'
@@ -138,8 +142,8 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: Memory
+ tag: component
+ value: memory
-
uuid: 99961a81ae4a474ea157f108c8014c77
name: '{#MEMNAME}: Memory utilization'
@@ -152,8 +156,8 @@ zabbix_export:
description: 'Memory utilization in %'
tags:
-
- tag: Application
- value: Memory
+ tag: component
+ value: memory
trigger_prototypes:
-
uuid: fb87fa900e404e2ba53fa5769fecc511
@@ -161,6 +165,13 @@ zabbix_export:
name: '{#MEMNAME}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
description: 'The system is running out of free memory.'
+ tags:
+ -
+ tag: scope
+ value: capacity
+ -
+ tag: scope
+ value: performance
graph_prototypes:
-
uuid: 47a47f92e42047fe937e01ad163ca665
@@ -230,8 +241,8 @@ zabbix_export:
- '$..[''{#CPU.UTIL}''].avg()'
tags:
-
- tag: Application
- value: CPU
+ tag: component
+ value: cpu
triggers:
-
uuid: d1b02854c6cd473090735eabfbd4d908
@@ -240,6 +251,10 @@ zabbix_export:
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'CPU utilization is too high. The system might be slow to respond.'
+ tags:
+ -
+ tag: scope
+ value: performance
discovery_rules:
-
uuid: 083012fc49c248cc8869484266c5bc35
@@ -283,8 +298,11 @@ zabbix_export:
description: 'Space utilization in % for {#FSNAME}'
tags:
-
- tag: Application
- value: 'Filesystem {#FSNAME}'
+ tag: component
+ value: storage
+ -
+ tag: filesystem
+ value: '{#FSNAME}'
-
uuid: fe61fddd59e34574b4cde449a4a1bd0e
name: '{#FSNAME}: Total space'
@@ -305,8 +323,11 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: 'Filesystem {#FSNAME}'
+ tag: component
+ value: storage
+ -
+ tag: filesystem
+ value: '{#FSNAME}'
-
uuid: 7e5e0fae3cd24a8fb0a526d726599915
name: '{#FSNAME}: Used space'
@@ -325,8 +346,11 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: 'Filesystem {#FSNAME}'
+ tag: component
+ value: storage
+ -
+ tag: filesystem
+ value: '{#FSNAME}'
trigger_prototypes:
-
uuid: 8283f8b8663f444aad85633010615c15
@@ -342,6 +366,13 @@ zabbix_export:
- The disk free space is less than 5G.
- The disk will be full in less than 24 hours.
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: capacity
-
uuid: 2d9c475d718b4c2ba14b129f66014f75
expression: |
@@ -362,6 +393,13 @@ zabbix_export:
expression: |
last(/HOST-RESOURCES-MIB SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
((last(/HOST-RESOURCES-MIB SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<5G or timeleft(/HOST-RESOURCES-MIB SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: capacity
graph_prototypes:
-
uuid: 347d802fcd114cad882a2299eb2b02de
@@ -435,8 +473,8 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: Memory
+ tag: component
+ value: memory
-
uuid: c555b61dfac744c3abb77d014efc8e0d
name: '{#MEMNAME}: Used memory'
@@ -455,8 +493,8 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: Memory
+ tag: component
+ value: memory
-
uuid: 01e2f5515f2145a68d93a4637abfe4e9
name: '{#MEMNAME}: Memory utilization'
@@ -469,8 +507,8 @@ zabbix_export:
description: 'Memory utilization in %'
tags:
-
- tag: Application
- value: Memory
+ tag: component
+ value: memory
trigger_prototypes:
-
uuid: 730a76bd19a24a55be24f72175251046
@@ -478,6 +516,13 @@ zabbix_export:
name: '{#MEMNAME}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
description: 'The system is running out of free memory.'
+ tags:
+ -
+ tag: scope
+ value: capacity
+ -
+ tag: scope
+ value: performance
graph_prototypes:
-
uuid: ce1f2938b1da4b1c9d78b99e9e1e3435
@@ -662,8 +707,11 @@ zabbix_export:
description: 'Space utilization in % for {#FSNAME}'
tags:
-
- tag: Application
- value: 'Filesystem {#FSNAME}'
+ tag: component
+ value: storage
+ -
+ tag: filesystem
+ value: '{#FSNAME}'
-
uuid: de2da3226b2145f3943d18ce59f2d803
name: '{#FSNAME}: Total space'
@@ -684,8 +732,11 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: 'Filesystem {#FSNAME}'
+ tag: component
+ value: storage
+ -
+ tag: filesystem
+ value: '{#FSNAME}'
-
uuid: 719bf2d97348421cb02544efe5caf1bb
name: '{#FSNAME}: Used space'
@@ -704,8 +755,11 @@ zabbix_export:
- '{#ALLOC_UNITS}'
tags:
-
- tag: Application
- value: 'Filesystem {#FSNAME}'
+ tag: component
+ value: storage
+ -
+ tag: filesystem
+ value: '{#FSNAME}'
trigger_prototypes:
-
uuid: 9fbb4a0ceeba4c9e935f54610d5f1afb
@@ -721,6 +775,13 @@ zabbix_export:
- The disk free space is less than 5G.
- The disk will be full in less than 24 hours.
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: capacity
-
uuid: 5db5f43d1c3b4b1f91bef16ec1090945
expression: |
@@ -741,6 +802,13 @@ zabbix_export:
expression: |
last(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
((last(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<5G or timeleft(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: capacity
graph_prototypes:
-
uuid: c5af27b4061c4e9795489f7bc25c42dd
@@ -789,7 +857,7 @@ zabbix_export:
value: '80'
graphs:
-
- uuid: fe501ac6688d4165a645ef804644cf93
+ uuid: f55018667c2242c5a9bb969bbcaf4770
name: 'CPU utilization'
ymin_type_1: FIXED
ymax_type_1: FIXED
@@ -798,10 +866,10 @@ zabbix_export:
drawtype: GRADIENT_LINE
color: 1A7C11
item:
- host: 'HOST-RESOURCES-MIB CPU SNMP'
+ host: 'HOST-RESOURCES-MIB SNMP'
key: system.cpu.util
-
- uuid: f55018667c2242c5a9bb969bbcaf4770
+ uuid: fe501ac6688d4165a645ef804644cf93
name: 'CPU utilization'
ymin_type_1: FIXED
ymax_type_1: FIXED
@@ -810,5 +878,5 @@ zabbix_export:
drawtype: GRADIENT_LINE
color: 1A7C11
item:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB CPU SNMP'
key: system.cpu.util
diff --git a/templates/module/icmp_ping/template_module_icmp_ping.yaml b/templates/module/icmp_ping/template_module_icmp_ping.yaml
index c082d025e7f..5233866da55 100644
--- a/templates/module/icmp_ping/template_module_icmp_ping.yaml
+++ b/templates/module/icmp_ping/template_module_icmp_ping.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T11:49:43Z'
+ date: '2022-01-26T10:32:10Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -13,7 +13,7 @@ zabbix_export:
description: |
Template Module ICMP Ping
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -28,8 +28,11 @@ zabbix_export:
name: 'Service state'
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: b030876299434f3ba43e11c584104a81
@@ -37,6 +40,10 @@ zabbix_export:
name: 'Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
+ tags:
+ -
+ tag: scope
+ value: availability
-
uuid: 04b21adaf422473a88df2c52786474ed
name: 'ICMP loss'
@@ -47,8 +54,11 @@ zabbix_export:
units: '%'
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: 42c4b0310aaf4b9c8cb502542b7dea90
@@ -60,6 +70,13 @@ zabbix_export:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/ICMP Ping/icmpping,#3)=0'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: performance
-
uuid: a79e33e5fd264725b934f603fa071555
name: 'ICMP response time'
@@ -70,8 +87,11 @@ zabbix_export:
units: s
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: health
+ -
+ tag: component
+ value: network
triggers:
-
uuid: 32b4d8f3eba34bd380803410111d4b7f
@@ -86,6 +106,17 @@ zabbix_export:
-
name: 'Unavailable by ICMP ping'
expression: 'max(/ICMP Ping/icmpping,#3)=0'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: performance
+ tags:
+ -
+ tag: class
+ value: software
macros:
-
macro: '{$ICMP_LOSS_WARN}'
diff --git a/templates/module/interfaces_simple_snmp/README.md b/templates/module/interfaces_simple_snmp/README.md
index 690c65b0925..5d12a782d3b 100644
--- a/templates/module/interfaces_simple_snmp/README.md
+++ b/templates/module/interfaces_simple_snmp/README.md
@@ -45,15 +45,15 @@ There are no template links in this template.
|Group|Name|Description|Type|Key and additional info|
|-----|----|-----------|----|---------------------|
-|Network_interfaces |Interface {#IFDESCR}: Operational status |<p>MIB: IF-MIB</p><p>The current operational state of the interface.</p><p>- The testing(3) state indicates that no operational packet scan be passed</p><p>- If ifAdminStatus is down(2) then ifOperStatus should be down(2)</p><p>- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic</p><p>- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)</p><p>- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state</p><p>- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.</p> |SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] |
-|Network_interfaces |Interface {#IFDESCR}: Bits received |<p>MIB: IF-MIB</p><p>The total number of octets received on the interface,including framing characters. Discontinuities in the value of this counter can occurat re-initialization of the management system, and atother times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.in[ifInOctets.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p><p>- MULTIPLIER: `8`</p> |
-|Network_interfaces |Interface {#IFDESCR}: Bits sent |<p>MIB: IF-MIB</p><p>The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occurat re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.out[ifOutOctets.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p><p>- MULTIPLIER: `8`</p> |
-|Network_interfaces |Interface {#IFDESCR}: Inbound packets with errors |<p>MIB: IF-MIB</p><p>For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.in.errors[ifInErrors.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Interface {#IFDESCR}: Outbound packets with errors |<p>MIB: IF-MIB</p><p>For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.out.errors[ifOutErrors.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Interface {#IFDESCR}: Outbound packets discarded |<p>MIB: IF-MIB</p><p>The number of outbound packets which were chosen to be discarded</p><p>even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.</p><p>One possible reason for discarding such a packet could be to free up buffer space.</p><p>Discontinuities in the value of this counter can occur at re-initialization of the management system,</p><p>and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Interface {#IFDESCR}: Inbound packets discarded |<p>MIB: IF-MIB</p><p>The number of inbound packets which were chosen to be discarded</p><p>even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.</p><p>One possible reason for discarding such a packet could be to free up buffer space.</p><p>Discontinuities in the value of this counter can occur at re-initialization of the management system,</p><p>and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.in.discards[ifInDiscards.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
-|Network_interfaces |Interface {#IFDESCR}: Interface type |<p>MIB: IF-MIB</p><p>The type of interface.</p><p>Additional values for ifType are assigned by the Internet Assigned NumbersAuthority (IANA),</p><p>through updating the syntax of the IANAifType textual convention.</p> |SNMP |net.if.type[ifType.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
-|Network_interfaces |Interface {#IFDESCR}: Speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second.</p><p>For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made,</p><p>this object should contain the nominal bandwidth.</p><p>If the bandwidth of the interface is greater than the maximum value reportable by this object then</p><p>this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interace's speed.</p><p>For a sub-layer which has no concept of bandwidth, this object should be zero.</p> |SNMP |net.if.speed[ifSpeed.{#SNMPINDEX}] |
+|Network interfaces |Interface {#IFDESCR}: Operational status |<p>MIB: IF-MIB</p><p>The current operational state of the interface.</p><p>- The testing(3) state indicates that no operational packet scan be passed</p><p>- If ifAdminStatus is down(2) then ifOperStatus should be down(2)</p><p>- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic</p><p>- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)</p><p>- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state</p><p>- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.</p> |SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] |
+|Network interfaces |Interface {#IFDESCR}: Bits received |<p>MIB: IF-MIB</p><p>The total number of octets received on the interface,including framing characters. Discontinuities in the value of this counter can occurat re-initialization of the management system, and atother times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.in[ifInOctets.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p><p>- MULTIPLIER: `8`</p> |
+|Network interfaces |Interface {#IFDESCR}: Bits sent |<p>MIB: IF-MIB</p><p>The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occurat re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.out[ifOutOctets.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p><p>- MULTIPLIER: `8`</p> |
+|Network interfaces |Interface {#IFDESCR}: Inbound packets with errors |<p>MIB: IF-MIB</p><p>For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.in.errors[ifInErrors.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Interface {#IFDESCR}: Outbound packets with errors |<p>MIB: IF-MIB</p><p>For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.out.errors[ifOutErrors.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Interface {#IFDESCR}: Outbound packets discarded |<p>MIB: IF-MIB</p><p>The number of outbound packets which were chosen to be discarded</p><p>even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.</p><p>One possible reason for discarding such a packet could be to free up buffer space.</p><p>Discontinuities in the value of this counter can occur at re-initialization of the management system,</p><p>and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Interface {#IFDESCR}: Inbound packets discarded |<p>MIB: IF-MIB</p><p>The number of inbound packets which were chosen to be discarded</p><p>even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.</p><p>One possible reason for discarding such a packet could be to free up buffer space.</p><p>Discontinuities in the value of this counter can occur at re-initialization of the management system,</p><p>and at other times as indicated by the value of ifCounterDiscontinuityTime.</p> |SNMP |net.if.in.discards[ifInDiscards.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND</p> |
+|Network interfaces |Interface {#IFDESCR}: Interface type |<p>MIB: IF-MIB</p><p>The type of interface.</p><p>Additional values for ifType are assigned by the Internet Assigned NumbersAuthority (IANA),</p><p>through updating the syntax of the IANAifType textual convention.</p> |SNMP |net.if.type[ifType.{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|Network interfaces |Interface {#IFDESCR}: Speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second.</p><p>For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made,</p><p>this object should contain the nominal bandwidth.</p><p>If the bandwidth of the interface is greater than the maximum value reportable by this object then</p><p>this object should report its maximum value (4,294,967,295) and ifHighSpeed must be used to report the interace's speed.</p><p>For a sub-layer which has no concept of bandwidth, this object should be zero.</p> |SNMP |net.if.speed[ifSpeed.{#SNMPINDEX}] |
## Triggers
diff --git a/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml b/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml
index 68c398283e4..82c2fe3a63d 100644
--- a/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml
+++ b/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T08:28:20Z'
+ date: '2022-01-26T10:32:33Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -20,7 +20,7 @@ zabbix_export:
Description: 32bit counters are used in this template (since there is no ifXtable available). If busy interfaces return incorrect bits sent/received - set update interval to 1m or less.
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -104,8 +104,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: f97ed0e4b7b3473a988f27a60e5d79ef
name: 'Interface {#IFDESCR}: Inbound packets with errors'
@@ -124,8 +130,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 3a971825c99e476aa2c18b1a792ec19d
name: 'Interface {#IFDESCR}: Bits received'
@@ -149,8 +161,14 @@ zabbix_export:
- '8'
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 2395b3a694474b9894e64f759dbe805e
name: 'Interface {#IFDESCR}: Outbound packets discarded'
@@ -173,8 +191,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: f6872ed88b464c37800738fd5e492896
name: 'Interface {#IFDESCR}: Outbound packets with errors'
@@ -193,8 +217,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 2a7b5b7e48444c8c8cf38f89a1a1091e
name: 'Interface {#IFDESCR}: Bits sent'
@@ -218,8 +248,14 @@ zabbix_export:
- '8'
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: b93b4164db1c4c838ecfd5c2b261acfb
name: 'Interface {#IFDESCR}: Speed'
@@ -240,8 +276,14 @@ zabbix_export:
For a sub-layer which has no concept of bandwidth, this object should be zero.
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 43d9d7883a1b4f6dbe4e118ef12d731e
name: 'Interface {#IFDESCR}: Operational status'
@@ -263,8 +305,14 @@ zabbix_export:
name: 'IF-MIB::ifOperStatus'
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
trigger_prototypes:
-
uuid: 94097ac2b53748aea45fed2f3014c1b6
@@ -282,6 +330,10 @@ zabbix_export:
WARNING: if closed manually - won't fire again on next poll, because of .diff.
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
-
uuid: 9470d6a01c4e4ea2a007582ac1c0ce64
name: 'Interface {#IFDESCR}: Interface type'
@@ -305,8 +357,14 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Interface {#IFDESCR}'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
trigger_prototypes:
-
uuid: 13c523ffdf154e6fb1ab7628e3a2010a
@@ -336,6 +394,10 @@ zabbix_export:
name: 'Interface {#IFDESCR}: Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
-
uuid: 7594011ba1964285abd0f232ffeb22e3
expression: |
@@ -356,6 +418,10 @@ zabbix_export:
name: 'Interface {#IFDESCR}: Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
-
uuid: 2eb4baaf86a2405b9a1a232241eee72b
expression: |
@@ -375,6 +441,10 @@ zabbix_export:
name: 'Interface {#IFDESCR}: Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces Simple SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
graph_prototypes:
-
uuid: 80ae528968304d06a676f69c4e321c07
diff --git a/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml b/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml
index 770740e92f9..c0832e9d656 100644
--- a/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml
+++ b/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T08:28:23Z'
+ date: '2022-01-26T10:32:25Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -16,7 +16,7 @@ zabbix_export:
MIBs used:
IF-MIB
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -109,8 +109,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 2c7296aa56884ef48bb66c25097848f9
name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
@@ -129,8 +135,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 633cdf45222b454198ec66308aa7a55d
name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
@@ -154,8 +166,14 @@ zabbix_export:
- '8'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: baca586b493448959a945c9433c38fe7
name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
@@ -178,8 +196,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 2712f191e05046da85321c0ceeea85b3
name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
@@ -198,8 +222,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 9037dd45e90a45baa58014d20db3ab0f
name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
@@ -223,8 +253,14 @@ zabbix_export:
- '8'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: b63cb94bb9954ee4ab56d2a7d25d5957
name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
@@ -249,8 +285,14 @@ zabbix_export:
- 1h
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
-
uuid: 0ac3b237358a4df69712d3829341766b
name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
@@ -272,8 +314,14 @@ zabbix_export:
name: 'IF-MIB::ifOperStatus'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
trigger_prototypes:
-
uuid: 35d62eb5323141a3a3f3afc4c9250243
@@ -291,6 +339,10 @@ zabbix_export:
WARNING: if closed manually - won't fire again on next poll, because of .diff.
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
-
uuid: 565967032d23436486868eb495f7ed17
name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
@@ -314,8 +366,14 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: interface
+ -
+ tag: component
+ value: network
+ -
+ tag: interface
+ value: 'port-{#SNMPINDEX}'
trigger_prototypes:
-
uuid: 9f1f6cff58454b469f588af8624f9078
@@ -345,6 +403,10 @@ zabbix_export:
name: 'Interface {#IFNAME}({#IFALIAS}): Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
-
uuid: 913c87be8cd94aeb8a3f9e008a4cd560
expression: |
@@ -365,6 +427,10 @@ zabbix_export:
name: 'Interface {#IFNAME}({#IFALIAS}): Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
-
uuid: 15b436b13012415bb9773d3ddab22178
expression: |
@@ -384,6 +450,13 @@ zabbix_export:
name: 'Interface {#IFNAME}({#IFALIAS}): Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: availability
+ -
+ tag: scope
+ value: performance
graph_prototypes:
-
uuid: 748719ae10ea43da9efec7225dac54cb
@@ -430,6 +503,13 @@ zabbix_export:
item:
host: 'Interfaces SNMP'
key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
+ tags:
+ -
+ tag: class
+ value: network
+ -
+ tag: target
+ value: interfaces
macros:
-
macro: '{$IF.ERRORS.WARN}'
diff --git a/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml b/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml
index eb96375bdf0..38271d6e89f 100644
--- a/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml
+++ b/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T08:28:25Z'
+ date: '2022-01-26T10:32:56Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -20,7 +20,7 @@ zabbix_export:
Description: 32bit counters are used in this template (since 64bit are not supported by Windows OS). If busy interfaces return incorrect bits sent/received - set update interval to 1m or less.
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -113,8 +113,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: 199eb3a0274a43f198137abefba57f09
name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
@@ -133,8 +139,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: a7994f0c49e747b480428f20f4ddd49b
name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
@@ -158,8 +170,14 @@ zabbix_export:
- '8'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: 16f12f7e76d14fe4b2675a3c86dbe0ff
name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
@@ -182,8 +200,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: e6695fe534d44477a06da86bdd9e49a4
name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
@@ -202,8 +226,14 @@ zabbix_export:
- ''
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: 95e58c279df24606b28fb325e7006b54
name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
@@ -227,8 +257,14 @@ zabbix_export:
- '8'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: 290ed87b085144c5bea26de86e7d5c7f
name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
@@ -253,8 +289,14 @@ zabbix_export:
- 1h
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
-
uuid: 73b1182c727449f69fb0dc67b19aec5d
name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
@@ -276,8 +318,14 @@ zabbix_export:
name: 'IF-MIB::ifOperStatus'
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
trigger_prototypes:
-
uuid: efe4c7dbbd804e41bc1bcd0630afcf09
@@ -295,6 +343,10 @@ zabbix_export:
WARNING: if closed manually - won't fire again on next poll, because of .diff.
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
-
uuid: 557b8ccf262a4d94abff327bcf41822b
name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
@@ -318,8 +370,14 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Interface {#IFNAME}({#IFALIAS})'
+ tag: component
+ value: network
+ -
+ tag: description
+ value: '{#IFALIAS}'
+ -
+ tag: interface
+ value: '{#IFNAME}'
trigger_prototypes:
-
uuid: 31393aeac3b44062b98267fc1f594c52
@@ -349,6 +407,10 @@ zabbix_export:
name: 'Interface {#IFNAME}({#IFALIAS}): Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
-
uuid: 232019e4163a4e7ebd63876751721824
expression: |
@@ -369,6 +431,10 @@ zabbix_export:
name: 'Interface {#IFNAME}({#IFALIAS}): Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
-
uuid: 9ee9204a4a4044ae82bd0f75299f2a5d
expression: |
@@ -388,6 +454,10 @@ zabbix_export:
name: 'Interface {#IFNAME}({#IFALIAS}): Link down'
expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
recovery_expression: 'last(/Interfaces Windows SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
+ tags:
+ -
+ tag: scope
+ value: performance
graph_prototypes:
-
uuid: a6a274c68cb94f9fac0920858806054b
diff --git a/templates/module/smart_agent2/template_module_smart_agent2.yaml b/templates/module/smart_agent2/template_module_smart_agent2.yaml
index 59a06b944a0..178bcdca14c 100644
--- a/templates/module/smart_agent2/template_module_smart_agent2.yaml
+++ b/templates/module/smart_agent2/template_module_smart_agent2.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T08:28:27Z'
+ date: '2022-01-26T10:32:37Z'
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
@@ -29,8 +29,11 @@ zabbix_export:
value_type: TEXT
tags:
-
- tag: Application
- value: 'Zabbix raw items'
+ tag: component
+ value: raw
+ -
+ tag: component
+ value: storage
discovery_rules:
-
uuid: c5aede547c19434c90f72e43276fe1d7
@@ -61,8 +64,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: 2af3d630a99a4989b94e2afd782a3f78
name: 'SMART [{#NAME}]: ID {#ID} {#ATTRNAME}'
@@ -83,8 +92,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: 686066892ab94b86a97ba1902d361f97
@@ -92,6 +107,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'
@@ -140,8 +159,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: 365f9642f2764116923bb3e014eefa22
name: 'SMART [{#NAME}]: Power on hours'
@@ -163,8 +188,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: 8478d6421fb044339e2118848ac6d56b
name: 'SMART [{#NAME}]: Media errors'
@@ -186,8 +217,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: b6abf9b52c694600b63fce4a68fc0fbd
name: 'SMART [{#NAME}]: Device model'
@@ -210,8 +247,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: 6ce46d274a694eac9700bd02a936f4be
name: 'SMART [{#NAME}]: Percentage used'
@@ -234,14 +277,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: e2bc2b0e195446d7973037be8e41eb6f
expression: 'last(/SMART by Zabbix agent 2/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: 62f98419c8034f389a5be3755eac8938
name: 'SMART [{#NAME}]: Serial number'
@@ -264,8 +317,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: 7257c02f398f4338ace1eb3a07cb7362
@@ -274,6 +333,10 @@ zabbix_export:
priority: INFO
description: 'Device serial number has changed. Ack to close.'
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: notice
-
uuid: 2f5b054d7a644e029a195d17f525c191
name: 'SMART [{#NAME}]: Temperature'
@@ -296,14 +359,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: cd09aebe3ca146119cdf5b977bf6b018
expression: 'avg(/SMART by Zabbix agent 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
+ tags:
+ -
+ tag: scope
+ value: notice
-
uuid: aaa5acb3196b481f894998c0ca5ea165
expression: 'avg(/SMART by Zabbix agent 2/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.WARN}'
@@ -313,6 +386,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/smart.disk.temperature[{#NAME}],5m)>{$SMART.TEMPERATURE.MAX.CRIT}'
+ tags:
+ -
+ tag: scope
+ value: notice
-
uuid: 434b338d88e041dd9b6a0b7aaa403076
name: 'SMART [{#NAME}]: Self-test passed'
@@ -336,14 +413,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: 5fa97df4012e45279fb55724f617ef4a
expression: 'last(/SMART by Zabbix agent 2/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'
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'
diff --git a/templates/module/zabbix_agent/README.md b/templates/module/zabbix_agent/README.md
index be6cc7d5cce..149541016bd 100644
--- a/templates/module/zabbix_agent/README.md
+++ b/templates/module/zabbix_agent/README.md
@@ -30,9 +30,9 @@ There are no template links in this template.
|Group|Name|Description|Type|Key and additional info|
|-----|----|-----------|----|---------------------|
-|Monitoring_agent |Version of Zabbix agent running |<p>-</p> |ZABBIX_PASSIVE |agent.version<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
-|Monitoring_agent |Host name of Zabbix agent running |<p>-</p> |ZABBIX_PASSIVE |agent.hostname<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
-|Monitoring_agent |Zabbix agent ping |<p>The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.</p> |ZABBIX_PASSIVE |agent.ping |
+|Monitoring agent |Version of Zabbix agent running |<p>-</p> |ZABBIX_PASSIVE |agent.version<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|Monitoring agent |Host name of Zabbix agent running |<p>-</p> |ZABBIX_PASSIVE |agent.hostname<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|Monitoring agent |Zabbix agent ping |<p>The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.</p> |ZABBIX_PASSIVE |agent.ping |
|Status |Zabbix agent availability |<p>Monitoring agent availability status</p> |INTERNAL |zabbix[host,agent,available] |
## Triggers
@@ -76,8 +76,8 @@ There are no template links in this template.
|Group|Name|Description|Type|Key and additional info|
|-----|----|-----------|----|---------------------|
-|Monitoring_agent |Version of Zabbix agent running |<p>-</p> |ZABBIX_ACTIVE |agent.version<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
-|Monitoring_agent |Host name of Zabbix agent running |<p>-</p> |ZABBIX_ACTIVE |agent.hostname<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|Monitoring agent |Version of Zabbix agent running |<p>-</p> |ZABBIX_ACTIVE |agent.version<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|Monitoring agent |Host name of Zabbix agent running |<p>-</p> |ZABBIX_ACTIVE |agent.hostname<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
|Status |Zabbix agent ping |<p>The agent always returns 1 for this item. It could be used in combination with nodata() for availability check.</p> |ZABBIX_ACTIVE |agent.ping |
## Triggers
diff --git a/templates/module/zabbix_agent/template_module_zabbix_agent.yaml b/templates/module/zabbix_agent/template_module_zabbix_agent.yaml
index 39e3bc46a40..970966a93d3 100644
--- a/templates/module/zabbix_agent/template_module_zabbix_agent.yaml
+++ b/templates/module/zabbix_agent/template_module_zabbix_agent.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '6.0'
- date: '2021-12-16T08:28:32Z'
+ date: '2022-01-26T10:32:20Z'
groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
@@ -13,7 +13,7 @@ zabbix_export:
description: |
Use this template for agents reachable from Zabbix server/proxy (passive mode).
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -33,8 +33,8 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Monitoring agent'
+ tag: component
+ value: system
-
uuid: 37a952edc12f47d6ac6f3ca04eb41326
name: 'Zabbix agent ping'
@@ -45,8 +45,8 @@ zabbix_export:
name: 'Zabbix agent ping status'
tags:
-
- tag: Application
- value: 'Monitoring agent'
+ tag: component
+ value: system
-
uuid: 3a6af03a083b4366bd1d4c6ccf06ca88
name: 'Version of Zabbix agent running'
@@ -62,8 +62,8 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Monitoring agent'
+ tag: component
+ value: application
-
uuid: 49708b126e3844b898d2625f77c0030c
name: 'Zabbix agent availability'
@@ -75,8 +75,8 @@ zabbix_export:
name: zabbix.host.available
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: system
triggers:
-
uuid: 6767f9c764bb42dfa961baacf879f45c
@@ -85,6 +85,17 @@ zabbix_export:
priority: AVERAGE
description: 'For passive only agents, host availability is used with {$AGENT.TIMEOUT} as time threshold.'
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
+ tags:
+ -
+ tag: class
+ value: software
+ -
+ tag: target
+ value: zabbix-agent
macros:
-
macro: '{$AGENT.TIMEOUT}'
@@ -118,7 +129,7 @@ zabbix_export:
description: |
Use this template instead of 'Template Module Zabbix agent' for agents running in active mode only.
- Template tooling version used: 0.40
+ Template tooling version used: 0.41
groups:
-
name: Templates/Modules
@@ -139,8 +150,8 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Monitoring agent'
+ tag: component
+ value: system
-
uuid: 0f86ec6cde2249f7946c678f9fd2665a
name: 'Zabbix agent ping'
@@ -152,8 +163,8 @@ zabbix_export:
name: 'Zabbix agent ping status'
tags:
-
- tag: Application
- value: Status
+ tag: component
+ value: system
triggers:
-
uuid: 6bbb74c522d44baea8c6ceb666423da2
@@ -162,6 +173,10 @@ zabbix_export:
priority: AVERAGE
description: 'For active agents, nodata() with agent.ping is used with {$AGENT.NODATA_TIMEOUT} as time threshold.'
manual_close: 'YES'
+ tags:
+ -
+ tag: scope
+ value: availability
-
uuid: 41fb0f76fa1d464f8ab67f744fc29e8b
name: 'Version of Zabbix agent running'
@@ -178,8 +193,15 @@ zabbix_export:
- 1d
tags:
-
- tag: Application
- value: 'Monitoring agent'
+ tag: component
+ value: application
+ tags:
+ -
+ tag: class
+ value: software
+ -
+ tag: target
+ value: zabbix-agent
macros:
-
macro: '{$AGENT.NODATA_TIMEOUT}'