Skip to content

Commit

Permalink
fix: Override history to 7d in discovered items and windows_active (#128
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hairmare authored Dec 23, 2024
1 parent 791f65b commit f64e4b4
Show file tree
Hide file tree
Showing 14 changed files with 4,589 additions and 1 deletion.
184 changes: 184 additions & 0 deletions Overrides/Linux_by_Zabbix_agent/7.0/DIFF.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions Overrides/Linux_by_Zabbix_agent/7.0/Linux_by_Zabbix_agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Inbound packets discarded'
key: 'net.if.in["{#IFNAME}",dropped]'
delay: 3m
history: 7d
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
Expand All @@ -696,6 +697,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Inbound packets with errors'
key: 'net.if.in["{#IFNAME}",errors]'
delay: 3m
history: 7d
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
Expand All @@ -709,6 +711,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Bits received'
key: 'net.if.in["{#IFNAME}"]'
delay: 3m
history: 7d
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
Expand All @@ -726,6 +729,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Outbound packets discarded'
key: 'net.if.out["{#IFNAME}",dropped]'
delay: 3m
history: 7d
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
Expand All @@ -739,6 +743,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Outbound packets with errors'
key: 'net.if.out["{#IFNAME}",errors]'
delay: 3m
history: 7d
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
Expand All @@ -752,6 +757,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Bits sent'
key: 'net.if.out["{#IFNAME}"]'
delay: 3m
history: 7d
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
Expand All @@ -768,6 +774,7 @@ zabbix_export:
- uuid: 3efd24ad36b04eb995cfeab82721c2fe
name: 'Interface {#IFNAME}: Operational status'
key: 'vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"]'
history: 7d
trends: '0'
description: 'Reference: https://www.kernel.org/doc/Documentation/networking/operstates.txt'
valuemap:
Expand Down Expand Up @@ -830,6 +837,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Speed'
key: 'vfs.file.contents["/sys/class/net/{#IFNAME}/speed"]'
delay: 5m
history: 7d
trends: '0'
units: bps
description: |
Expand All @@ -853,6 +861,7 @@ zabbix_export:
name: 'Interface {#IFNAME}: Interface type'
key: 'vfs.file.contents["/sys/class/net/{#IFNAME}/type"]'
delay: 1h
history: 7d
trends: '0'
description: |
It indicates the interface protocol type as a decimal value.
Expand Down Expand Up @@ -1000,6 +1009,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.dev.queue_size[{#DEVNAME}]'
delay: '0'
history: 7d
value_type: FLOAT
description: 'The current average disk queue; the number of requests outstanding on the disk while the performance data is being collected.'
preprocessing:
Expand All @@ -1023,6 +1033,7 @@ zabbix_export:
name: '{#DEVNAME}: Disk read request avg waiting time (r_await)'
type: CALCULATED
key: 'vfs.dev.read.await[{#DEVNAME}]'
history: 7d
value_type: FLOAT
units: '!ms'
params: '(last(//vfs.dev.read.time.rate[{#DEVNAME}])/(last(//vfs.dev.read.rate[{#DEVNAME}])+(last(//vfs.dev.read.rate[{#DEVNAME}])=0)))*1000*(last(//vfs.dev.read.rate[{#DEVNAME}]) > 0)'
Expand All @@ -1037,6 +1048,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.dev.read.rate[{#DEVNAME}]'
delay: '0'
history: 7d
value_type: FLOAT
units: '!r/s'
description: 'r/s (read operations per second) - the number (after merges) of read requests completed per second for the device.'
Expand All @@ -1059,6 +1071,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.dev.read.time.rate[{#DEVNAME}]'
delay: '0'
history: 7d
value_type: FLOAT
description: 'The rate of total read time counter; used in `r_await` calculation.'
preprocessing:
Expand All @@ -1083,6 +1096,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.dev.util[{#DEVNAME}]'
delay: '0'
history: 7d
value_type: FLOAT
units: '%'
description: 'The percentage of elapsed time during which the selected disk drive was busy while servicing read or write requests.'
Expand All @@ -1107,6 +1121,7 @@ zabbix_export:
name: '{#DEVNAME}: Disk write request avg waiting time (w_await)'
type: CALCULATED
key: 'vfs.dev.write.await[{#DEVNAME}]'
history: 7d
value_type: FLOAT
units: '!ms'
params: '(last(//vfs.dev.write.time.rate[{#DEVNAME}])/(last(//vfs.dev.write.rate[{#DEVNAME}])+(last(//vfs.dev.write.rate[{#DEVNAME}])=0)))*1000*(last(//vfs.dev.write.rate[{#DEVNAME}]) > 0)'
Expand All @@ -1121,6 +1136,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.dev.write.rate[{#DEVNAME}]'
delay: '0'
history: 7d
value_type: FLOAT
units: '!w/s'
description: 'w/s (write operations per second) - the number (after merges) of write requests completed per second for the device.'
Expand All @@ -1143,6 +1159,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.dev.write.time.rate[{#DEVNAME}]'
delay: '0'
history: 7d
value_type: FLOAT
description: 'The rate of total write time counter; used in `w_await` calculation.'
preprocessing:
Expand Down Expand Up @@ -1257,6 +1274,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.fs.dependent.inode[{#FSNAME},pfree]'
delay: '0'
history: 7d
value_type: FLOAT
units: '%'
description: 'Free metadata space expressed in %.'
Expand Down Expand Up @@ -1306,6 +1324,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.fs.dependent.size[{#FSNAME},free]'
delay: '0'
history: 7d
units: B
description: 'Available storage space expressed in bytes.'
preprocessing:
Expand All @@ -1326,6 +1345,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.fs.dependent.size[{#FSNAME},pused]'
delay: '0'
history: 7d
value_type: FLOAT
units: '%'
description: 'Calculated as the percentage of currently used space compared to the maximum available space.'
Expand Down Expand Up @@ -1383,6 +1403,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.fs.dependent.size[{#FSNAME},total]'
delay: '0'
history: 7d
units: B
description: 'Total space expressed in bytes.'
preprocessing:
Expand All @@ -1403,6 +1424,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.fs.dependent.size[{#FSNAME},used]'
delay: '0'
history: 7d
units: B
description: 'Used storage expressed in bytes.'
preprocessing:
Expand Down Expand Up @@ -1447,6 +1469,7 @@ zabbix_export:
type: DEPENDENT
key: 'vfs.fs.dependent[{#FSNAME},readonly]'
delay: '0'
history: 7d
description: 'The filesystem is mounted as read-only. It is available only for Zabbix agents 6.4 and higher.'
preprocessing:
- type: JSONPATH
Expand Down
Loading

0 comments on commit f64e4b4

Please sign in to comment.