5.0
2021-09-22T16:03:32Z
Modèles
Template_OS_Linux_minimal
Template_OS_Linux_minimal
Modèles
Applications
Disks
Hardware
Integrity
LVM
Mémoire
Network
Processor
Various
-
TCP ping of the agent
agent.ping
5m
30d
180d
Service state
POST
-
Zabbix agent version
agent.version
2h
30d
0
CHAR
Applications
POST
-
Opened files limit
kernel.maxfiles
1h
60d
1095d
Fichiers
DISCARD_UNCHANGED_HEARTBEAT
1d
POST
-
Max number of processes
kernel.maxproc
1h
60d
1095d
!process
DISCARD_UNCHANGED_HEARTBEAT
1d
POST
-
Opened files
kernel.openedfiles
5m
60d
1095d
Fichiers
POST
-
TCP response from the agent
SIMPLE
net.tcp.service[tcp,,{$ZBX_AGENT_PORT}]
5m
30d
0
Network
POST
-
Number of active processes
proc.num[,,run]
3m
60d
1095d
POST
{min(300)}>{$MAX_RUNNING_PROCESSES}
Lots of active processes
AVERAGE
-
Number of processes
proc.num[]
5m
60d
1095d
POST
{last(0)}>{$MAX_PROCESSES} and {last(#2)}>{$MAX_PROCESSES}
RECOVERY_EXPRESSION
{last(0)}<({$MAX_PROCESSES}-20)
Lots of processes
AVERAGE
-
CPU load
system.cpu.load[,avg1]
60d
1095d
FLOAT
Processor
POST
-
CPU load (5min)
system.cpu.load[,avg5]
5m
60d
1095d
FLOAT
Processor
POST
-
CPU load (15min)
system.cpu.load[,avg15]
15m
60d
1095d
FLOAT
Processor
POST
-
Number of CPU
system.cpu.num[]
1d
60d
1095d
cpu
Processor
POST
-
CPU context switch
system.cpu.switches
2m
60d
1095d
Processor
CHANGE_PER_SECOND
POST
-
CPU usage: $2
system.cpu.util[,interrupt,avg1]
60d
1095d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,iowait,avg1]
60d
1095d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,nice,avg1]
60d
1095d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,softirq,avg1]
60d
1095d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,system,avg1]
60d
1095d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,user,avg1]
60d
1095d
FLOAT
%
Processor
POST
-
Hostname
system.hostname
2h
15d
0
TEXT
Network
POST
-
Swapped in pages
system.swap.in[,pages]
3m
60d
1095d
pages/s
Mémoire
CHANGE_PER_SECOND
POST
-
Swapped out pages
system.swap.out[,pages]
3m
60d
1095d
pages/s
Mémoire
CHANGE_PER_SECOND
POST
-
Swap: Free
system.swap.size[,free]
3m
60d
1095d
B
Mémoire
POST
-
Swap : Free %
system.swap.size[,pfree]
3m
60d
1095d
FLOAT
%
Mémoire
POST
-
Swap: Used %
system.swap.size[,pused]
3m
60d
1095d
FLOAT
%
Mémoire
POST
-
Swap: Total
system.swap.size[,total]
1h
60d
1095d
B
Mémoire
DISCARD_UNCHANGED_HEARTBEAT
6h
POST
-
Swap: Used
system.swap.size[,used]
3m
60d
1095d
B
Mémoire
POST
-
Uptime
system.uptime
10m
60d
1095d
s
POST
-
Connected users
system.users.num
5m
60d
1095d
POST
{last(0)}>{$MAX_USERS}
Lots of connected users
WARNING
-
$1 hash
vfs.file.md5sum[/bin/bash]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/bash changed
WARNING
Le hash du fichier a été modifié
YES
-
$1 hash
vfs.file.md5sum[/bin/cat]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/cat changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/bin/cp]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/cp changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/bin/ln]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/ln changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/bin/ls]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/ls changed
WARNING
Le hash du fichier a été modifié
YES
-
$1 hash
vfs.file.md5sum[/bin/mkdir]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/mkdir changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/bin/mv]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/mv changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/bin/rm]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/rm changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/bin/touch]
30m
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/bin/touch changed
WARNING
YES
-
$1 hash
vfs.file.md5sum[/etc/nsswitch.conf]
1h
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/etc/nsswitch.conf changed
INFO
YES
-
$1 hash
vfs.file.md5sum[/etc/passwd]
1h
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/etc/passwd changed
INFO
YES
-
$1 hash
vfs.file.md5sum[/etc/services]
1h
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/etc/services changed
INFO
YES
-
Memory: Used %
CALCULATED
vm.memory.size.pused
3m
60d
1095d
FLOAT
%
100-last("vm.memory.size[pavailable]")
Mémoire
POST
-
Memory: Used
CALCULATED
vm.memory.size.used
3m
60d
1095d
B
last("vm.memory.size[total]")-last("vm.memory.size[available]")
Mémoire
POST
-
Memory: Available
vm.memory.size[available]
3m
60d
1095d
B
Mémoire
-
Memory: Buffers
vm.memory.size[buffers]
3m
60d
1095d
B
Mémoire
POST
-
Memory: Cache
vm.memory.size[cached]
3m
60d
1095d
B
Mémoire
POST
-
Memory: Free
vm.memory.size[free]
3m
60d
1095d
B
Mémoire
POST
-
Memory: Available %
vm.memory.size[pavailable]
3m
60d
1095d
FLOAT
%
Mémoire
-
Memory: Total
vm.memory.size[total]
3m
60d
1095d
B
Mémoire
DISCARD_UNCHANGED_HEARTBEAT
4h
POST
SMART capable disk discovery
hardware.disk.smart.discovery
3600
{#SMARTDRIVE}
dev
A
1w
SMART: {#SMARTDRIVE}: $2
hardware.disk.smart[{#SMARTDRIVE},Current_Pending_Sector]
30m
60d
1095d
Disks
POST
SMART: {#SMARTDRIVE}: $2
hardware.disk.smart[{#SMARTDRIVE},Offline_Uncorrectable]
30m
60d
1095d
Disks
POST
SMART: {#SMARTDRIVE}: $2
hardware.disk.smart[{#SMARTDRIVE},Power_Cycle_Count]
1h
60d
1095d
Disks
POST
SMART: {#SMARTDRIVE}: $2
hardware.disk.smart[{#SMARTDRIVE},Power_On_Hours]
1h
60d
1095d
s
Disks
MULTIPLIER
3600
POST
SMART: {#SMARTDRIVE}: $2
hardware.disk.smart[{#SMARTDRIVE},Reallocated_Sector_Ct]
30m
60d
1095d
Disks
POST
{change(0)}>0
{ITEM.LASTVALUE1} reallocated sectors on {#SMARTDRIVE}
AVERAGE
{last(0)}>{$MAX_REALLOCATED}
{ITEM.LASTVALUE1} reallocated sectors on {#SMARTDRIVE}
HIGH
{Template_OS_Linux_minimal:hardware.disk.smart[{#SMARTDRIVE},Offline_Uncorrectable].last(0)}>{$MAX_UNCORRECTABLE} or {Template_OS_Linux_minimal:hardware.disk.smart[{#SMARTDRIVE},Current_Pending_Sector].last(0)}>{$MAX_PENDING}
{ITEM.LASTVALUE1} uncorrectable sectors on {#SMARTDRIVE}
HIGH
POST
Temperature sensors discovery
hardware.sensor.discovery
1800
10d
Temperature $1
hardware.sensor[{#SENSORNAME}]
5m
60d
1095d
FLOAT
°C
Hardware
POST
{last(0)}>{#SENSORTHRESHIGH}
RECOVERY_EXPRESSION
{last(0)}<{#SENSORTHRESLOW}
High temperature for {#SENSORNAME}: {ITEM.LASTVALUE1}
AVERAGE
YES
POST
Fan sensors discovery
hardware.sensor.discovery[fan]
1h
10d
Rotation speed for {#SENSORNAME}
hardware.sensor[{#SENSORNAME},fan]
10m
60d
1095d
FLOAT
rpm
Hardware
POST
{last()}<{#SENSORTHRESLOW}
RECOVERY_EXPRESSION
{last()}>{#SENSORTHRESHIGH}
Low fan {#SENSORNAME} speed: {ITEM.LASTVALUE1}
AVERAGE
YES
{Template_OS_Linux_minimal:hardware.sensor[{#SENSORNAME},fan].nodata(3600)}=1 and {Template_OS_Linux_minimal:net.tcp.service[tcp,,{$ZBX_AGENT_PORT}].min(1800)}>0
No sensors data collected for {#SENSORNAME}
WARNING
POST
Power sensors discovery
hardware.sensor.discovery[power]
2h
10d
Power consumption ({#SENSORNAME})
hardware.sensor[{#SENSORNAME},power]
10m
60d
1095d
{#SENSORUNIT}
Hardware
POST
POST
Network interfaces discovery
net.if.discovery
1800
{#IFNAME}
@decouverte_interfaces_rzo
A
1d
Inbound trafic for {#IFNAME}
net.if.in[{#IFNAME},bytes]
60d
1095d
FLOAT
bps
Network
CHANGE_PER_SECOND
MULTIPLIER
8
POST
Errors on inbound trafic for {#IFNAME}
net.if.in[{#IFNAME},errors]
15m
60d
1095d
FLOAT
errors
Network
CHANGE_PER_SECOND
POST
Outbound trafic for {#IFNAME}
net.if.out[{#IFNAME},bytes]
60d
1095d
FLOAT
bps
Network
CHANGE_PER_SECOND
MULTIPLIER
-8
POST
Errors on outbound trafic for {#IFNAME}
net.if.out[{#IFNAME},errors]
15m
60d
1095d
FLOAT
errors
Network
CHANGE_PER_SECOND
MULTIPLIER
-1
POST
Network: trafic: {#IFNAME}
FILLED_REGION
009900
-
Template_OS_Linux_minimal
net.if.in[{#IFNAME},bytes]
1
FILLED_REGION
FF6666
-
Template_OS_Linux_minimal
net.if.out[{#IFNAME},bytes]
2
BOLD_LINE
EE00EE
RIGHT
-
Template_OS_Linux_minimal
net.if.in[{#IFNAME},errors]
3
BOLD_LINE
C800C8
RIGHT
-
Template_OS_Linux_minimal
net.if.out[{#IFNAME},errors]
POST
Block device discovery
vfs.dev.discovery
900
{#DEVNAME}
@decouverte_block_dev
A
1h
Read operations on {#DEVNAME}
vfs.dev.read[{#DEVNAME},ops]
2m
60d
1095d
FLOAT
iops
Disks
POST
Reads on {#DEVNAME}
vfs.dev.read[{#DEVNAME},sectors]
2m
60d
1095d
FLOAT
B/s
Disks
CHANGE_PER_SECOND
MULTIPLIER
512
POST
Write operations on {#DEVNAME}
vfs.dev.write[{#DEVNAME},ops]
2m
60d
1095d
FLOAT
iops
Disks
MULTIPLIER
-1
POST
Writes on {#DEVNAME}
vfs.dev.write[{#DEVNAME},sectors]
2m
60d
1095d
FLOAT
B/s
Disks
CHANGE_PER_SECOND
MULTIPLIER
-512
POST
POST
Filesystem discovery
vfs.fs.discovery
600
AND
{#FSTYPE}
@decouverte_fs
B
{#FSNAME}
@decouverte_mp
A
10d
Free inodes on {#FSNAME}
vfs.fs.inode[{#FSNAME},free]
10m
60d
1095d
inodes
Disks
POST
Used inodes on {#FSNAME} (%)
vfs.fs.inode[{#FSNAME},pused]
15m
60d
1095d
FLOAT
%
Disks
POST
{last(0)}>{$INODE_WARN}
RECOVERY_EXPRESSION
{last(0)}<({$INODE_WARN}-2)
{#FSNAME} is using {ITEM.LASTVALUE1} of available inodes
WARNING
{#FSNAME} is {ITEM.LASTVALUE1} used
{Template_OS_Linux_minimal:vfs.fs.size[{#FSNAME},pused].last(0)}>{$DF_CRITICAL}
{Template_OS_Linux_minimal:vfs.fs.size[{#FSNAME},pused].last(0)}<({$DF_CRITICAL}-2)
Used inodes on {#FSNAME}
vfs.fs.inode[{#FSNAME},used]
15m
60d
1095d
inodes
Disks
POST
Free space on {#FSNAME}
vfs.fs.size[{#FSNAME},free]
10m
60d
1095d
B
Disks
POST
Used space on {#FSNAME} (%)
vfs.fs.size[{#FSNAME},pused]
10m
60d
1095d
FLOAT
%
Disks
POST
{last(0)}>{$DF_WARN}
RECOVERY_EXPRESSION
{last(0)}<({$DF_WARN}-2)
{#FSNAME} is {ITEM.LASTVALUE1} full
WARNING
YES
{#FSNAME} is {ITEM.LASTVALUE1} used
{Template_OS_Linux_minimal:vfs.fs.size[{#FSNAME},pused].last(0)}>{$DF_CRITICAL}
{Template_OS_Linux_minimal:vfs.fs.size[{#FSNAME},pused].last(0)}<({$DF_CRITICAL}-2)
{last(0)}>{$DF_CRITICAL}
RECOVERY_EXPRESSION
{last(0)}<({$DF_CRITICAL}-2)
{#FSNAME} is {ITEM.LASTVALUE1} used
AVERAGE
YES
Used space on {#FSNAME}
vfs.fs.size[{#FSNAME},used]
10m
60d
1095d
B
Disks
POST
POST
LVM volume group discovery
vfs.lvm.discovery[groups]
4h
1d
LVM: Volume group {#LVMGRP} allocated %
CALCULATED
vfs.lvm.vg[{#LVMGRP},alloc_ct]
15m
60d
1095d
FLOAT
%
100*last("vfs.lvm.vg[{#LVMGRP},alloc_pe_size]")/last("vfs.lvm.vg[{#LVMGRP},vg_size]")
Disks
LVM
LVM: Volume group {#LVMGRP} allocated size
DEPENDENT
vfs.lvm.vg[{#LVMGRP},alloc_pe_size]
0
60d
1095d
B
Disks
LVM
JSONPATH
$.alloc_pe_size
vfs.lvm.vg[{#LVMGRP},]
LVM: Volume group {#LVMGRP} number of logical volumes
DEPENDENT
vfs.lvm.vg[{#LVMGRP},cur_lv]
0
60d
1095d
!lv
Disks
LVM
JSONPATH
$.cur_lv
vfs.lvm.vg[{#LVMGRP},]
LVM: Volume group {#LVMGRP} size
DEPENDENT
vfs.lvm.vg[{#LVMGRP},vg_size]
0
60d
1095d
B
Disks
LVM
JSONPATH
$.vg_size
vfs.lvm.vg[{#LVMGRP},]
LVM: Volume group {#LVMGRP} info
vfs.lvm.vg[{#LVMGRP},]
15m
0
0
TEXT
Disks
LVM
LVM snapshot discovery
vfs.lvm.discovery[snapshots]
300
{#LVMSNAP}
^\/dev\/
A
1d
LVM: {#LVMSNAP} allocation
vfs.lvm.lv[{#LVMSNAP},allocation]
10m
60d
1095d
FLOAT
%
Disks
POST
{last(0)}>80
LVM snapshot {#LVMSNAP} uses {ITEM.LASTVALUE1} of its allocated space
HIGH
YES
POST
LVM thin pool discovery
vfs.lvm.discovery[thin_pools]
3600
{#LVMTHINP}
^\/dev\/
A
1d
Metadata allocation for pool {#LVMTHINP}
vfs.lvm.lv[{#LVMTHINP},allocation_metadata]
10m
60d
1095d
FLOAT
%
Disks
POST
{last(0)}>80
Metadata allocation for pool {#LVMTHINP} reached {ITEM.LASTVALUE1}
AVERAGE
Data allocation for pool {#LVMTHINP}
vfs.lvm.lv[{#LVMTHINP},allocation_pool_data]
10m
60d
1095d
FLOAT
%
Disks
POST
{last(0)}>{$LVM_THIN_POOL_ALLOC_WARN}
Data allocation for pool {#LVMTHINP} reached {ITEM.LASTVALUE1}
AVERAGE
POST
{$DF_CRITICAL}
95
{$DF_WARN}
90
{$INODE_WARN}
80
{$LOAD_COEF}
1
{$LVM_THIN_POOL_ALLOC_WARN}
80
{$MAX_PENDING}
0
{$MAX_PROCESSES}
250
{$MAX_REALLOCATED}
50
{$MAX_RUNNING_PROCESSES}
15
{$MAX_UNCORRECTABLE}
0
{$MAX_USED_FD_PCT}
75
{$MAX_USERS}
5
{$SWAP_CRITICAL}
80
{$SWAP_WARN}
50
{$ZBX_AGENT_PORT}
10050
{$ZBX_UNREACHABLE_TIMEOUT}
600
{$ZFS_QUOTA_WARN}
80
{$ZFS_ZPOOL_ALLOC_CRITICAL}
90
{$ZFS_ZPOOL_ALLOC_WARN}
80
({Template_OS_Linux_minimal:system.cpu.load[,avg1].avg(900)}>({Template_OS_Linux_minimal:system.cpu.num[].last(0)}*3*{$LOAD_COEF})) or ({Template_OS_Linux_minimal:system.cpu.load[,avg5].avg(1800)}>({Template_OS_Linux_minimal:system.cpu.num[].last(0)}*2.5*{$LOAD_COEF})) or ({Template_OS_Linux_minimal:system.cpu.load[,avg15].avg(7200)}>({Template_OS_Linux_minimal:system.cpu.num[].last(0)}*1.2*{$LOAD_COEF}))
High CPU load
INFO
{Template_OS_Linux_minimal:kernel.openedfiles.last()}*100/{Template_OS_Linux_minimal:kernel.maxfiles.last()}>{$MAX_USED_FD_PCT}
Opened files is near its limit ({ITEM.LASTVALUE1}/{ITEM.LASTVALUE2})
WARNING
{Template_OS_Linux_minimal:vm.memory.size.pused.last(0)}>90 and {Template_OS_Linux_minimal:system.swap.size[,pused].avg(600)}>{$SWAP_WARN}
Swap usage
WARNING
Very high swap usage
{Template_OS_Linux_minimal:system.swap.size[,pused].last(0)}>{$SWAP_CRITICAL} and {Template_OS_Linux_minimal:vm.memory.size.pused.last(0)}>90
{Template_OS_Linux_minimal:system.swap.size[,pused].last(0)}>{$SWAP_CRITICAL} and {Template_OS_Linux_minimal:vm.memory.size.pused.last(0)}>90
Very high swap usage
HIGH
System: CPU Load
FF0000
-
Template_OS_Linux_minimal
system.cpu.load[,avg15]
1
FFFF33
-
Template_OS_Linux_minimal
system.cpu.load[,avg5]
2
009900
-
Template_OS_Linux_minimal
system.cpu.load[,avg1]
3
0000DD
RIGHT
-
Template_OS_Linux_minimal
system.cpu.switches
System: CPU Usage
STACKED
FIXED
FIXED
FILLED_REGION
FF33FF
-
Template_OS_Linux_minimal
system.cpu.util[,interrupt,avg1]
1
FILLED_REGION
FF0000
-
Template_OS_Linux_minimal
system.cpu.util[,system,avg1]
2
FILLED_REGION
CCFFFF
-
Template_OS_Linux_minimal
system.cpu.util[,iowait,avg1]
3
FILLED_REGION
66FF66
-
Template_OS_Linux_minimal
system.cpu.util[,softirq,avg1]
4
FFFF00
-
Template_OS_Linux_minimal
system.cpu.util[,user,avg1]
5
0000EE
-
Template_OS_Linux_minimal
system.cpu.util[,nice,avg1]
System: Memory
STACKED
FIXED
0000CC
-
Template_OS_Linux_minimal
vm.memory.size.used
1
9999FF
-
Template_OS_Linux_minimal
vm.memory.size[buffers]
2
009900
-
Template_OS_Linux_minimal
vm.memory.size[cached]
3
CCFFFF
-
Template_OS_Linux_minimal
vm.memory.size[free]
System: Processes
FIXED
FILLED_REGION
FFFF33
-
Template_OS_Linux_minimal
proc.num[]
1
FILLED_REGION
EE0000
RIGHT
-
Template_OS_Linux_minimal
proc.num[,,run]
System: Swap
FIXED
GRADIENT_LINE
0000DD
-
Template_OS_Linux_minimal
system.swap.size[,used]
1
000000
-
Template_OS_Linux_minimal
system.swap.size[,total]
2
EE0000
RIGHT
-
Template_OS_Linux_minimal
system.swap.out[,pages]
3
00EE00
RIGHT
-
Template_OS_Linux_minimal
system.swap.in[,pages]
System: Uptime
FILLED_REGION
FF0000
-
Template_OS_Linux_minimal
system.uptime
Service state
0
Down
1
Up