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/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml')
-rw-r--r--templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml40
1 files changed, 24 insertions, 16 deletions
diff --git a/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml b/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml
index b83e3ef3b2c..7b7a307b89f 100644
--- a/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml
+++ b/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml
@@ -1,10 +1,10 @@
zabbix_export:
version: '6.0'
- date: '2022-03-04T11:23:05Z'
+ date: '2022-04-10T20:21:14Z'
groups:
-
uuid: 846977d1dfed4968bc5f8bdb363285bc
- name: 'Templates/Operating systems'
+ name: 'Operating systems'
templates:
-
uuid: 4d3a7adbb6964bd08f2b9d28e0da6496
@@ -26,7 +26,7 @@ zabbix_export:
Template tooling version used: 0.41
groups:
-
- name: 'Templates/Operating systems'
+ name: 'Operating systems'
items:
-
uuid: 28f98683b9af4558813287cfa151719b
@@ -452,7 +452,7 @@ zabbix_export:
expression: 'last(/Linux SNMP/system.uptime[sysUpTime.0])<10m'
name: '{HOST.NAME} has been restarted (uptime < 10m)'
priority: WARNING
- description: 'Uptime is less than 10 minutes'
+ description: 'Uptime is less than 10 minutes.'
manual_close: 'YES'
dependencies:
-
@@ -485,7 +485,7 @@ zabbix_export:
units: B
description: |
MIB: UCD-SNMP-MIB
- Memory used by kernel buffers (Buffers in /proc/meminfo)
+ Memory used by kernel buffers (Buffers in /proc/meminfo).
preprocessing:
-
type: MULTIPLIER
@@ -505,7 +505,7 @@ zabbix_export:
units: B
description: |
MIB: UCD-SNMP-MIB
- Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo)
+ Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo).
preprocessing:
-
type: MULTIPLIER
@@ -543,7 +543,7 @@ zabbix_export:
units: B
description: |
MIB: UCD-SNMP-MIB
- Total memory in Bytes
+ Total memory in Bytes.
preprocessing:
-
type: MULTIPLIER
@@ -642,7 +642,7 @@ zabbix_export:
units: '%'
description: |
MIB: UCD-SNMP-MIB
- Guest time (time spent running a virtual CPU for a guest operating system)
+ Guest time (time spent running a virtual CPU for a guest operating system).
preprocessing:
-
type: CHANGE_PER_SECOND
@@ -669,7 +669,7 @@ zabbix_export:
units: '%'
description: |
MIB: UCD-SNMP-MIB
- Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel)
+ Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel).
preprocessing:
-
type: CHANGE_PER_SECOND
@@ -910,7 +910,7 @@ zabbix_export:
history: 7d
value_type: FLOAT
units: '%'
- description: 'CPU utilization in %'
+ description: 'CPU utilization in %.'
preprocessing:
-
type: JAVASCRIPT
@@ -1861,14 +1861,14 @@ zabbix_export:
uuid: 4e84d5b0e3bb4729a6eabd5882d2d603
expression: |
last(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
- ((last(/Linux SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Linux SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<5G or timeleft(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ ((last(/Linux SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Linux SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)'
opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
priority: AVERAGE
description: |
Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}.
Second condition should be one of the following:
- - The disk free space is less than 5G.
+ - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"}.
- The disk will be full in less than 24 hours.
manual_close: 'YES'
tags:
@@ -1882,14 +1882,14 @@ zabbix_export:
uuid: 210ae86feef14fa0a82c97331e522937
expression: |
last(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and
- ((last(/Linux SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Linux SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<10G or timeleft(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ ((last(/Linux SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Linux SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
name: '{#FSNAME}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}%)'
opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})'
priority: WARNING
description: |
Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}.
Second condition should be one of the following:
- - The disk free space is less than 10G.
+ - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"}.
- The disk will be full in less than 24 hours.
manual_close: 'YES'
dependencies:
@@ -1897,7 +1897,7 @@ zabbix_export:
name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)'
expression: |
last(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and
- ((last(/Linux SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Linux SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<5G or timeleft(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
+ ((last(/Linux SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Linux SNMP/vfs.fs.used[hrStorageUsed.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Linux SNMP/vfs.fs.pused[storageUsedPercentage.{#SNMPINDEX}],1h,100)<1d)
tags:
-
tag: scope
@@ -2019,6 +2019,14 @@ zabbix_export:
value: '^(loop[0-9]*|sd[a-z][0-9]+|nbd[0-9]+|sr[0-9]+|fd[0-9]+|dm-[0-9]+|ram[0-9]+|ploop[a-z0-9]+|md[0-9]*|hcp[0-9]*|zram[0-9]*)'
description: 'This macro is used in block devices discovery. Can be overridden on the host or linked template level'
-
+ macro: '{$VFS.FS.FREE.MIN.CRIT}'
+ value: 5G
+ description: 'The critical threshold of the filesystem utilization.'
+ -
+ macro: '{$VFS.FS.FREE.MIN.WARN}'
+ value: 10G
+ description: 'The warning threshold of the filesystem utilization.'
+ -
macro: '{$VFS.FS.FSNAME.MATCHES}'
value: .+
description: 'This macro is used in filesystems discovery. Can be overridden on the host or linked template level'
@@ -3178,7 +3186,7 @@ zabbix_export:
name: 'High swap space usage (less than {$SWAP.PFREE.MIN.WARN}% free)'
opdata: 'Free: {ITEM.LASTVALUE1}, total: {ITEM.LASTVALUE2}'
priority: WARNING
- description: 'This trigger is ignored, if there is no swap configured'
+ description: 'This trigger is ignored, if there is no swap configured.'
dependencies:
-
name: 'High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'