diff options
Diffstat (limited to 'templates/os/windows_agent_active/template_os_windows_agent_active.yaml')
-rw-r--r-- | templates/os/windows_agent_active/template_os_windows_agent_active.yaml | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/templates/os/windows_agent_active/template_os_windows_agent_active.yaml b/templates/os/windows_agent_active/template_os_windows_agent_active.yaml index 688106320de..6f37cbdfce3 100644 --- a/templates/os/windows_agent_active/template_os_windows_agent_active.yaml +++ b/templates/os/windows_agent_active/template_os_windows_agent_active.yaml @@ -1,10 +1,10 @@ zabbix_export: version: '6.0' - date: '2022-03-15T06:24:32Z' + date: '2022-04-08T09:23:07Z' groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc - name: 'Templates/Operating systems' + name: 'Operating systems' templates: - uuid: 5fdd2ca8b8f84962aaea5a218b46ea7d @@ -19,7 +19,7 @@ zabbix_export: Template tooling version used: 0.41 groups: - - name: 'Templates/Operating systems' + name: 'Operating systems' items: - uuid: 042ce35b908748c8bdd322f818c52c85 @@ -371,7 +371,7 @@ zabbix_export: history: 7d value_type: FLOAT units: '%' - description: 'CPU utilization in %' + description: 'CPU utilization in %.' tags: - tag: component @@ -570,7 +570,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 @@ -582,7 +582,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 @@ -596,7 +596,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 @@ -1498,14 +1498,14 @@ zabbix_export: uuid: 5bed682545044584852888d96454df86 expression: | last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and - ((last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},total])-last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},total])-last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Windows by Zabbix agent active/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: @@ -1516,14 +1516,14 @@ zabbix_export: uuid: 1e5e9718c5a14099b9421ff7956b2f33 expression: | last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} and - ((last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},total])-last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},used]))<10G or timeleft(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},total])-last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.WARN:"{#FSNAME}"} or timeleft(/Windows by Zabbix agent active/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: @@ -1531,7 +1531,7 @@ zabbix_export: name: '{#FSLABEL}({#FSNAME}): Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}%)' expression: | last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused])>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} and - ((last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},total])-last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},used]))<5G or timeleft(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) + ((last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},total])-last(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},used]))<{$VFS.FS.FREE.MIN.CRIT:"{#FSNAME}"} or timeleft(/Windows by Zabbix agent active/vfs.fs.size[{#FSNAME},pused],1h,100)<1d) tags: - tag: scope @@ -1677,6 +1677,14 @@ zabbix_export: value: '0.02' description: 'Disk write average response time (in s) before the trigger would fire.' - + 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.' |