2101 lines
69 KiB
YAML
2101 lines
69 KiB
YAML
zabbix_export:
|
|
version: '6.0'
|
|
date: '2022-05-06T15:04:14Z'
|
|
groups:
|
|
-
|
|
uuid: 7df96b18c230490a9a0a9e2307226338
|
|
name: Templates
|
|
templates:
|
|
-
|
|
uuid: 7c16b009e87a4a009b810d10c97473eb
|
|
template: Template_App_ZFS
|
|
name: Template_App_ZFS
|
|
groups:
|
|
-
|
|
name: Templates
|
|
items:
|
|
-
|
|
uuid: 26fc61cdc9fa440f9a200e9beed1015c
|
|
name: 'ZFS: ARC: All'
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
delay: '300'
|
|
history: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 793c9afaa9064411b653aa30d707bf7e
|
|
name: 'ZFS: ARC: compressed_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,compressed_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.compressed_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 89dfe491ae4343a88c4de8d7b7acc74b
|
|
name: 'ZFS: ARC: compression win'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,compress_win]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JAVASCRIPT
|
|
parameters:
|
|
- |
|
|
json = JSON.parse(value);
|
|
uncomp = json.uncompressed_size;
|
|
comp = json.compressed_size;
|
|
diff = uncomp - comp;
|
|
return (diff < 0 ? 0 : diff);
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 51d4dde6604b4f0ca0bb7c56048c959b
|
|
name: 'ZFS: ARC: c_max'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,c_max]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.c_max
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 7505214ac5ff44ad99d1bee4deb44a3b
|
|
name: 'ZFS: ARC: c_min'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,c_min]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.c_min
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: f2d7810519d8488fbf87ed5afc7dc15f
|
|
name: 'ZFS: ARC: data_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,data_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.data_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 4f4c958a1a5f4f0fbbbf4ebf4d0734f7
|
|
name: 'ZFS: ARC: demand_data_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,demand_data_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.demand_data_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 54f7f2428b41438e9b15d49de6db5240
|
|
name: 'ZFS: ARC: demand data hits %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,demand_data_hits_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,demand_data_hits])/(last(//vfs.zfs.stats[arcstats,demand_data_hits])+last(//vfs.zfs.stats[arcstats,demand_data_misses])+count(//vfs.zfs.stats[arcstats,demand_data_hits],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: db885ea5e428468ab74744522dedae27
|
|
name: 'ZFS: ARC: demand_data_misses'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,demand_data_misses]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.demand_data_misses
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 8e3e83743aca4d18a8189eafe70cdeaa
|
|
name: 'ZFS: ARC: demand data misses %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,demand_data_misses_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,demand_data_misses])/(last(//vfs.zfs.stats[arcstats,demand_data_hits])+last(//vfs.zfs.stats[arcstats,demand_data_misses])+count(//vfs.zfs.stats[arcstats,demand_data_misses],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
triggers:
|
|
-
|
|
uuid: 4fd5909bba0d4808b39728f09ef2e58d
|
|
expression: 'avg(/Template_App_ZFS/vfs.zfs.stats[arcstats,demand_data_misses_pct],1h)>(100-{$ZFS_ARC_HIT_DATA_PCT_WARN})'
|
|
name: 'ZFS: Low ARC data efficiency'
|
|
priority: INFO
|
|
-
|
|
uuid: 177711e2d68d4b3b9b8dd78d85bc2885
|
|
name: 'ZFS: ARC: demand_metadata_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,demand_metadata_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.demand_metadata_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 43607d040e2d483b88abb2fde6cab4e9
|
|
name: 'ZFS: ARC: demand metadata hits %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,demand_metadata_hits_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,demand_metadata_hits])/(last(//vfs.zfs.stats[arcstats,demand_metadata_hits])+last(//vfs.zfs.stats[arcstats,demand_metadata_misses])+count(//vfs.zfs.stats[arcstats,demand_metadata_hits],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 9d503f8865e04fa9a6e58c9d5b2447ad
|
|
name: 'ZFS: ARC: demand_metadata_misses'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,demand_metadata_misses]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.demand_metadata_misses
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 52697189829d49f5a79bddb612aaed30
|
|
name: 'ZFS: ARC: demand metadata misses %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,demand_metadata_misses_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,demand_metadata_misses])/(last(//vfs.zfs.stats[arcstats,demand_metadata_hits])+last(//vfs.zfs.stats[arcstats,demand_metadata_misses])+count(//vfs.zfs.stats[arcstats,demand_metadata_misses],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
triggers:
|
|
-
|
|
uuid: b72c3b530724462a95a502b9cfcd1731
|
|
expression: 'avg(/Template_App_ZFS/vfs.zfs.stats[arcstats,demand_metadata_misses_pct],900s)>(100-{$ZFS_ARC_HIT_METADATA_PCT_WARN})'
|
|
name: 'ZFS: Low ARC metadata efficiency'
|
|
priority: INFO
|
|
-
|
|
uuid: e9498db583af41b8b8b85ff665b3eaab
|
|
name: 'ZFS: ARC: evict_l2_cached'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,evict_l2_cached]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.evict_l2_cached
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 270f82c7bcfe472da061ba4d35e00894
|
|
name: 'ZFS: ARC: evict_l2_eligible'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,evict_l2_eligible]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.evict_l2_eligible
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: f327162757bd479c9fb40814cecdf6aa
|
|
name: 'ZFS: ARC: evict_l2_ineligible'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,evict_l2_ineligible]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.evict_l2_ineligible
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 92476aba6f3245ccb31339d196ee7331
|
|
name: 'ZFS: ARC: hdr_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,hdr_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.hdr_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 863aeb8b1d9c4860a1971ca3634e941a
|
|
name: 'ZFS: ARC: hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: f9569ed82a4f45ad9e94a62b63a9abe8
|
|
name: 'ZFS: ARC: hits %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,hits_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,hits])/(last(//vfs.zfs.stats[arcstats,hits])+last(//vfs.zfs.stats[arcstats,misses])+count(//vfs.zfs.stats[arcstats,hits],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 32bc086dff414f80a644c3eaf0346b60
|
|
name: 'ZFS: ARC: l2_cksum_bad'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_cksum_bad]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_cksum_bad
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: eda8e544298e47df8a326d9731a0918a
|
|
name: 'ZFS: ARC: l2_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 185f7767e84945b1a695de44cabf9351
|
|
name: 'ZFS: ARC: l2 hits %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,l2_hits_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,l2_hits])/(last(//vfs.zfs.stats[arcstats,l2_hits])+last(//vfs.zfs.stats[arcstats,l2_misses])+count(//vfs.zfs.stats[arcstats,l2_hits],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: d536c6a059fd4a10b2e95d8956cfb3d4
|
|
name: 'ZFS: ARC: l2_io_error'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_io_error]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_io_error
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 1bfd63b1b70a4b10a76ea4f2b13efad1
|
|
name: 'ZFS: ARC: l2_misses'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_misses]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_misses
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 41ee31f8ef964564afc0cb8646f5f758
|
|
name: 'ZFS: ARC: l2 misses %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,l2_misses_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,l2_misses])/(last(//vfs.zfs.stats[arcstats,l2_hits])+last(//vfs.zfs.stats[arcstats,l2_misses])+count(//vfs.zfs.stats[arcstats,l2_misses],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: ec0a2c261f58481499d8aa27fde699db
|
|
name: 'ZFS: ARC: l2_read_bytes'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_read_bytes]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_read_bytes
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: c24cf70ee01e4a98b96c8de7f3c92464
|
|
name: 'ZFS: ARC: l2_writes_error'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_writes_error]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_writes_error
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 4f1c9b71a061407b87f9efc1385e5cea
|
|
name: 'ZFS: ARC: l2_write_bytes'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,l2_write_bytes]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.l2_write_bytes
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 4f656a82b4f34f67a24cd12a3d27ecc6
|
|
name: 'ZFS: ARC: metadata_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,metadata_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.metadata_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 6ea92106ece44e699799fce8846b3d7f
|
|
name: 'ZFS: ARC: mfu_ghost_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mfu_ghost_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mfu_ghost_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 85567fa5e90443018880ac153f871633
|
|
name: 'ZFS: ARC: mfu_ghost_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mfu_ghost_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mfu_ghost_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: c1c570c7fdaf4e0eb87f47bfac344ff2
|
|
name: 'ZFS: ARC: mfu_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mfu_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mfu_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 7a4fafb2a23049d2ab361dcbbc823e83
|
|
name: 'ZFS: ARC: mfu_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mfu_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mfu_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 6f882331fc1146cf86fc3a4f21545d9c
|
|
name: 'ZFS: ARC: misses'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,misses]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.misses
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 93a47f34efb84cd19e6f0b4235bd3aeb
|
|
name: 'ZFS: ARC: misses %'
|
|
type: CALCULATED
|
|
key: 'vfs.zfs.stats[arcstats,misses_pct]'
|
|
delay: '300'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
params: '100*last(//vfs.zfs.stats[arcstats,misses])/(last(//vfs.zfs.stats[arcstats,hits])+last(//vfs.zfs.stats[arcstats,misses])+count(//vfs.zfs.stats[arcstats,misses],#1,,"0"))'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
triggers:
|
|
-
|
|
uuid: a710644b11a145f4896e08603e7dc440
|
|
expression: 'avg(/Template_App_ZFS/vfs.zfs.stats[arcstats,misses_pct],1h)>(100-{$ZFS_ARC_HIT_PCT_WARN})'
|
|
name: 'ZFS: Low ARC global efficiency'
|
|
priority: INFO
|
|
-
|
|
uuid: 76d84a7fc9734a068553a1dcae017edb
|
|
name: 'ZFS: ARC: mru_ghost_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mru_ghost_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mru_ghost_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 92d3df58ae414580a43931d7f80896ca
|
|
name: 'ZFS: ARC: mru_ghost_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mru_ghost_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mru_ghost_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 03ff0f39ed3c4fae920c41db61e6330e
|
|
name: 'ZFS: ARC: mru_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mru_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mru_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 639d466725354e6f9bbfd7a0988892c0
|
|
name: 'ZFS: ARC: mru_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,mru_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.mru_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 370c7664eea240a098e2f12ff58ef684
|
|
name: 'ZFS: ARC: overhead_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,overhead_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.overhead_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: ad2bfe506ccd4e5eb6d2147dd3dcbff8
|
|
name: 'ZFS: ARC: prefetch_data_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,prefetch_data_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.prefetch_data_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: e44aad94c00745caa3cac0441f2ba4b5
|
|
name: 'ZFS: ARC: prefetch_data_misses'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,prefetch_data_misses]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.prefetch_data_misses
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 0333715a70c345cd936f76f9552ee96d
|
|
name: 'ZFS: ARC: prefetch_metadata_hits'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,prefetch_metadata_hits]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.prefetch_metadata_hits
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: acb410fd5c524cf6a6e6a892ef4e20d4
|
|
name: 'ZFS: ARC: prefetch_metadata_misses'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,prefetch_metadata_misses]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.prefetch_metadata_misses
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: 27ea56a879d34384a968cf0b2394f82f
|
|
name: 'ZFS: ARC: size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
-
|
|
uuid: dea6876dd99f4530a1266b3eb5f28efb
|
|
name: 'ZFS: ARC: uncompressed_size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.stats[arcstats,uncompressed_size]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.uncompressed_size
|
|
master_item:
|
|
key: 'vfs.zfs.stats.all[arcstats]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Memory
|
|
discovery_rules:
|
|
-
|
|
uuid: 89ba113e82764dcc992914afecc54344
|
|
name: 'ZFS: filesystems discovery'
|
|
key: 'vfs.zfs.discovery[fs]'
|
|
delay: '3600'
|
|
lifetime: 1d
|
|
item_prototypes:
|
|
-
|
|
uuid: 158bb1e9cf3c41ae826c92718bbd3848
|
|
name: 'ZFS: fs {#ZFS_FS} info'
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
delay: 300s
|
|
history: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: b73fdf961b0b415a8308237f2db0143b
|
|
name: 'ZFS: fs {#ZFS_FS} compression win'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,compression_win]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JAVASCRIPT
|
|
parameters:
|
|
- |
|
|
json = JSON.parse(value);
|
|
logicalused = new Number(json.logicalused);
|
|
used = new Number(json.used);
|
|
return (logicalused > used ? logicalused - used : 0);
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: d54979e9469448f1ad4b30e84fb57760
|
|
name: 'ZFS: fs {#ZFS_FS} compression ratio'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,compressratio]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
value_type: FLOAT
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.compressratio
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '1800'
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: d8a07b6e1783407083caf3bdcbc98e0c
|
|
name: 'ZFS: fs {#ZFS_FS} logical used space'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,logicalused]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.logicalused
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 6ed892f50720412dab34fd9b2f826f9e
|
|
name: 'ZFS: fs {#ZFS_FS} quota'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,quota]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.quota
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 1246b9508dd04f0680fdbb7579348fcc
|
|
name: 'ZFS: fs {#ZFS_FS} ref quota'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,refquota]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.refquota
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 1fd8de68bfdd4200b4ba9c8a14a8e387
|
|
name: 'ZFS: fs {#ZFS_FS} space used by children'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,usedbychildren]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.usedbychildren
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 9751156ffe7847c5857e9d00f9e3248f
|
|
name: 'ZFS: fs {#ZFS_FS} space used by dataset'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,usedbydataset]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.usedbydataset
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: eb0d36d3e6fd497bb768b772e00c6121
|
|
name: 'ZFS: fs {#ZFS_FS} space used by snapshots'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,usedbysnapshots]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.usedbysnapshots
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 7037d1e906be47d2b2feeb09fb8f7cc3
|
|
name: 'ZFS: fs {#ZFS_FS} total used space'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,used]'
|
|
delay: '0'
|
|
history: 60d
|
|
trends: 1095d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.used
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_FS},fs]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
trigger_prototypes:
|
|
-
|
|
uuid: 716f638addf94b6d90d9e52ee90c80b7
|
|
expression: '(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > {$ZFS_FS_QUOTA_PCT_CRITICAL})'
|
|
recovery_mode: RECOVERY_EXPRESSION
|
|
recovery_expression: |
|
|
(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) < 0.98*{$ZFS_FS_QUOTA_PCT_CRITICAL}) or
|
|
last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) = 0
|
|
name: 'ZFS: filesystem {#ZFS_FS} uses {ITEM.VALUE2} (excluding children)'
|
|
priority: HIGH
|
|
-
|
|
uuid: acb284f694984fad82ef2fd8faaff546
|
|
expression: '(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > {$ZFS_FS_QUOTA_PCT_WARN})'
|
|
recovery_mode: RECOVERY_EXPRESSION
|
|
recovery_expression: |
|
|
(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) < 0.98*{$ZFS_FS_QUOTA_PCT_WARN}) or
|
|
last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) = 0
|
|
name: 'ZFS: filesystem {#ZFS_FS} uses {ITEM.VALUE2} (excluding children)'
|
|
priority: WARNING
|
|
dependencies:
|
|
-
|
|
name: 'ZFS: filesystem {#ZFS_FS} uses {ITEM.VALUE2} (excluding children)'
|
|
expression: '(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > {$ZFS_FS_QUOTA_PCT_CRITICAL})'
|
|
recovery_expression: |
|
|
(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,refquota]) < 0.98*{$ZFS_FS_QUOTA_PCT_CRITICAL}) or
|
|
last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) = 0
|
|
-
|
|
uuid: d2a10cae4c144c7ca602c04fe108b682
|
|
expression: '(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > {$ZFS_FS_QUOTA_PCT_CRITICAL})'
|
|
recovery_mode: RECOVERY_EXPRESSION
|
|
recovery_expression: |
|
|
(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) < 0.98*{$ZFS_FS_QUOTA_PCT_CRITICAL}) or
|
|
last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) = 0
|
|
name: 'ZFS: filesystem {#ZFS_FS} uses {ITEM.VALUE2} (including children)'
|
|
priority: HIGH
|
|
-
|
|
uuid: 73ce2dc897dd4b9a8b6c3c31a17146a7
|
|
expression: '(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > {$ZFS_FS_QUOTA_PCT_WARN})'
|
|
recovery_mode: RECOVERY_EXPRESSION
|
|
recovery_expression: |
|
|
(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) < 0.98*{$ZFS_FS_QUOTA_PCT_WARN}) or
|
|
last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) = 0
|
|
name: 'ZFS: filesystem {#ZFS_FS} uses {ITEM.VALUE2} (including children)'
|
|
priority: WARNING
|
|
dependencies:
|
|
-
|
|
name: 'ZFS: filesystem {#ZFS_FS} uses {ITEM.VALUE2} (including children)'
|
|
expression: '(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > {$ZFS_FS_QUOTA_PCT_CRITICAL})'
|
|
recovery_expression: |
|
|
(last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) > 0 and 100*last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,used])/last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) < 0.98*{$ZFS_FS_QUOTA_PCT_CRITICAL}) or
|
|
last(/Template_App_ZFS/vfs.zfs.dataset[{#ZFS_FS},fs,quota]) = 0
|
|
graph_prototypes:
|
|
-
|
|
uuid: 1487e10313b14d4d83423b5530d11971
|
|
name: 'ZFS: fs {#ZFS_FS} occupation'
|
|
type: STACKED
|
|
graph_items:
|
|
-
|
|
color: FF0000
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,usedbydataset]'
|
|
-
|
|
sortorder: '1'
|
|
color: FFBF00
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,usedbysnapshots]'
|
|
-
|
|
sortorder: '2'
|
|
color: 66BB6A
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,usedbychildren]'
|
|
-
|
|
sortorder: '3'
|
|
color: B2EBF2
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_FS},fs,compression_win]'
|
|
-
|
|
uuid: bd64b1ca577b4c3ab43d30bb767abf56
|
|
name: 'ZFS: pools discovery'
|
|
key: 'vfs.zfs.discovery[pools]'
|
|
delay: '7200'
|
|
lifetime: 7d
|
|
item_prototypes:
|
|
-
|
|
uuid: 5c04473fd5ff475f9e41c70f84b9ece9
|
|
name: 'ZFS: Pool {#ZPOOL}: info'
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
delay: 300s
|
|
history: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 30114edc1485451989d3ec8bd1b9c2b3
|
|
name: 'ZFS: Pool {#ZPOOL}: Needed action'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},action]'
|
|
delay: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.errors.action
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '86400'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 4a18fc757c8e4d5e8c78529399285463
|
|
name: 'ZFS: Pool {#ZPOOL}: Allocated space'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},allocated]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.allocated
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 518e3feb8f7f4e09b9c2e5981205d82d
|
|
name: 'ZFS: Pool {#ZPOOL}: Capacity'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},capacity]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.capacity
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '1800'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
trigger_prototypes:
|
|
-
|
|
uuid: a2cd1e429a9d448593efc5dd420b2c13
|
|
expression: 'last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},capacity])>{$ZFS_POOL_ALLOC_CRITICAL}'
|
|
name: 'ZFS: pool {#ZPOOL} is more than {ITEM.VALUE1} allocated'
|
|
priority: HIGH
|
|
-
|
|
uuid: 9eb69840f8144065989ef1c98d0e4995
|
|
expression: 'last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},capacity])>{$ZFS_POOL_ALLOC_WARN}'
|
|
name: 'ZFS: pool {#ZPOOL} is more than {ITEM.VALUE1} allocated'
|
|
priority: WARNING
|
|
dependencies:
|
|
-
|
|
name: 'ZFS: pool {#ZPOOL} is more than {ITEM.VALUE1} allocated'
|
|
expression: 'last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},capacity])>{$ZFS_POOL_ALLOC_CRITICAL}'
|
|
-
|
|
uuid: d7220a8bdb204861afc8ab4c6ce1dcb8
|
|
name: 'ZFS: Pool {#ZPOOL}: Checksum errors'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},cksum_errors]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: error
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.errors.cksum_errors
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '3600'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: be875f3fa4e44c458f1977f72039fa21
|
|
name: 'ZFS: Pool {#ZPOOL}: Deduplication ratio'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},dedupratio]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
value_type: FLOAT
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.dedupratio
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: d2a9e9f989784c869544bb878f9373f6
|
|
name: 'ZFS: Pool {#ZPOOL}: Errors description'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},errors]'
|
|
delay: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.errors.errors
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '86400'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 6bd5b8611b2b4615a26da01463aac957
|
|
name: 'ZFS: Pool {#ZPOOL}: Fragmentation (free space)'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},fragmentation]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
value_type: FLOAT
|
|
units: '%'
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.fragmentation
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: e6791ff9528c4fddb69395f96508bf71
|
|
name: 'ZFS: Pool {#ZPOOL}: Free space'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},free]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.free
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 5ff407e0a8354d4ab1b725d0f2ba8cc2
|
|
name: 'ZFS: Pool {#ZPOOL}: Health'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},health]'
|
|
delay: '0'
|
|
trends: '0'
|
|
value_type: CHAR
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.health
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '86400'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
trigger_prototypes:
|
|
-
|
|
uuid: e59e611a01e74f9a890a74e6c9eca21e
|
|
expression: 'find(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},health],,"regexp","One or more devices is currently being resilvered")=1'
|
|
name: 'ZFS: Pool {#ZPOOL} is resilvering'
|
|
priority: WARNING
|
|
-
|
|
uuid: ca7cf659d7234e869c23b1187ea91494
|
|
expression: 'find(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},health],,"regexp","ONLINE")=0'
|
|
name: 'ZFS: pool {#ZPOOL} status is {ITEM.VALUE1}'
|
|
priority: HIGH
|
|
-
|
|
uuid: 8ebec0b6924e4cfe83843c54e31ab017
|
|
name: 'ZFS: Pool {#ZPOOL}: Reads (bytes)'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},nread]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B/s
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.stats.nread
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: b90fbd3d70a043dc83c5734458b4b1ce
|
|
name: 'ZFS: Pool {#ZPOOL}: Writes (bytes)'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},nwritten]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B/s
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.stats.nwritten
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 48a0ea9b07864c899271a1ac3520ca20
|
|
name: 'ZFS: Pool {#ZPOOL}: Reads (iops)'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},reads]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: iops
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.stats.reads
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 70d12bd650134564b6a7e61537639539
|
|
name: 'ZFS: Pool {#ZPOOL}: Read errors'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},read_errors]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: error
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.errors.read_errors
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '3600'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: e01d6d741fd64efb8c5ac1897d9da9ff
|
|
name: 'ZFS: Pool {#ZPOOL}: Size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},size]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.size
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '86400'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: e93be65f071d4bcbb4d4453b9e7bff4e
|
|
name: 'ZFS: Pool {#ZPOOL}: Status'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},status]'
|
|
delay: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.errors.status
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '86400'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 51583e36bf954dba8ba6b96ceb839231
|
|
name: 'ZFS: Pool {#ZPOOL}: Writes (iops)'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},writes]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: iops
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.stats.writes
|
|
-
|
|
type: CHANGE_PER_SECOND
|
|
parameters:
|
|
- ''
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 8be5ec036ad8477384bd0969cfb4adb3
|
|
name: 'ZFS: Pool {#ZPOOL}: Write errors'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},write_errors]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: error
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.errors.write_errors
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '3600'
|
|
master_item:
|
|
key: 'vfs.zfs.zpool.info[{#ZPOOL}]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
trigger_prototypes:
|
|
-
|
|
uuid: 60491388f4434c3b8319416f569c45bf
|
|
expression: 'nodata(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},status],2d)=1 or nodata(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},allocated],2h)=1'
|
|
name: 'ZFS: pool {#ZPOOL} has a monitoring issue'
|
|
priority: WARNING
|
|
-
|
|
uuid: 4744393d2d664b2a9beb12659bbb7ede
|
|
expression: 'last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},write_errors])<>0 or last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},read_errors])<>0 or last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},cksum_errors])<>0'
|
|
name: 'ZFS: Pool {#ZPOOL} has errors'
|
|
priority: AVERAGE
|
|
-
|
|
uuid: 70f9456a1468489e9078bde338468bd0
|
|
expression: 'find(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},status],,"regexp","^$")=0 or find(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},errors],,"regexp","No known data errors")=0'
|
|
name: 'ZFS: Pool {#ZPOOL} must be checked'
|
|
priority: HIGH
|
|
dependencies:
|
|
-
|
|
name: 'ZFS: Pool {#ZPOOL} has errors'
|
|
expression: 'last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},write_errors])<>0 or last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},read_errors])<>0 or last(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},cksum_errors])<>0'
|
|
-
|
|
name: 'ZFS: Pool {#ZPOOL} is resilvering'
|
|
expression: 'find(/Template_App_ZFS/vfs.zfs.zpool[{#ZPOOL},health],,"regexp","One or more devices is currently being resilvered")=1'
|
|
graph_prototypes:
|
|
-
|
|
uuid: d0a60945e72245108876cf88ab0a5eb1
|
|
name: 'ZFS: Pool {#ZPOOL}: Allocation'
|
|
ymin_type_1: FIXED
|
|
ymax_type_1: ITEM
|
|
ymax_item_1:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},size]'
|
|
graph_items:
|
|
-
|
|
drawtype: GRADIENT_LINE
|
|
color: FF0000
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},allocated]'
|
|
-
|
|
uuid: b3c148a61b004bb7b1bd31e5d8c41c5f
|
|
name: 'ZFS: Pool {#ZPOOL}: I/O'
|
|
graph_items:
|
|
-
|
|
color: FF0000
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},nread]'
|
|
-
|
|
sortorder: '1'
|
|
color: 4000FF
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},nwritten]'
|
|
-
|
|
sortorder: '2'
|
|
color: 80FF00
|
|
yaxisside: RIGHT
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},reads]'
|
|
-
|
|
sortorder: '3'
|
|
color: FFBF00
|
|
yaxisside: RIGHT
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.zpool[{#ZPOOL},writes]'
|
|
-
|
|
uuid: d114276caae94e06aba6488b6404ae48
|
|
name: 'ZFS: sanoid checks discovery'
|
|
key: 'vfs.zfs.discovery[sanoid]'
|
|
delay: '7200'
|
|
lifetime: 1h
|
|
item_prototypes:
|
|
-
|
|
uuid: f3770c41e93d43c4a04aa0b51b453172
|
|
name: 'ZFS: Sanoid {#ZFS_SANOID}'
|
|
key: 'vfs.zfs.sanoid.check[{#ZFS_SANOID}]'
|
|
delay: 300s
|
|
history: 30d
|
|
trends: '0'
|
|
value_type: CHAR
|
|
preprocessing:
|
|
-
|
|
type: DISCARD_UNCHANGED_HEARTBEAT
|
|
parameters:
|
|
- '1800'
|
|
-
|
|
type: NOT_MATCHES_REGEX
|
|
parameters:
|
|
- ^print
|
|
error_handler: DISCARD_VALUE
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
trigger_prototypes:
|
|
-
|
|
uuid: a25fab898fe441e2b77666da55aee444
|
|
expression: 'find(/Template_App_ZFS/vfs.zfs.sanoid.check[{#ZFS_SANOID}],,"regexp","^OK")<>1 and find(/Template_App_ZFS/vfs.zfs.sanoid.check[{#ZFS_SANOID}],#1,"regexp","^OK")<>1'
|
|
name: 'ZFS: Sanoid detected a default on {#ZFS_SANOID}'
|
|
priority: INFO
|
|
-
|
|
uuid: 9e95c3117cd34337a3b2515da9042f16
|
|
name: 'ZFS: zvols discovery'
|
|
key: 'vfs.zfs.discovery[zvol]'
|
|
delay: '900'
|
|
lifetime: 1d
|
|
item_prototypes:
|
|
-
|
|
uuid: d44b4f809daa413f8f5ee07ddf598ee8
|
|
name: 'ZFS: zvol {#ZFS_ZVOL} info'
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
delay: 300s
|
|
history: '0'
|
|
trends: '0'
|
|
value_type: TEXT
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 21687d35df3b486f8838d4ea30cfb2b4
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} compression win'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,compression_win]'
|
|
delay: '0'
|
|
value_type: FLOAT
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JAVASCRIPT
|
|
parameters:
|
|
- |
|
|
json = JSON.parse(value);
|
|
logicalused = json.logicalused;
|
|
used = json.used;
|
|
return (logicalused > used ? logicalused - used : 0);
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 8264d6dc3cf84b1ab187403f06c446d5
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} compression ratio'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,compressratio]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
value_type: FLOAT
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.compressratio
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 077fcbdd96ab4650833db50ec58ae978
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} logical space used'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,logicalused]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.logicalused
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 5447dfdf4def499d91d359170e867ec3
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} space reservation'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,reservation]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.reservation
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 1944b3cfb38949d994b29721d1c80b8c
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} space used by dataset'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,usedbydataset]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.usedbydataset
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 064e70d113574ffab304496c8cb601e4
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} space used by snapshots'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,usedbysnapshots]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.usedbysnapshots
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 2fe1fe2b2d5f454db99022058084c7c6
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} total space used'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,used]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.used
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
-
|
|
uuid: 2f274d5f782c4315b61472a367cb03b0
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} size'
|
|
type: DEPENDENT
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,volsize]'
|
|
delay: '0'
|
|
trends: 1825d
|
|
units: B
|
|
preprocessing:
|
|
-
|
|
type: JSONPATH
|
|
parameters:
|
|
- $.volsize
|
|
master_item:
|
|
key: 'vfs.zfs.dataset.info[{#ZFS_ZVOL},zvol]'
|
|
tags:
|
|
-
|
|
tag: Application
|
|
value: Storage
|
|
graph_prototypes:
|
|
-
|
|
uuid: 4ecf7000a01949d79fb5b6c401bf9b1f
|
|
name: 'ZFS: Zvol {#ZFS_ZVOL} used disk space'
|
|
type: STACKED
|
|
graph_items:
|
|
-
|
|
color: 1A7C11
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,usedbydataset]'
|
|
-
|
|
sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,usedbysnapshots]'
|
|
-
|
|
sortorder: '2'
|
|
color: B2EBF2
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.dataset[{#ZFS_ZVOL},zvol,compression_win]'
|
|
macros:
|
|
-
|
|
macro: '{$ZFS_ARC_HIT_DATA_PCT_WARN}'
|
|
value: '50'
|
|
-
|
|
macro: '{$ZFS_ARC_HIT_METADATA_PCT_WARN}'
|
|
value: '90'
|
|
-
|
|
macro: '{$ZFS_ARC_HIT_PCT_WARN}'
|
|
value: '75'
|
|
-
|
|
macro: '{$ZFS_FS_QUOTA_PCT_CRITICAL}'
|
|
value: '95'
|
|
-
|
|
macro: '{$ZFS_FS_QUOTA_PCT_WARN}'
|
|
value: '80'
|
|
-
|
|
macro: '{$ZFS_POOL_ALLOC_CRITICAL}'
|
|
value: '90'
|
|
-
|
|
macro: '{$ZFS_POOL_ALLOC_WARN}'
|
|
value: '80'
|
|
triggers:
|
|
-
|
|
uuid: 32ab55cdec1340369b5781c40f19a9f8
|
|
expression: 'last(/Template_App_ZFS/vfs.zfs.stats[arcstats,l2_writes_error])>0 or last(/Template_App_ZFS/vfs.zfs.stats[arcstats,l2_io_error])>0 or last(/Template_App_ZFS/vfs.zfs.stats[arcstats,l2_cksum_bad])>0'
|
|
name: 'ZFS: l2arc errors detected'
|
|
priority: AVERAGE
|
|
graphs:
|
|
-
|
|
uuid: 58d54b7fc3db41a4950eebf74e99b636
|
|
name: 'ZFS: ARC: Hits ratio'
|
|
graph_items:
|
|
-
|
|
drawtype: BOLD_LINE
|
|
color: FF0000
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,hits_pct]'
|
|
-
|
|
sortorder: '1'
|
|
drawtype: BOLD_LINE
|
|
color: BF00FF
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,demand_data_hits_pct]'
|
|
-
|
|
sortorder: '2'
|
|
drawtype: BOLD_LINE
|
|
color: 0040FF
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,demand_metadata_hits_pct]'
|
|
-
|
|
sortorder: '3'
|
|
drawtype: BOLD_LINE
|
|
color: FFBF00
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,l2_hits_pct]'
|
|
-
|
|
uuid: a64bf4ca428841cdba99c72234e37595
|
|
name: 'ZFS: ARC: sizes (data / metadata)'
|
|
type: STACKED
|
|
graph_items:
|
|
-
|
|
color: 1A7C11
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,data_size]'
|
|
-
|
|
sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,metadata_size]'
|
|
-
|
|
sortorder: '2'
|
|
color: 2774A4
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,compress_win]'
|
|
-
|
|
uuid: 1d05f223d1e14d25b9da5bcc27e44e0d
|
|
name: 'ZFS: ARC: sizes (mfu / mru)'
|
|
type: STACKED
|
|
graph_items:
|
|
-
|
|
color: F63100
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,mfu_size]'
|
|
-
|
|
sortorder: '1'
|
|
color: 1A7C11
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,mru_size]'
|
|
-
|
|
sortorder: '2'
|
|
color: 2774A4
|
|
item:
|
|
host: Template_App_ZFS
|
|
key: 'vfs.zfs.stats[arcstats,compress_win]'
|