Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Commit f52763c

Browse files
committed
Merged branch 'windows'
2 parents bd9db68 + bacd1cc commit f52763c

File tree

53 files changed

+612
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+612
-435
lines changed

in/linux/template_os_linux.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@
539539
"_documentation": {
540540
"_issues": [
541541
{
542-
"description": "High interface utilization trigger is removed, since current it is not possible to retrieve interface speed to determine the max bandwidth."
542+
"description": "High interface utilization trigger is removed since currently it is not possible to retrieve interface speed to determine the max bandwidth."
543543
}
544544
]
545545
},
@@ -857,7 +857,7 @@
857857
"Template Module Linux network interfaces by Zabbix agent"
858858
],
859859
"_documentation": {
860-
"_setup": "Install Zabbix agent to Linux OS according to Zabbix documentation.",
860+
"_setup": "Install Zabbix agent on Linux OS according to Zabbix documentation.",
861861
"_issues": [
862862
{
863863
"description": "Network discovery. Zabbix agent as of 4.2 doesn't support items such as net.if.status, net.if.speed."

in/linux/template_os_linux_prom.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"_issues": [
1616
{
1717
"version": "below 0.16.0",
18-
"description": "node_exporter v0.16.0 renamed many metrics. CPU utilisation for 'guest' and 'guest_nice' metrics are not supported in this template with node_exporter < 0.16. Disk IO metrics are not supported. Other metrics provided as 'best effort'. \n See https://github.com/prometheus/node_exporter/releases/tag/v0.16.0 for details."
18+
"description": "node_exporter v0.16.0 renamed many metrics. CPU utilization for 'guest' and 'guest_nice' metrics are not supported in this template with node_exporter < 0.16. Disk IO metrics are not supported. Other metrics provided as 'best effort'. \n See https://github.com/prometheus/node_exporter/releases/tag/v0.16.0 for details."
1919
},
2020
{
2121
"version": "below 0.18",

in/template_module_interfaces_win.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ templates:
3232
value: "^6$"
3333
_description: Ignore notPresent(6)
3434
- macro: "{$NET.IF.IFADMINSTATUS.MATCHES}"
35-
value: "^.*"
36-
_description: Ignore notPresent(6)
35+
value: "^.*$"
3736
- macro: "{$NET.IF.IFADMINSTATUS.NOT_MATCHES}"
3837
value: "^2$"
3938
_description: Ignore down(2) administrative status
4039
- macro: "{$NET.IF.IFDESCR.MATCHES}"
4140
value: ".*"
4241
- macro: "{$NET.IF.IFDESCR.NOT_MATCHES}"
43-
value: "CHANGE_IF_NEEDED"
42+
value: "Miniport|Virtual|Teredo|Kernel|Loopback|Bluetooth|HTTPS|6to4|QoS|Layer|isatap|ISATAP"
4443
- macro: "{$NET.IF.IFALIAS.MATCHES}"
4544
value: ".*"
4645
- macro: "{$NET.IF.IFALIAS.NOT_MATCHES}"

in/windows/template_os_windows_agent.yaml

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ templates:
1717
- macro: "{$CPU.QUEUE.CRIT.MAX}"
1818
_description: The threshold of the Processor Queue Length counter.
1919
value: "3"
20+
- macro: "{$CPU.UTIL.CRIT}"
21+
_description: The critical threshold of the CPU utilization in %.
22+
value: "90"
2023
# - macro: "{$CPU.NUMBER.MATCHES}"
2124
# _description: CPU index or number of CPU/CPU core.
2225
# value: ^.+$
@@ -161,7 +164,7 @@ templates:
161164
- trigger.cpu.high
162165
# - _id: system.cpu.util.avg
163166
# _group: "CPU"
164-
# name: CPU utilisation, in %
167+
# name: CPU utilization, in %
165168
# type: CALCULATED
166169
# params: "( last(system.cpu.util[0]) +
167170
# last(system.cpu.util[1]) +
@@ -384,6 +387,12 @@ templates:
384387
- macro: "{$VFS.FS.FSDRIVETYPE.NOT_MATCHES}"
385388
value: "^\\s$"
386389
_description: "This macro is used in filesystems discovery. Can be overridden on the host or linked template level."
390+
- macro: "{$VFS.FS.PUSED.MAX.CRIT}"
391+
_description: "The critical threshold of the filesystem utilization in percent."
392+
value: "90"
393+
- macro: "{$VFS.FS.PUSED.MAX.WARN}"
394+
_description: "The warning threshold of the filesystem utilization in percent."
395+
value: "80"
387396
discovery_rules:
388397
- name: "Mounted filesystem discovery"
389398
key: "vfs.fs.discovery"
@@ -442,10 +451,13 @@ templates:
442451
- ZABBIX_ACTIVE
443452
macros:
444453
- macro: "{$VFS.DEV.DEVNAME.MATCHES}"
454+
_description: "This macro is used in physical disks discovery. Can be overridden on the host or linked template level."
445455
value: ".*"
446456
- macro: "{$VFS.DEV.DEVNAME.NOT_MATCHES}"
457+
_description: "This macro is used in physical disks discovery. Can be overridden on the host or linked template level."
447458
value: "_Total"
448459
- macro: "{$VFS.DEV.UTIL.MAX.WARN}"
460+
_description: "The warning threshold of disk time utilization in percent."
449461
value: "95"
450462
items:
451463
- _id: vfs.dev.get
@@ -456,8 +468,10 @@ templates:
456468
value_type: TEXT
457469
delay: "1m"
458470
history: "1h"
471+
description: "Raw data of win32_perfformatteddata_perfdisk_physicaldisk."
459472
discovery_rules:
460473
- name: Physical disks discovery
474+
description: "Discovery of installed physical disks."
461475
# key: net.if.discovery
462476
type: DEPENDENT
463477
key: "vfs.dev.discovery"
@@ -544,6 +558,7 @@ templates:
544558
- ZABBIX_ACTIVE
545559
macros:
546560
- macro: "{$SYSTEM.FUZZYTIME.MAX}"
561+
_description: "The threshold for difference of system time in seconds."
547562
value: "60"
548563
items:
549564
- _prototype: "system.uptime"
@@ -580,6 +595,7 @@ templates:
580595
name: Number of processes
581596
type: ZABBIX_PASSIVE
582597
key: proc.num[]
598+
description: "The number of processes."
583599
- _id: sys.threads
584600
_group: "General"
585601
name: Number of threads
@@ -607,7 +623,6 @@ templates:
607623
- macro: "{$NET.IF.IFNAME.NOT_MATCHES}"
608624
value: "Miniport|Virtual|Teredo|Kernel|Loopback|Bluetooth|HTTPS|6to4|QoS|Layer"
609625
_description: "This macro is used in Network interface discovery. Can be overridden on the host or linked template level."
610-
611626
- macro: "{$NET.IF.IFALIAS.MATCHES}"
612627
value: ".*"
613628
_description: "This macro is used in Network interface discovery. Can be overridden on the host or linked template level."
@@ -641,11 +656,13 @@ templates:
641656
value_type: "TEXT"
642657
delay: "1m"
643658
history: "1h"
659+
description: "Raw data of win32_networkadapter."
644660
discovery_rules:
645661
- name: Network interfaces discovery
646662
type: DEPENDENT
647663
key: "net.if.discovery"
648664
master_item: "net.if.get"
665+
description: "Discovery of installed network interfaces."
649666
preprocessing:
650667
- type: JAVASCRIPT
651668
params: |-
@@ -720,33 +737,33 @@ templates:
720737
- _prototype: "net.if.in"
721738
type: "ZABBIX_PASSIVE"
722739
_resource: "Interface {#IFNAME}({#IFALIAS})"
723-
_vendor_description: ""
740+
_vendor_description: "Incoming traffic on the network interface."
724741
key: 'net.if.in["{#IFNAME}"]'
725742
- _prototype: "net.if.out"
726743
type: "ZABBIX_PASSIVE"
727744
_resource: "Interface {#IFNAME}({#IFALIAS})"
728745
key: 'net.if.out["{#IFNAME}"]'
729-
_vendor_description: ""
746+
_vendor_description: "Outgoing traffic on the network interface."
730747
- _prototype: "net.if.in.discards"
731748
type: "ZABBIX_PASSIVE"
732749
_resource: "Interface {#IFNAME}({#IFALIAS})"
733750
key: 'net.if.in["{#IFNAME}",dropped]'
734-
_vendor_description: ""
751+
_vendor_description: "The number of incoming packets dropped on the network interface."
735752
- _prototype: "net.if.out.discards"
736753
type: "ZABBIX_PASSIVE"
737754
_resource: "Interface {#IFNAME}({#IFALIAS})"
738755
key: 'net.if.out["{#IFNAME}",dropped]'
739-
_vendor_description: ""
756+
_vendor_description: "The number of outgoing packets dropped on the network interface."
740757
- _prototype: "net.if.in.errors"
741758
type: "ZABBIX_PASSIVE"
742759
_resource: "Interface {#IFNAME}({#IFALIAS})"
743760
key: 'net.if.in["{#IFNAME}",errors]'
744-
_vendor_description: ""
761+
_vendor_description: "The number of incoming packets with errors on the network interface."
745762
- _prototype: "net.if.out.errors"
746763
type: "ZABBIX_PASSIVE"
747764
_resource: "Interface {#IFNAME}({#IFALIAS})"
748765
key: 'net.if.out["{#IFNAME}",errors]'
749-
_vendor_description: ""
766+
_vendor_description: "The number of outgoing packets with errors on the network interface."
750767
- _prototype: "net.if.speed"
751768
_resource: "Interface {#IFNAME}({#IFALIAS})"
752769
type: DEPENDENT
@@ -757,7 +774,7 @@ templates:
757774
params: '$[?(@.Name == "{#IFNAME}")].Speed.first()'
758775
error_handler: CUSTOM_VALUE
759776
error_handler_params: "0"
760-
_vendor_description: ""
777+
_vendor_description: "Estimated bandwidth of the network interface if any."
761778
- _prototype: "net.if.type"
762779
_resource: "Interface {#IFNAME}({#IFALIAS})"
763780
type: DEPENDENT
@@ -767,7 +784,7 @@ templates:
767784
preprocessing:
768785
- type: JSONPATH
769786
params: '$[?(@.Name == "{#IFNAME}")].AdapterTypeId.first()'
770-
_vendor_description: ""
787+
_vendor_description: "The type of the network interface."
771788
- _prototype: net.if.status
772789
_resource: "Interface {#IFNAME}({#IFALIAS})"
773790
type: DEPENDENT
@@ -777,7 +794,7 @@ templates:
777794
preprocessing:
778795
- type: JSONPATH
779796
params: '$[?(@.Name == "{#IFNAME}")].NetConnectionStatus.first()'
780-
_vendor_description: ""
797+
_vendor_description: "The operational status of the network interface."
781798
screens:
782799
- hsize: 1
783800
vsize: 1
@@ -802,7 +819,7 @@ templates:
802819
_overview: |
803820
New official Windows template. Requires agent of Zabbix 4.4 and newer.
804821
_setup: |
805-
Install Zabbix agent to Windows OS according to Zabbix documentation.
822+
Install Zabbix agent on Windows OS according to Zabbix documentation.
806823
templates:
807824
- Template Module Zabbix agent
808825
- Template Module Windows CPU by Zabbix agent

out/4.0/EN/module/template_module_host_resources_SNMPv1_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ There are no template links in this template.
9393

9494
|Name|Description|Expression|Severity|Dependencies and additional info|
9595
|----|-----------|----|----|----|
96-
|{#MEMNAME}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)|<p>-</p>|`{TEMPLATE_NAME:vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}].min(5m)}>{$MEMORY.UTIL.MAX}`|AVERAGE||
96+
|{#MEMNAME}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)|<p>The system is running out of free memory.</p>|`{TEMPLATE_NAME:vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}].min(5m)}>{$MEMORY.UTIL.MAX}`|AVERAGE||
9797

9898
## Feedback
9999

@@ -137,7 +137,7 @@ There are no template links in this template.
137137

138138
|Name|Description|Expression|Severity|Dependencies and additional info|
139139
|----|-----------|----|----|----|
140-
|#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)|<p>-</p>|`{TEMPLATE_NAME:system.cpu.util[hrProcessorLoad.{#SNMPINDEX}].min(5m)}>{$CPU.UTIL.CRIT}`|WARNING||
140+
|#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)|<p>CPU utilization is too high. The system might be slow to respond.</p>|`{TEMPLATE_NAME:system.cpu.util[hrProcessorLoad.{#SNMPINDEX}].min(5m)}>{$CPU.UTIL.CRIT}`|WARNING||
141141

142142
## Feedback
143143

out/4.0/EN/module/template_module_host_resources_SNMPv1_EN.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,8 @@ For example, the amount of main memory allocated to a buffer pool might be modif
697697
<url/>
698698
<status>0</status>
699699
<priority>3</priority>
700-
<description>Last value: {ITEM.LASTVALUE1}</description>
700+
<description>Last value: {ITEM.LASTVALUE1}&#13;
701+
The system is running out of free memory.</description>
701702
<type>0</type>
702703
<manual_close>0</manual_close>
703704
<dependencies/>
@@ -902,7 +903,8 @@ Implementations may approximate this one minute smoothing period if necessary.</
902903
<url/>
903904
<status>0</status>
904905
<priority>2</priority>
905-
<description>Current utilization: {ITEM.LASTVALUE1}</description>
906+
<description>Current utilization: {ITEM.LASTVALUE1}&#13;
907+
CPU utilization is too high. The system might be slow to respond.</description>
906908
<type>0</type>
907909
<manual_close>0</manual_close>
908910
<dependencies/>

out/4.0/EN/module/template_module_host_resources_SNMPv2_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ There are no template links in this template.
9393

9494
|Name|Description|Expression|Severity|Dependencies and additional info|
9595
|----|-----------|----|----|----|
96-
|{#MEMNAME}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)|<p>-</p>|`{TEMPLATE_NAME:vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}].min(5m)}>{$MEMORY.UTIL.MAX}`|AVERAGE||
96+
|{#MEMNAME}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)|<p>The system is running out of free memory.</p>|`{TEMPLATE_NAME:vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}].min(5m)}>{$MEMORY.UTIL.MAX}`|AVERAGE||
9797

9898
## Feedback
9999

@@ -137,7 +137,7 @@ There are no template links in this template.
137137

138138
|Name|Description|Expression|Severity|Dependencies and additional info|
139139
|----|-----------|----|----|----|
140-
|#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)|<p>-</p>|`{TEMPLATE_NAME:system.cpu.util[hrProcessorLoad.{#SNMPINDEX}].min(5m)}>{$CPU.UTIL.CRIT}`|WARNING||
140+
|#{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)|<p>CPU utilization is too high. The system might be slow to respond.</p>|`{TEMPLATE_NAME:system.cpu.util[hrProcessorLoad.{#SNMPINDEX}].min(5m)}>{$CPU.UTIL.CRIT}`|WARNING||
141141

142142
## Feedback
143143

out/4.0/EN/module/template_module_host_resources_SNMPv2_EN.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,8 @@ For example, the amount of main memory allocated to a buffer pool might be modif
697697
<url/>
698698
<status>0</status>
699699
<priority>3</priority>
700-
<description>Last value: {ITEM.LASTVALUE1}</description>
700+
<description>Last value: {ITEM.LASTVALUE1}&#13;
701+
The system is running out of free memory.</description>
701702
<type>0</type>
702703
<manual_close>0</manual_close>
703704
<dependencies/>
@@ -902,7 +903,8 @@ Implementations may approximate this one minute smoothing period if necessary.</
902903
<url/>
903904
<status>0</status>
904905
<priority>2</priority>
905-
<description>Current utilization: {ITEM.LASTVALUE1}</description>
906+
<description>Current utilization: {ITEM.LASTVALUE1}&#13;
907+
CPU utilization is too high. The system might be slow to respond.</description>
906908
<type>0</type>
907909
<manual_close>0</manual_close>
908910
<dependencies/>

0 commit comments

Comments
 (0)