Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Added periodic validation of infrequently changing data
Otherwise, these data are no longer displayed after a period of time
  • Loading branch information
giDai7ja committed Aug 7, 2023
1 parent 6804238 commit 7e273cd
Showing 1 changed file with 29 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ zabbix_export:
- name: 'Templates/Server hardware'
items:
- uuid: 6ca47609e7564842bb51f1818bdad56c
name: 'GPU Count'
name: 'Number of GPUs'
type: DEPENDENT
key: gpu.count
delay: '0'
Expand All @@ -22,6 +22,9 @@ zabbix_export:
- type: JSONPATH
parameters:
- '$[*].1.length()'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- '21600'
master_item:
key: gpu.discovery
- uuid: 6a68154deed448699a39aa4b6e522cd7
Expand All @@ -43,7 +46,7 @@ zabbix_export:
- '"'
- '0'
- uuid: 59985a010958410699e80f3dc3f81069
name: 'GPU Driver Version'
name: 'Driver Version'
type: DEPENDENT
key: gpu.driver_version
delay: '0'
Expand All @@ -58,10 +61,13 @@ zabbix_export:
- '$[0].3'
error_handler: CUSTOM_VALUE
error_handler_params: Fault
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- '21600'
master_item:
key: gpu.discovery
- uuid: d6926fcc2b6449ada019f1b96ff8be8a
name: 'GPU Power Total'
name: 'GPUs Power Total'
type: CALCULATED
key: gpu.power_total
history: 30d
Expand All @@ -76,8 +82,11 @@ zabbix_export:
- ''
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- '21600'
- uuid: 5fb5abcae9e04feeb5651ce367d577b6
name: 'GPUs Maximum Temperature'
name: 'Temperature hottest GPU'
type: CALCULATED
key: gpu.temp_max
history: 30d
Expand All @@ -91,8 +100,11 @@ zabbix_export:
- ''
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- '21600'
- uuid: 4f63285a711045eab4d62c46127cc1da
name: 'GPU Utilization Total'
name: 'GPUs Utilization Total'
type: CALCULATED
key: gpu.utilization_total
history: 30d
Expand All @@ -107,6 +119,9 @@ zabbix_export:
- ''
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- '21600'
discovery_rules:
- uuid: 10011d82dcad4162b7ca36a66dd4d618
name: 'GPU Card'
Expand Down Expand Up @@ -260,27 +275,29 @@ zabbix_export:
description: 'Fan does not spin when GPU is hot'
graph_prototypes:
- uuid: c497e77563f44ab5b96d541218081b21
name: 'GPU {#GPUID} Load,Fan,Temp'
name: 'GPU {#GPUID} Load,Fan,Temperature'
show_work_period: 'NO'
show_triggers: 'NO'
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 00A000
calc_fnc: MAX
calc_fnc: ALL
item:
host: 'Nvidia Multi-GPU'
key: 'gpu.utilization.[{#GPUID}]'
- sortorder: '1'
drawtype: BOLD_LINE
color: FF4000
yaxisside: RIGHT
calc_fnc: MAX
item:
host: 'Nvidia Multi-GPU'
key: 'gpu.temperature.[{#GPUID}]'
- sortorder: '2'
color: 00BFFF
drawtype: DASHED_LINE
color: 00FFFF
item:
host: 'Nvidia Multi-GPU'
key: 'gpu.fan.[{#GPUID}]'
Expand Down Expand Up @@ -422,6 +439,9 @@ zabbix_export:
- type: STRING
name: thresholds.threshold.3
value: '80'
- type: STRING
name: description
value: 'Hottest GPU'
- type: ITEM
name: itemid
value:
Expand Down Expand Up @@ -509,7 +529,7 @@ zabbix_export:
name: graphid
value:
host: 'Nvidia Multi-GPU'
name: 'GPU {#GPUID} Load,Fan,Temp'
name: 'GPU {#GPUID} Load,Fan,Temperature'
- type: item
name: 'Power Total'
width: '7'
Expand Down

0 comments on commit 7e273cd

Please sign in to comment.