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/host_resources_snmp/template_module_host_resources_snmp.yaml')
-rw-r--r--templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml468
1 files changed, 234 insertions, 234 deletions
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 3d212363fe2..b3775a4aca6 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,224 +1,22 @@
zabbix_export:
- version: '6.2'
- date: '2022-06-07T19:36:47Z'
+ version: '6.4'
+ date: '2022-10-27T19:26:06Z'
template_groups:
-
uuid: 57b7ae836ca64446ba2c296389c009b7
name: Templates/Modules
templates:
-
- uuid: b3dd7c4974f442d68c53a79056bc5388
- template: 'HOST-RESOURCES-MIB CPU SNMP'
- name: 'HOST-RESOURCES-MIB CPU SNMP'
- description: |
- Requires Zabbix server 4.0.14, 4.2.8, 4.4.0 or newer (JSONPath function avg() used with types autoconversion).
-
- MIBs used:
- HOST-RESOURCES-MIB
-
- Template tooling version used: 0.41
- groups:
- -
- name: Templates/Modules
- items:
- -
- uuid: 76b66d024509446ea4e7a48439f8d406
- name: 'CPU utilization'
- type: SNMP_AGENT
- snmp_oid: 'discovery[{#CPU.UTIL},1.3.6.1.2.1.25.3.3.1.2]'
- key: system.cpu.util
- history: 7d
- value_type: FLOAT
- units: '%'
- description: |
- MIB: HOST-RESOURCES-MIB
- The average, over the last minute, of the percentage of time that processors was not idle.
- Implementations may approximate this one minute smoothing period if necessary.
- preprocessing:
- -
- type: JSONPATH
- parameters:
- - '$..[''{#CPU.UTIL}''].avg()'
- tags:
- -
- tag: component
- value: cpu
- triggers:
- -
- uuid: bb8b2193ed4c437284d569a38f500367
- expression: 'min(/HOST-RESOURCES-MIB CPU SNMP/system.cpu.util,5m)>{$CPU.UTIL.CRIT}'
- name: 'High CPU utilization'
- event_name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
- 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}'
- value: '90'
- -
- uuid: a2718bb9168a451fae8fc97486176943
- template: 'HOST-RESOURCES-MIB memory SNMP'
- name: 'HOST-RESOURCES-MIB memory SNMP'
- description: |
- MIBs used:
- HOST-RESOURCES-MIB
-
- Template tooling version used: 0.41
- groups:
- -
- name: Templates/Modules
- discovery_rules:
- -
- uuid: 232e52a9b3df42f2b539c5924edc20c8
- name: 'Memory discovery'
- type: SNMP_AGENT
- snmp_oid: 'discovery[{#MEMNAME},1.3.6.1.2.1.25.2.3.1.3,{#MEMTYPE},1.3.6.1.2.1.25.2.3.1.2,{#ALLOC_UNITS},1.3.6.1.2.1.25.2.3.1.4]'
- key: vm.memory.discovery
- delay: 1h
- filter:
- evaltype: AND
- conditions:
- -
- macro: '{#MEMTYPE}'
- value: '{$MEMORY.TYPE.MATCHES}'
- formulaid: C
- -
- macro: '{#MEMTYPE}'
- value: '{$MEMORY.TYPE.NOT_MATCHES}'
- operator: NOT_MATCHES_REGEX
- formulaid: D
- -
- macro: '{#MEMNAME}'
- value: '{$MEMORY.NAME.MATCHES}'
- formulaid: A
- -
- macro: '{#MEMNAME}'
- value: '{$MEMORY.NAME.NOT_MATCHES}'
- operator: NOT_MATCHES_REGEX
- formulaid: B
- description: 'HOST-RESOURCES-MIB::hrStorage discovery with memory filter'
- item_prototypes:
- -
- uuid: 03d6c47431e74cd8b1d9faf95e9bc756
- name: '{#MEMNAME}: Total memory'
- type: SNMP_AGENT
- snmp_oid: '1.3.6.1.2.1.25.2.3.1.5.{#SNMPINDEX}'
- key: 'vm.memory.total[hrStorageSize.{#SNMPINDEX}]'
- history: 7d
- units: B
- description: |
- MIB: HOST-RESOURCES-MIB
- The size of the storage represented by this entry, in units of hrStorageAllocationUnits.
- This object is writable to allow remote configuration of the size of the storage area in those cases where such an operation makes sense and is possible on the underlying system.
- For example, the amount of main memory allocated to a buffer pool might be modified or the amount of disk space allocated to virtual memory might be modified.
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '{#ALLOC_UNITS}'
- tags:
- -
- tag: component
- value: memory
- -
- uuid: f5b701faf10d40d596d04e1d921861f9
- name: '{#MEMNAME}: Used memory'
- type: SNMP_AGENT
- snmp_oid: '1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}'
- key: 'vm.memory.used[hrStorageUsed.{#SNMPINDEX}]'
- history: 7d
- units: B
- description: |
- MIB: HOST-RESOURCES-MIB
- The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.
- preprocessing:
- -
- type: MULTIPLIER
- parameters:
- - '{#ALLOC_UNITS}'
- tags:
- -
- tag: component
- value: memory
- -
- uuid: 99961a81ae4a474ea157f108c8014c77
- name: '{#MEMNAME}: Memory utilization'
- type: CALCULATED
- key: 'vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}]'
- history: 7d
- value_type: FLOAT
- units: '%'
- params: 'last(//vm.memory.used[hrStorageUsed.{#SNMPINDEX}])/last(//vm.memory.total[hrStorageSize.{#SNMPINDEX}])*100'
- description: 'Memory utilization in %.'
- tags:
- -
- tag: component
- value: memory
- trigger_prototypes:
- -
- uuid: fb87fa900e404e2ba53fa5769fecc511
- expression: 'min(/HOST-RESOURCES-MIB memory SNMP/vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
- name: '{#MEMNAME}: High memory utilization'
- event_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
- name: '{#MEMNAME}: Memory utilization'
- ymin_type_1: FIXED
- ymax_type_1: FIXED
- graph_items:
- -
- drawtype: GRADIENT_LINE
- color: 1A7C11
- item:
- host: 'HOST-RESOURCES-MIB memory SNMP'
- key: 'vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}]'
- macros:
- -
- macro: '{$MEMORY.NAME.MATCHES}'
- value: '.*'
- description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level.'
- -
- macro: '{$MEMORY.NAME.NOT_MATCHES}'
- value: CHANGE_IF_NEEDED
- description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level if you need to filter out results.'
- -
- macro: '{$MEMORY.TYPE.MATCHES}'
- value: '.*(\.2|hrStorageRam)$'
- description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level.'
- -
- macro: '{$MEMORY.TYPE.NOT_MATCHES}'
- value: CHANGE_IF_NEEDED
- description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level if you need to filter out results.'
- -
- macro: '{$MEMORY.UTIL.MAX}'
- value: '90'
- description: 'The warning threshold of the "Physical memory: Memory utilization" item.'
- -
uuid: 5c70662d333246668444276cb011e646
- template: 'HOST-RESOURCES-MIB SNMP'
- name: 'HOST-RESOURCES-MIB SNMP'
+ template: 'HOST-RESOURCES-MIB by SNMP'
+ name: 'HOST-RESOURCES-MIB by SNMP'
description: |
HOST-RESOURCES-MIB: CPU, memory and storage(vfs.fs.file) linked together.
MIBs used:
HOST-RESOURCES-MIB
- Template tooling version used: 0.41
+ Template tooling version used: 0.42
groups:
-
name: Templates/Modules
@@ -248,7 +46,7 @@ zabbix_export:
triggers:
-
uuid: d1b02854c6cd473090735eabfbd4d908
- expression: 'min(/HOST-RESOURCES-MIB SNMP/system.cpu.util,5m)>{$CPU.UTIL.CRIT}'
+ expression: 'min(/HOST-RESOURCES-MIB by SNMP/system.cpu.util,5m)>{$CPU.UTIL.CRIT}'
name: 'High CPU utilization'
event_name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
@@ -358,8 +156,8 @@ zabbix_export:
-
uuid: 8283f8b8663f444aad85633010615c15
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}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
+ ((last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
name: '{#FSNAME}: Disk space is critically low'
event_name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)'
opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
@@ -380,8 +178,8 @@ zabbix_export:
-
uuid: 2d9c475d718b4c2ba14b129f66014f75
expression: |
- last(/HOST-RESOURCES-MIB SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and
- ((last(/HOST-RESOURCES-MIB SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and
+ ((last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
name: '{#FSNAME}: Disk space is low'
event_name: '{#FSNAME}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}%)'
opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
@@ -396,8 +194,8 @@ zabbix_export:
-
name: '{#FSNAME}: Disk space is critically low'
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}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
+ ((last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB by SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
tags:
-
tag: scope
@@ -419,14 +217,14 @@ zabbix_export:
calc_fnc: LAST
type: GRAPH_SUM
item:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]'
-
sortorder: '1'
color: C80000
calc_fnc: LAST
item:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
key: 'vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]'
-
uuid: 16739aff044f4479a33e9157759e2980
@@ -517,7 +315,7 @@ zabbix_export:
trigger_prototypes:
-
uuid: 730a76bd19a24a55be24f72175251046
- expression: 'min(/HOST-RESOURCES-MIB SNMP/vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
+ expression: 'min(/HOST-RESOURCES-MIB by SNMP/vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
name: '{#MEMNAME}: High memory utilization'
event_name: '{#MEMNAME}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
@@ -540,7 +338,7 @@ zabbix_export:
drawtype: GRADIENT_LINE
color: 1A7C11
item:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
key: 'vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}]'
macros:
-
@@ -616,7 +414,7 @@ zabbix_export:
type: GRAPH
name: graphid
value:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
name: 'CPU utilization'
-
type: GRAPH_PROTOTYPE
@@ -640,7 +438,7 @@ zabbix_export:
type: GRAPH_PROTOTYPE
name: graphid
value:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
name: '{#MEMNAME}: Memory utilization'
-
type: GRAPH_PROTOTYPE
@@ -664,17 +462,219 @@ zabbix_export:
type: GRAPH_PROTOTYPE
name: graphid
value:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
name: '{#FSNAME}: Disk space usage'
-
+ uuid: b3dd7c4974f442d68c53a79056bc5388
+ template: 'HOST-RESOURCES-MIB CPU by SNMP'
+ name: 'HOST-RESOURCES-MIB CPU by SNMP'
+ description: |
+ Requires Zabbix server 4.0.14, 4.2.8, 4.4.0 or newer (JSONPath function avg() used with types autoconversion).
+
+ MIBs used:
+ HOST-RESOURCES-MIB
+
+ Template tooling version used: 0.42
+ groups:
+ -
+ name: Templates/Modules
+ items:
+ -
+ uuid: 76b66d024509446ea4e7a48439f8d406
+ name: 'CPU utilization'
+ type: SNMP_AGENT
+ snmp_oid: 'discovery[{#CPU.UTIL},1.3.6.1.2.1.25.3.3.1.2]'
+ key: system.cpu.util
+ history: 7d
+ value_type: FLOAT
+ units: '%'
+ description: |
+ MIB: HOST-RESOURCES-MIB
+ The average, over the last minute, of the percentage of time that processors was not idle.
+ Implementations may approximate this one minute smoothing period if necessary.
+ preprocessing:
+ -
+ type: JSONPATH
+ parameters:
+ - '$..[''{#CPU.UTIL}''].avg()'
+ tags:
+ -
+ tag: component
+ value: cpu
+ triggers:
+ -
+ uuid: bb8b2193ed4c437284d569a38f500367
+ expression: 'min(/HOST-RESOURCES-MIB CPU by SNMP/system.cpu.util,5m)>{$CPU.UTIL.CRIT}'
+ name: 'High CPU utilization'
+ event_name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
+ 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}'
+ value: '90'
+ -
+ uuid: a2718bb9168a451fae8fc97486176943
+ template: 'HOST-RESOURCES-MIB memory by SNMP'
+ name: 'HOST-RESOURCES-MIB memory by SNMP'
+ description: |
+ MIBs used:
+ HOST-RESOURCES-MIB
+
+ Template tooling version used: 0.42
+ groups:
+ -
+ name: Templates/Modules
+ discovery_rules:
+ -
+ uuid: 232e52a9b3df42f2b539c5924edc20c8
+ name: 'Memory discovery'
+ type: SNMP_AGENT
+ snmp_oid: 'discovery[{#MEMNAME},1.3.6.1.2.1.25.2.3.1.3,{#MEMTYPE},1.3.6.1.2.1.25.2.3.1.2,{#ALLOC_UNITS},1.3.6.1.2.1.25.2.3.1.4]'
+ key: vm.memory.discovery
+ delay: 1h
+ filter:
+ evaltype: AND
+ conditions:
+ -
+ macro: '{#MEMTYPE}'
+ value: '{$MEMORY.TYPE.MATCHES}'
+ formulaid: C
+ -
+ macro: '{#MEMTYPE}'
+ value: '{$MEMORY.TYPE.NOT_MATCHES}'
+ operator: NOT_MATCHES_REGEX
+ formulaid: D
+ -
+ macro: '{#MEMNAME}'
+ value: '{$MEMORY.NAME.MATCHES}'
+ formulaid: A
+ -
+ macro: '{#MEMNAME}'
+ value: '{$MEMORY.NAME.NOT_MATCHES}'
+ operator: NOT_MATCHES_REGEX
+ formulaid: B
+ description: 'HOST-RESOURCES-MIB::hrStorage discovery with memory filter'
+ item_prototypes:
+ -
+ uuid: 03d6c47431e74cd8b1d9faf95e9bc756
+ name: '{#MEMNAME}: Total memory'
+ type: SNMP_AGENT
+ snmp_oid: '1.3.6.1.2.1.25.2.3.1.5.{#SNMPINDEX}'
+ key: 'vm.memory.total[hrStorageSize.{#SNMPINDEX}]'
+ history: 7d
+ units: B
+ description: |
+ MIB: HOST-RESOURCES-MIB
+ The size of the storage represented by this entry, in units of hrStorageAllocationUnits.
+ This object is writable to allow remote configuration of the size of the storage area in those cases where such an operation makes sense and is possible on the underlying system.
+ For example, the amount of main memory allocated to a buffer pool might be modified or the amount of disk space allocated to virtual memory might be modified.
+ preprocessing:
+ -
+ type: MULTIPLIER
+ parameters:
+ - '{#ALLOC_UNITS}'
+ tags:
+ -
+ tag: component
+ value: memory
+ -
+ uuid: f5b701faf10d40d596d04e1d921861f9
+ name: '{#MEMNAME}: Used memory'
+ type: SNMP_AGENT
+ snmp_oid: '1.3.6.1.2.1.25.2.3.1.6.{#SNMPINDEX}'
+ key: 'vm.memory.used[hrStorageUsed.{#SNMPINDEX}]'
+ history: 7d
+ units: B
+ description: |
+ MIB: HOST-RESOURCES-MIB
+ The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.
+ preprocessing:
+ -
+ type: MULTIPLIER
+ parameters:
+ - '{#ALLOC_UNITS}'
+ tags:
+ -
+ tag: component
+ value: memory
+ -
+ uuid: 99961a81ae4a474ea157f108c8014c77
+ name: '{#MEMNAME}: Memory utilization'
+ type: CALCULATED
+ key: 'vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}]'
+ history: 7d
+ value_type: FLOAT
+ units: '%'
+ params: 'last(//vm.memory.used[hrStorageUsed.{#SNMPINDEX}])/last(//vm.memory.total[hrStorageSize.{#SNMPINDEX}])*100'
+ description: 'Memory utilization in %.'
+ tags:
+ -
+ tag: component
+ value: memory
+ trigger_prototypes:
+ -
+ uuid: fb87fa900e404e2ba53fa5769fecc511
+ expression: 'min(/HOST-RESOURCES-MIB memory by SNMP/vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
+ name: '{#MEMNAME}: High memory utilization'
+ event_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
+ name: '{#MEMNAME}: Memory utilization'
+ ymin_type_1: FIXED
+ ymax_type_1: FIXED
+ graph_items:
+ -
+ drawtype: GRADIENT_LINE
+ color: 1A7C11
+ item:
+ host: 'HOST-RESOURCES-MIB memory by SNMP'
+ key: 'vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}]'
+ macros:
+ -
+ macro: '{$MEMORY.NAME.MATCHES}'
+ value: '.*'
+ description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level.'
+ -
+ macro: '{$MEMORY.NAME.NOT_MATCHES}'
+ value: CHANGE_IF_NEEDED
+ description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level if you need to filter out results.'
+ -
+ macro: '{$MEMORY.TYPE.MATCHES}'
+ value: '.*(\.2|hrStorageRam)$'
+ description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level.'
+ -
+ macro: '{$MEMORY.TYPE.NOT_MATCHES}'
+ value: CHANGE_IF_NEEDED
+ description: 'This macro is used in memory discovery. Can be overridden on the host or linked template level if you need to filter out results.'
+ -
+ macro: '{$MEMORY.UTIL.MAX}'
+ value: '90'
+ description: 'The warning threshold of the "Physical memory: Memory utilization" item.'
+ -
uuid: f6572ac29240452596e9f7b2a7ebb408
- template: 'HOST-RESOURCES-MIB storage SNMP'
- name: 'HOST-RESOURCES-MIB storage SNMP'
+ template: 'HOST-RESOURCES-MIB storage by SNMP'
+ name: 'HOST-RESOURCES-MIB storage by SNMP'
description: |
MIBs used:
HOST-RESOURCES-MIB
- Template tooling version used: 0.41
+ Template tooling version used: 0.42
groups:
-
name: Templates/Modules
@@ -778,8 +778,8 @@ zabbix_export:
-
uuid: 9fbb4a0ceeba4c9e935f54610d5f1afb
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}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
+ ((last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
name: '{#FSNAME}: Disk space is critically low'
event_name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)'
opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
@@ -800,8 +800,8 @@ zabbix_export:
-
uuid: 5db5f43d1c3b4b1f91bef16ec1090945
expression: |
- last(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and
- ((last(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and
+ ((last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
name: '{#FSNAME}: Disk space is low'
event_name: '{#FSNAME}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}%)'
opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
@@ -816,8 +816,8 @@ zabbix_export:
-
name: '{#FSNAME}: Disk space is critically low'
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}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB storage SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
+ ((last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/HOST-RESOURCES-MIB storage by SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
tags:
-
tag: scope
@@ -839,14 +839,14 @@ zabbix_export:
calc_fnc: LAST
type: GRAPH_SUM
item:
- host: 'HOST-RESOURCES-MIB storage SNMP'
+ host: 'HOST-RESOURCES-MIB storage by SNMP'
key: 'vfs.fs.total[hrStorageSize.{#SNMPINDEX}]'
-
sortorder: '1'
color: C80000
calc_fnc: LAST
item:
- host: 'HOST-RESOURCES-MIB storage SNMP'
+ host: 'HOST-RESOURCES-MIB storage by SNMP'
key: 'vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]'
macros:
-
@@ -890,7 +890,7 @@ zabbix_export:
drawtype: GRADIENT_LINE
color: 1A7C11
item:
- host: 'HOST-RESOURCES-MIB SNMP'
+ host: 'HOST-RESOURCES-MIB by SNMP'
key: system.cpu.util
-
uuid: fe501ac6688d4165a645ef804644cf93
@@ -902,5 +902,5 @@ zabbix_export:
drawtype: GRADIENT_LINE
color: 1A7C11
item:
- host: 'HOST-RESOURCES-MIB CPU SNMP'
+ host: 'HOST-RESOURCES-MIB CPU by SNMP'
key: system.cpu.util