diff options
Diffstat (limited to 'templates/module/windows_agent/template_module_windows_agent.yaml')
-rw-r--r-- | templates/module/windows_agent/template_module_windows_agent.yaml | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/templates/module/windows_agent/template_module_windows_agent.yaml b/templates/module/windows_agent/template_module_windows_agent.yaml index 9199ea6e4aa..1c6a6f248ea 100644 --- a/templates/module/windows_agent/template_module_windows_agent.yaml +++ b/templates/module/windows_agent/template_module_windows_agent.yaml @@ -1,10 +1,10 @@ zabbix_export: version: '6.0' - date: '2022-03-15T06:24:07Z' + date: '2022-04-08T09:22:42Z' groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 - name: Templates/Modules + name: Modules templates: - uuid: e358504d59404f688e236444dd82d2c3 @@ -13,7 +13,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: 8362346c013546f39f8140061f7b3f01 @@ -153,7 +153,7 @@ zabbix_export: history: 7d value_type: FLOAT units: '%' - description: 'CPU utilization in %' + description: 'CPU utilization in %.' tags: - tag: component @@ -204,7 +204,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules discovery_rules: - uuid: f603eb3367ad4326a1f1ec7b9c14c07a @@ -291,14 +291,14 @@ zabbix_export: uuid: 68544e02e3cc4d389269448f34ca66e1 expression: | last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and - ((last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) name: '{#FSLABEL}({#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: @@ -309,14 +309,14 @@ zabbix_export: uuid: ba0e859e58c34107a792098cfe9d31a4 expression: | last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and - ((last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<10G or timeleft(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) name: '{#FSLABEL}({#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: @@ -324,7 +324,7 @@ zabbix_export: name: '{#FSLABEL}({#FSNAME}): Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)' expression: | last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and - ((last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},total])-last(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Windows filesystems by Zabbix agent/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) tags: - tag: scope @@ -354,6 +354,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.FSDRIVETYPE.MATCHES}' value: fixed description: 'This macro is used in filesystems discovery. Can be overridden on the host or linked template level.' @@ -392,7 +400,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: 1245fca060fb424897387d56d29fe030 @@ -541,7 +549,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: dbbd157ca9464e858bcfbf9a88cac775 @@ -719,7 +727,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 @@ -730,7 +738,7 @@ zabbix_export: key: 'vm.memory.size[used]' history: 7d units: B - description: 'Used memory in Bytes' + description: 'Used memory in Bytes.' tags: - tag: component @@ -744,7 +752,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.size[used]) / last(//vm.memory.size[total]) * 100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -787,7 +795,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules items: - uuid: 52d75ac9adc347959053860a7e0ac199 @@ -1404,7 +1412,7 @@ zabbix_export: description: 'Template tooling version used: 0.41' groups: - - name: Templates/Modules + name: Modules discovery_rules: - uuid: d03f20ec394e4725a5dfdceecb79c8bd @@ -1692,7 +1700,7 @@ zabbix_export: Template tooling version used: 0.41 groups: - - name: Templates/Modules + name: Modules discovery_rules: - uuid: d4fb5efff5494013b452e5a47ac265f5 |