zabbix_templates/Template Proxmox-Host.yaml

757 lines
26 KiB
YAML

zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
templates:
- uuid: 46d8ce9ead5b4f2993bf3c5a228e5518
template: 'Template Proxmox-Host'
name: 'Template Proxmox-Host'
templates:
- name: 'Template App Zabbix Agent'
groups:
- name: Templates
items:
- uuid: e7f949a9e3724eefb3933049581648a1
name: 'Email Data Size'
key: dir_size.email
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: 3434468861334b1ab225aff0f31c8a23
name: 'Lufi Data Size'
key: dir_size.lufi
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: 1e3824075f174c3fa065fd21c2ad7072
name: 'Matrix Data Size'
key: dir_size.matrix
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: a2b5bae1200942ebafd42193f164d4cb
name: 'Nextcloud Data Size'
key: dir_size.owncloud
units: B
request_method: POST
tags:
- tag: Application
value: 'Apps Data Size'
- uuid: 86740b5b9b7b4d0884b9cee30a2693d8
name: 'Maximum number of opened files'
key: kernel.maxfiles
delay: 1h
history: 1w
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
request_method: POST
tags:
- tag: Application
value: OS
triggers:
- uuid: a83c44282c534206bbcdc80362e6390d
expression: 'last(/Template Proxmox-Host/kernel.maxfiles)<1024'
name: 'Configured max number of opened files is too low on {HOST.NAME}'
priority: INFO
- uuid: 6bc15b0b67c44fe59cf9456c799fcab2
name: 'Maximum number of processes'
key: kernel.maxproc
delay: 1h
history: 1w
description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.'
request_method: POST
tags:
- tag: Application
value: OS
triggers:
- uuid: f01c3bdd7c364e37adc9731df00a32ab
expression: 'last(/Template Proxmox-Host/kernel.maxproc)<256'
name: 'Configured max number of processes is too low on {HOST.NAME}'
priority: INFO
- uuid: e67611ed4bbe44839791985cede0213d
name: 'Host boot time'
key: system.boottime
delay: 10m
history: 1w
units: unixtime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
- uuid: 00aee661e6974379936b94ededa07a19
name: 'Interrupts per second'
key: system.cpu.intr
history: 1w
units: ips
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 40eb034ea1154bb5936bcf77ce98ad95
name: 'Processor load (1 min average per core)'
key: 'system.cpu.load[all,avg1]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 10ff7a58b0de4b74a374dbb434fc56eb
name: 'Processor load (5 min average per core)'
key: 'system.cpu.load[all,avg5]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
triggers:
- uuid: e105de80c5624c979c7dd033e3b1b1e2
expression: 'avg(/Template Proxmox-Host/system.cpu.load[all,avg5],5m)>20'
name: 'Processor load is too high on {HOST.NAME}'
priority: WARNING
- uuid: 6d73b0503a354a0783e165397373664d
name: 'Processor load (15 min average per core)'
key: 'system.cpu.load[all,avg15]'
history: 1w
value_type: FLOAT
description: 'The processor load is calculated as system CPU load divided by number of CPU cores.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 1f76e40a9bc84b71aadc880fa261dbed
name: 'Context switches per second'
key: system.cpu.switches
history: 1w
units: sps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: fc0f3803c4b24aefb2083cc8cb1ef7dd
name: 'CPU $2 time'
key: 'system.cpu.util[,idle]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent doing nothing.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: b0589eb1d5f84c96b0caa9c16aade1d3
name: 'CPU $2 time'
key: 'system.cpu.util[,interrupt]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing hardware interrupts.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: b8f6b840697642b992cbc516972a4582
name: 'CPU $2 time'
key: 'system.cpu.util[,iowait]'
history: 1w
value_type: FLOAT
units: '%'
description: 'Amount of time the CPU has been waiting for I/O to complete.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
triggers:
- uuid: 21606f46feec459aba9f58b7908f5863
expression: 'avg(/Template Proxmox-Host/system.cpu.util[,iowait],5m)>20'
name: 'Disk I/O is overloaded on {HOST.NAME}'
priority: WARNING
description: 'OS spends significant time waiting for I/O (input/output) operations. It could be indicator of performance issues with storage system.'
- uuid: bb9cf5a8677541608a836cd2e463bc4f
name: 'CPU $2 time'
key: 'system.cpu.util[,nice]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that have been niced.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 25bc46e333524a3785ab00330b138c26
name: 'CPU $2 time'
key: 'system.cpu.util[,softirq]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of time the CPU has been servicing software interrupts.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 9ed01e2326704e78a5bc6998a2b13b2e
name: 'CPU $2 time'
key: 'system.cpu.util[,steal]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The amount of CPU ''stolen'' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 51524f8e8e9f4b269b0acee6a60ee073
name: 'CPU $2 time'
key: 'system.cpu.util[,system]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running the kernel and its processes.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: 7550ee46b369404b8922a29d1a220810
name: 'CPU $2 time'
key: 'system.cpu.util[,user]'
history: 1w
value_type: FLOAT
units: '%'
description: 'The time the CPU has spent running users'' processes that are not niced.'
request_method: POST
tags:
- tag: Application
value: CPU
- tag: Application
value: Performance
- uuid: a2d2eecd7b97455aa3caf3258bf3b541
name: 'Host name'
key: system.hostname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'System host name.'
inventory_link: NAME
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 77a8187796984138a46a9222a431a6fd
expression: '(last(/Template Proxmox-Host/system.hostname,#1)<>last(/Template Proxmox-Host/system.hostname,#2))>0'
name: 'Hostname was changed on {HOST.NAME}'
priority: INFO
- uuid: a41a381ce82f4864a2e25eb3fe042e5b
name: 'Host local time'
key: system.localtime
history: 1w
units: unixtime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
- uuid: 0d8a924ee3064810ab6cd4b8017ba51d
name: 'Free swap space'
key: 'system.swap.size[,free]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
- uuid: 65ac2e42087d44be91bf384998cb881c
name: 'Free swap space in %'
key: 'system.swap.size[,pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Memory
triggers:
- uuid: 80032cf0de474ab3a81f85932d74c1e4
expression: 'last(/Template Proxmox-Host/system.swap.size[,pfree])<50'
name: 'Lack of free swap space on {HOST.NAME}'
priority: WARNING
description: 'It probably means that the systems requires more physical memory.'
- uuid: 09a1d18a75444bb78d49f04aa0fd0421
name: 'Total swap space'
key: 'system.swap.size[,total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
- uuid: 70d9338e2a0a436b9e171767bbd9c8ce
name: 'System information'
key: system.uname
delay: 1h
history: 1w
trends: '0'
value_type: CHAR
description: 'The information as normally returned by ''uname -a''.'
inventory_link: OS
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 271d411baa6d41f9ba428db93cd657e6
expression: '(last(/Template Proxmox-Host/system.uname,#1)<>last(/Template Proxmox-Host/system.uname,#2))>0'
name: 'Host information was changed on {HOST.NAME}'
priority: INFO
- uuid: 4980099c3b324f8a9a8f9d687ef2abbb
name: 'System uptime'
key: system.uptime
delay: 10m
history: 1w
units: uptime
request_method: POST
tags:
- tag: Application
value: General
- tag: Application
value: OS
triggers:
- uuid: 8db870603d444cbca8a184cc2f48a2e1
expression: 'change(/Template Proxmox-Host/system.uptime)<0'
name: '{HOST.NAME} has just been restarted'
priority: INFO
- uuid: 8d2b1a44aae24f6a97fa2137f6270171
name: 'Number of logged in users'
key: system.users.num
history: 1w
description: 'Number of users who are currently logged in.'
request_method: POST
tags:
- tag: Application
value: OS
- tag: Application
value: Security
- uuid: 1c5d3c9031c8496c88fe2bcb25f52f03
name: 'Checksum of $1'
key: 'vfs.file.cksum[/etc/passwd]'
delay: 1h
history: 1w
request_method: POST
tags:
- tag: Application
value: Security
triggers:
- uuid: a25c8c3661e44716b21161187a350ebc
expression: '(last(/Template Proxmox-Host/vfs.file.cksum[/etc/passwd],#1)<>last(/Template Proxmox-Host/vfs.file.cksum[/etc/passwd],#2))>0'
name: '/etc/passwd has been changed on {HOST.NAME}'
priority: WARNING
- uuid: 9425f2ba1fe7442ba4a564da93da56a2
name: 'Available memory'
key: 'vm.memory.size[available]'
history: 1w
units: B
description: 'Available memory is defined as free+cached+buffers memory.'
request_method: POST
tags:
- tag: Application
value: Memory
triggers:
- uuid: 1d346ec876854756b3c585b82589417c
expression: 'last(/Template Proxmox-Host/vm.memory.size[available])<20M'
name: 'Lack of available memory on server {HOST.NAME}'
priority: AVERAGE
- uuid: 9b126c0dd2f14ad3aeb9c63f43a00c55
name: 'Total memory'
key: 'vm.memory.size[total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Memory
discovery_rules:
- uuid: c53010c6e97b47d2bc7f323b9e5e92fd
name: 'Network interface discovery'
key: net.if.discovery
delay: 1h
filter:
conditions:
- macro: '{#IFNAME}'
value: '@Network interfaces for discovery'
formulaid: A
description: 'Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".'
item_prototypes:
- uuid: 6661a3aa399c4d848f5461a9af5cadcb
name: 'Incoming network traffic on $1'
key: 'net.if.in[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
request_method: POST
tags:
- tag: Application
value: 'Network interfaces'
- uuid: 6860c5da56ca4c4ab7bef10160177c99
name: 'Outgoing network traffic on $1'
key: 'net.if.out[{#IFNAME}]'
history: 1w
units: bps
preprocessing:
- type: CHANGE_PER_SECOND
parameters:
- ''
- type: MULTIPLIER
parameters:
- '8'
request_method: POST
tags:
- tag: Application
value: 'Network interfaces'
graph_prototypes:
- uuid: 56a7804a9b9542b9b64b6bf50a810d29
name: 'Network traffic on {#IFNAME}'
ymin_type_1: FIXED
graph_items:
- drawtype: GRADIENT_LINE
color: 00AA00
item:
host: 'Template Proxmox-Host'
key: 'net.if.in[{#IFNAME}]'
- sortorder: '1'
drawtype: GRADIENT_LINE
color: 3333FF
item:
host: 'Template Proxmox-Host'
key: 'net.if.out[{#IFNAME}]'
request_method: POST
- uuid: f2213d1ec382460eae55783a73fc6df1
name: 'Mounted filesystem discovery'
key: vfs.fs.discovery
delay: 1h
filter:
conditions:
- macro: '{#FSTYPE}'
value: '@File systems for discovery'
formulaid: A
description: 'Discovery of file systems of different types as defined in global regular expression "File systems for discovery".'
item_prototypes:
- uuid: 8e0dd20f26f945c8bd07e96fb11c7d06
name: 'Free inodes on $1 (percentage)'
key: 'vfs.fs.inode[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Filesystems
trigger_prototypes:
- uuid: ded69d37655b45a38f89f7c107f0d056
expression: 'last(/Template Proxmox-Host/vfs.fs.inode[{#FSNAME},pfree])<20'
name: 'Free inodes is less than 20% on volume {#FSNAME}'
priority: WARNING
- uuid: f43bcb6ad33f42338be17a6cae9b25b6
name: 'Free disk space on $1'
key: 'vfs.fs.size[{#FSNAME},free]'
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
- uuid: e9479d8fe3dc4432b01356814fbe617b
name: 'Free disk space on $1 (percentage)'
key: 'vfs.fs.size[{#FSNAME},pfree]'
history: 1w
value_type: FLOAT
units: '%'
request_method: POST
tags:
- tag: Application
value: Filesystems
trigger_prototypes:
- uuid: cf90ab00ea51462a97a1b646ee6e67b8
expression: 'last(/Template Proxmox-Host/vfs.fs.size[{#FSNAME},pfree])<10'
name: 'Free disk space is less than 20% on volume {#FSNAME}'
priority: WARNING
- uuid: e4672c181f7645438433ee446af98119
name: 'Total disk space on $1'
key: 'vfs.fs.size[{#FSNAME},total]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
- uuid: 15b6bb1ce50d4bdab5b21601307f0e6b
name: 'Used disk space on $1'
key: 'vfs.fs.size[{#FSNAME},used]'
delay: 1h
history: 1w
units: B
request_method: POST
tags:
- tag: Application
value: Filesystems
graph_prototypes:
- uuid: 1607fd2d82454e4a9c68695acb592f54
name: 'Disk space usage {#FSNAME}'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
graph_items:
- color: 00C800
item:
host: 'Template Proxmox-Host'
key: 'vfs.fs.size[{#FSNAME},free]'
- sortorder: '1'
color: C80000
type: GRAPH_SUM
item:
host: 'Template Proxmox-Host'
key: 'vfs.fs.size[{#FSNAME},total]'
request_method: POST
dashboards:
- uuid: ef8d74bc14aa4633bc2989ca9cb0617d
name: 'System performance'
pages:
- widgets:
- type: graph
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'CPU load'
- type: graph
x: '12'
width: '12'
height: '5'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'CPU utilization'
- type: graph
'y': '5'
width: '12'
height: '7'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'Memory usage'
- type: graph
x: '12'
'y': '5'
width: '12'
height: '7'
fields:
- type: GRAPH
name: graphid
value:
host: 'Template Proxmox-Host'
name: 'Swap usage'
graphs:
- uuid: 625ce72ef1e242e7bb4c9d7161a4f6d0
name: 'Apps Data Size'
graph_items:
- color: 6666FF
item:
host: 'Template Proxmox-Host'
key: dir_size.email
- sortorder: '1'
color: 33FF33
item:
host: 'Template Proxmox-Host'
key: dir_size.lufi
- sortorder: '2'
color: FF3333
item:
host: 'Template Proxmox-Host'
key: dir_size.matrix
- sortorder: '3'
color: CCCC00
item:
host: 'Template Proxmox-Host'
key: dir_size.owncloud
- uuid: 56fbb2d1c85f434b824354de16012fff
name: 'CPU jumps'
graph_items:
- color: '009900'
item:
host: 'Template Proxmox-Host'
key: system.cpu.switches
- sortorder: '1'
color: '000099'
item:
host: 'Template Proxmox-Host'
key: system.cpu.intr
- uuid: f60fd6225544499f8a7912b2073f60d2
name: 'CPU load'
ymin_type_1: FIXED
graph_items:
- color: 8BC34A
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.load[all,avg1]'
- sortorder: '1'
color: 039BE5
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.load[all,avg5]'
- sortorder: '2'
color: F44336
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.load[all,avg15]'
- uuid: 0aefef6247db470288f74eaefafdfe43
name: 'CPU utilization'
show_triggers: 'NO'
type: STACKED
ymin_type_1: FIXED
ymax_type_1: FIXED
graph_items:
- drawtype: FILLED_REGION
color: FF5555
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,steal]'
- sortorder: '1'
drawtype: FILLED_REGION
color: 55FF55
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,softirq]'
- sortorder: '2'
drawtype: FILLED_REGION
color: '009999'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,interrupt]'
- sortorder: '3'
drawtype: FILLED_REGION
color: '990099'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,nice]'
- sortorder: '4'
drawtype: FILLED_REGION
color: '999900'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,iowait]'
- sortorder: '5'
drawtype: FILLED_REGION
color: '990000'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,system]'
- sortorder: '6'
drawtype: FILLED_REGION
color: '000099'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,user]'
- sortorder: '7'
drawtype: FILLED_REGION
color: '009900'
item:
host: 'Template Proxmox-Host'
key: 'system.cpu.util[,idle]'
- uuid: bb195218041c43e2b3e9a014dc7782a9
name: 'Memory usage'
ymin_type_1: FIXED
ymax_type_1: ITEM
ymax_item_1:
host: 'Template Proxmox-Host'
key: 'vm.memory.size[total]'
graph_items:
- drawtype: GRADIENT_LINE
color: 00C800
item:
host: 'Template Proxmox-Host'
key: 'vm.memory.size[available]'
- uuid: 5269d07722ed40f5be8e65b8bedb53f0
name: 'Swap usage'
width: '600'
height: '340'
show_work_period: 'NO'
show_triggers: 'NO'
type: PIE
show_3d: 'YES'
graph_items:
- color: AA0000
type: GRAPH_SUM
item:
host: 'Template Proxmox-Host'
key: 'system.swap.size[,total]'
- sortorder: '1'
color: 00AA00
item:
host: 'Template Proxmox-Host'
key: 'system.swap.size[,free]'