diff options
Diffstat (limited to 'templates/module/linux/template_module_linux.yaml')
-rw-r--r-- | templates/module/linux/template_module_linux.yaml | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/templates/module/linux/template_module_linux.yaml b/templates/module/linux/template_module_linux.yaml index 5dfdfdf960c..ff49412c5c7 100644 --- a/templates/module/linux/template_module_linux.yaml +++ b/templates/module/linux/template_module_linux.yaml @@ -1,10 +1,10 @@ zabbix_export: version: '6.0' - date: '2022-03-04T11:16:55Z' + date: '2022-04-10T20:20:08Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 - name: Templates/Modules + name: Modules templates: - uuid: 45486dbbf5bf49f28866fcb212731cf0 @@ -13,7 +13,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules discovery_rules: - uuid: 4f3743bbc7ca4da89f833b72eb9e23b7 @@ -360,7 +360,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: c0c12ca155b042b2b5f33d9ced5f1cd2 @@ -445,7 +445,7 @@ zabbix_export: history: 7d value_type: FLOAT units: '%' - description: 'CPU utilization in %' + description: 'CPU utilization in %.' preprocessing: - type: JAVASCRIPT @@ -485,7 +485,7 @@ zabbix_export: history: 7d value_type: FLOAT units: '%' - description: 'Guest time (time spent running a virtual CPU for a guest operating system)' + description: 'Guest time (time spent running a virtual CPU for a guest operating system).' tags: - tag: component @@ -497,7 +497,7 @@ zabbix_export: history: 7d value_type: FLOAT units: '%' - description: 'Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel)' + description: 'Time spent running a niced guest (virtual CPU for guest operating systems under the control of the Linux kernel).' tags: - tag: component @@ -613,7 +613,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules discovery_rules: - uuid: 1ec7965ad995437da2dc1f94749f3230 @@ -742,14 +742,14 @@ zabbix_export: uuid: fb410c10bd59476dbe58e1ee179cd25f expression: | last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and - ((last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],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: @@ -763,14 +763,14 @@ zabbix_export: uuid: d66583735eb04973ac30d923533c4b0f expression: | last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and - ((last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<10G or timeleft(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],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: @@ -778,7 +778,7 @@ zabbix_export: name: '{#FSNAME}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)' expression: | last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and - ((last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Linux filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) tags: - tag: scope @@ -811,6 +811,14 @@ zabbix_export: key: 'vfs.fs.size[{#FSNAME},used]' macros: - + 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' @@ -845,7 +853,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: 5dc4ebda1b9244e7a9f901209b78570f @@ -1171,7 +1179,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: e65616ce708743a6a7b8fea2ec89620b @@ -1245,7 +1253,7 @@ zabbix_export: key: 'vm.memory.size[total]' history: 7d units: B - description: 'Total memory in Bytes' + description: 'Total memory in Bytes.' tags: - tag: component @@ -1308,7 +1316,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules discovery_rules: - uuid: aea284394a914ede923d0004369184cf @@ -1978,7 +1986,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)' |