5.0
2020-10-20T16:41:47Z
Modèles
Templates
Template_OS_Linux_Server
Template_OS_Linux_Server
Template_App_Multipath
Template_OS_Linux_minimal
Template_Ping
Modèles
Templates
System
-
Number of sshd processes
proc.num[sshd]
15m
30d
0
Applications
POST
{last(0)}<1
le démon sshd n'est pas en fonctionnement
AVERAGE
-
UTC time
system.localtime
15m
30d
0
System
POST
{fuzzytime(180)}=0
RECOVERY_EXPRESSION
{fuzzytime(120)}=1
Important time shift
WARNING
-
$1 hash
vfs.file.md5sum[/usr/sbin/sshd]
30m
30d
0
CHAR
Integrity
DISCARD_UNCHANGED_HEARTBEAT
1d
POST
{diff(0)}>0
/usr/sbin/sshd changed
WARNING
YES
Découverte onduleurs
hardware.ups.discovery[]
1800
1d
UPS: Taux de charge de la batterie pour {#UPSNAME}
hardware.ups[{#UPSNAME},battery.charge]
1825d
%
Hardware
POST
UPS: Charge de l'onduleur {#UPSNAME}
hardware.ups[{#UPSNAME},ups.load]
1825d
FLOAT
%
Hardware
POST
{last(0)}>90
l'onduleur {#UPSNAME} est en surcharge
AVERAGE
UPS: État de l'onduleur {#UPSNAME}
hardware.ups[{#UPSNAME},ups.status]
0
CHAR
Hardware
POST
{str(OB)}=0 and {str(LB)}=0 and {str(OL)}=0 and {str(RB)}=0 and {strlen(0)}<>0 or ({strlen(0)}=0 and {strlen(#2)}=0)
L'onduleur {#UPSNAME} est dans l'état {ITEM.LASTVALUE1}
WARNING
{str(OB)}=1 or {str(LB)}=1
l'onduleur {#UPSNAME} fonctionne sur batterie
AVERAGE
{#UPSNAME} a un niveau de batterie faible
{Template_OS_Linux_Server:hardware.ups[{#UPSNAME},ups.status].str(LB)}=1
{str(RB)}=1
la batterie de l'onduleur {#UPSNAME} est défectueuse
AVERAGE
{str(LB)}=1
{#UPSNAME} a un niveau de batterie faible
HIGH
{Template_OS_Linux_Server:hardware.ups[{#UPSNAME},ups.status].nodata(15m)}=1 and {Template_OS_Linux_Server:agent.ping.nodata(15m)}=0 and {Template_OS_Linux_Server:net.tcp.service[tcp,,{$ZBX_AGENT_PORT}].min(1800)}>0
l'onduleur {#UPSNAME} ne remonte plus d'information
WARNING
Alerte si comm avec l'agent est OK, mais plus de news de l'onduleur
No ping response from {HOST.IP1}
{Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}>={$PING_ALERT_FROM_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}<={$PING_ALERT_TO_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}>={$PING_ALERT_FROM_HOUR} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}<={$PING_ALERT_TO_HOUR}
{Template_OS_Linux_Server:icmpping[,2,,,2000].sum(180)}>3
Unreachable Zabbix agent
{Template_OS_Linux_Server:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1 and {Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(120,strict)} = 0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum(120)}>0
POST
Apache httpd discovery
httpd.discovery
2h
10d
httpd: Info
httpd[{#HTTPD_STATUS_URI},all]
5m
0
0
TEXT
POST
httpd: Busy workers
DEPENDENT
httpd[{#HTTPD_STATUS_URI},busyworkers]
0
1825d
Applications
JSONPATH
$.busyworkers
httpd[{#HTTPD_STATUS_URI},all]
POST
httpd: Average requests size
DEPENDENT
httpd[{#HTTPD_STATUS_URI},bytesperreq]
0
1825d
FLOAT
B
Applications
JSONPATH
$.bytesperreq
httpd[{#HTTPD_STATUS_URI},all]
POST
httpd: Bandwidth
DEPENDENT
httpd[{#HTTPD_STATUS_URI},bytespersec]
0
1825d
FLOAT
b/s
Applications
Network
JSONPATH
$.total_kbytes
CHANGE_PER_SECOND
MULTIPLIER
8192
httpd[{#HTTPD_STATUS_URI},all]
POST
httpd: Idle workers
DEPENDENT
httpd[{#HTTPD_STATUS_URI},idleworkers]
0
1825d
Applications
JSONPATH
$.idleworkers
httpd[{#HTTPD_STATUS_URI},all]
POST
httpd: Requests per sec
DEPENDENT
httpd[{#HTTPD_STATUS_URI},reqpersec]
0
1825d
FLOAT
r/s
Applications
JSONPATH
$.total_accesses
CHANGE_PER_SECOND
httpd[{#HTTPD_STATUS_URI},all]
POST
Service: {#HTTPD_STATUS_URI}: Processes
1A7C11
-
Template_OS_Linux_Server
httpd[{#HTTPD_STATUS_URI},idleworkers]
1
2774A4
-
Template_OS_Linux_Server
httpd[{#HTTPD_STATUS_URI},busyworkers]
Service: {#HTTPD_STATUS_URI}: Requests
GRADIENT_LINE
F63100
-
Template_OS_Linux_Server
httpd[{#HTTPD_STATUS_URI},bytespersec]
1
BOLD_LINE
0000EE
RIGHT
-
Template_OS_Linux_Server
httpd[{#HTTPD_STATUS_URI},reqpersec]
2
DASHED_LINE
00EE00
-
Template_OS_Linux_Server
httpd[{#HTTPD_STATUS_URI},bytesperreq]
POST
Nginx discovery
nginx.discovery
2h
10d
Nginx: Active connections
DEPENDENT
nginx.status.dep[{#NGINX_STATUS_URI},active_conn]
0
180d
1825d
Applications
JSONPATH
$.active_connections
nginx.status[{#NGINX_STATUS_URI},all]
POST
Nginx: Connection per sec
DEPENDENT
nginx.status.dep[{#NGINX_STATUS_URI},conn_per_sec]
0
180d
1825d
FLOAT
c/s
Applications
JSONPATH
$.total_connections
CHANGE_PER_SECOND
nginx.status[{#NGINX_STATUS_URI},all]
POST
Nginx: Keepalive connections
DEPENDENT
nginx.status.dep[{#NGINX_STATUS_URI},keep_alive_conn]
0
180d
1825d
Applications
JSONPATH
$.keep_alive
nginx.status[{#NGINX_STATUS_URI},all]
POST
Nginx: Requests per sec
DEPENDENT
nginx.status.dep[{#NGINX_STATUS_URI},req_per_sec]
0
180d
1825d
FLOAT
r/s
Applications
JSONPATH
$.total_requests
CHANGE_PER_SECOND
nginx.status[{#NGINX_STATUS_URI},all]
POST
Nginx: Info
nginx.status[{#NGINX_STATUS_URI},all]
5m
0
0
TEXT
POST
Service: {#NGINX_STATUS_URI}: Requests
DASHED_LINE
1A7C11
-
Template_OS_Linux_Server
nginx.status.dep[{#NGINX_STATUS_URI},conn_per_sec]
1
GRADIENT_LINE
F63100
-
Template_OS_Linux_Server
nginx.status.dep[{#NGINX_STATUS_URI},req_per_sec]
2
2774A4
RIGHT
-
Template_OS_Linux_Server
nginx.status.dep[{#NGINX_STATUS_URI},active_conn]
3
000000
RIGHT
-
Template_OS_Linux_Server
nginx.status.dep[{#NGINX_STATUS_URI},keep_alive_conn]
POST
PVE nodes discovery
pve.discovery[nodes,ping]
1h
1h
Latence du node {#PVE_NODE_NAME}
DEPENDENT
net.icmp.info[{#PVE_NODE_IP},latency]
0
1825d
FLOAT
s
Latency
Network
JSONPATH
$.latency
net.icmp[{#PVE_NODE_IP},all]
{avg(10m)}>{$PVE_NODE_MAX_LATENCY}
High latency with {#PVE_NODE_NAME}
WARNING
Taux de perte de ping pour le node {#PVE_NODE_NAME}
DEPENDENT
net.icmp.info[{#PVE_NODE_IP},loss]
0
1825d
FLOAT
%
Latency
Network
JSONPATH
$.loss
net.icmp[{#PVE_NODE_IP},all]
{avg(15m)}>{$PVE_NODE_MAX_LOSS}
Ping loss with {#PVE_NODE_NAME}
WARNING
Ping du node {#PVE_NODE_NAME}
DEPENDENT
net.icmp.info[{#PVE_NODE_IP},respond]
0
1825d
Latency
Network
JSONPATH
$.respond
net.icmp[{#PVE_NODE_IP},all]
Stat ICMP du node {#PVE_NODE_NAME}
net.icmp[{#PVE_NODE_IP},all]
5s
0
0
TEXT
Latency
Network
Réponse du node {#PVE_NODE_NAME}
FIXED
GRADIENT_LINE
4CAF50
-
Template_OS_Linux_Server
net.icmp.info[{#PVE_NODE_IP},latency]
1
F63100
RIGHT
-
Template_OS_Linux_Server
net.icmp.info[{#PVE_NODE_IP},loss]
HP SmartArray RAID discovery
raid.hp.discovery
2h
10d
RAID status for slot {#SLOT}
raid.hp.status[{#SLOT}]
15m
30d
0
CHAR
Disks
Hardware
Integrity
POST
{nodata(1h)}=1
No monitoring for RAID slot {#SLOT}
WARNING
{str(OK)} = 0 or {str(CRITICAL)} = 1
RAID issue (controler {#MODEL}, slot {#SLOT})
HIGH
POST
megaraid RAID discovery
raid.mega.discovery
2h
1d
MegaRAID status ({#CONTROLLERNO})
raid.mega.status[{$MEGARAID_SPARES},{$MEGARAID_IGNORE_OTHER},{$MEGARAID_IGNORE_MEDIA},{#CONTROLLERNO}]
15m
0
CHAR
Disks
Hardware
POST
{str(CRITICAL)}=1
Degraded RAID on controler {#CONTROLLERNO}
HIGH
{str(OK: Drives:0)}=1 or ({str(OK)}=0 and {str(WARNING)}=0 and {str(CRITICAL)}=0)
RAID monitoring problem on {#CONTROLLERNO}
WARNING
{str(WARNING)}=1
RAID warning on controler {#CONTROLLERNO}
AVERAGE
{Template_OS_Linux_Server:raid.mega.status[{$MEGARAID_SPARES},{$MEGARAID_IGNORE_OTHER},{$MEGARAID_IGNORE_MEDIA},{#CONTROLLERNO}].nodata(1h)}=1 and {Template_OS_Linux_Server:net.tcp.service[tcp,,{$ZBX_AGENT_PORT}].min(1800)}>0
No monitoring for RAID controler {#CONTROLLERNO}
WARNING
No ping response from {HOST.IP1}
{Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}>={$PING_ALERT_FROM_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}<={$PING_ALERT_TO_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}>={$PING_ALERT_FROM_HOUR} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}<={$PING_ALERT_TO_HOUR}
{Template_OS_Linux_Server:icmpping[,2,,,2000].sum(180)}>3
Unreachable Zabbix agent
{Template_OS_Linux_Server:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1 and {Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(120,strict)} = 0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum(120)}>0
POST
mdadm RAID discovery
raid.sw.discovery
2h
{#STATUS}
active
A
10d
{#DEVICE} status
raid.sw.status[{#DEVICE}]
5m
30d
0
CHAR
Disks
Hardware
POST
{str(OK)}=0 and {str(WARNING)}=0
RAID volume {#DEVICE} is degraded
HIGH
{str(WARNING)}=1 and {$EXT_BACKUPS}=0
RAID volume {#DEVICE} is rebuilding
AVERAGE
{Template_OS_Linux_Server:raid.sw.status[{#DEVICE}].nodata(1h)}=1 and {Template_OS_Linux_Server:net.tcp.service[tcp,,{$ZBX_AGENT_PORT}].min(1800)}>0
No data from {#DEVICE}
WARNING
No ping response from {HOST.IP1}
{Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}>={$PING_ALERT_FROM_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}<={$PING_ALERT_TO_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}>={$PING_ALERT_FROM_HOUR} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}<={$PING_ALERT_TO_HOUR}
{Template_OS_Linux_Server:icmpping[,2,,,2000].sum(180)}>3
Unreachable Zabbix agent
{Template_OS_Linux_Server:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1 and {Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(120,strict)} = 0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum(120)}>0
POST
VDO volume discovery
vfs.vdo.discovery[volumes]
2h
10d
VDO: Info for {#VDO_VOL}
vfs.vdo.vol.all[{#VDO_VOL}]
10m
0
0
TEXT
Disks
VDO: {#VDO_VOL}: Operating Mode
DEPENDENT
vfs.vdo.vol.info[{#VDO_VOL},operating_mode]
0
0
CHAR
Disks
Integrity
JSONPATH
$.operating_mode
vfs.vdo.vol.all[{#VDO_VOL}]
{str(normal)}<>1
VDO volume {#VDO_VOL} is in {ITEM.LASTVALUE1} operating mode
HIGH
VDO: {#VDO_VOL}: Saving percent
DEPENDENT
vfs.vdo.vol.info[{#VDO_VOL},saving_percent]
0
1825d
%
Disks
Integrity
JSONPATH
$.saving_percent
vfs.vdo.vol.all[{#VDO_VOL}]
VDO: {#VDO_VOL}: Used percent
DEPENDENT
vfs.vdo.vol.info[{#VDO_VOL},used_percent]
0
1825d
%
Disks
Integrity
JSONPATH
$.used_percent
vfs.vdo.vol.all[{#VDO_VOL}]
{last()}>80
VDO volume {#VDO_VOL} almost full ({ITEM.LASTVALUE1})
HIGH
VDO: {#VDO_VOL}: Version
DEPENDENT
vfs.vdo.vol.info[{#VDO_VOL},version]
0
1825d
JSONPATH
$.version
vfs.vdo.vol.all[{#VDO_VOL}]
{diff()}=1
VDO volume {#VDO_VOL} version changed
WARNING
VDO: {#VDO_VOL}: Write Policy
DEPENDENT
vfs.vdo.vol.info[{#VDO_VOL},write_policy]
0
0
CHAR
Disks
JSONPATH
$.write_policy
vfs.vdo.vol.all[{#VDO_VOL}]
{diff()}=1
Write policy for vol {#VDO_VOL} changed
WARNING
Système: VDO: Occupation {#VDO_VOL}
FIXED
GRADIENT_LINE
1A7C11
-
Template_OS_Linux_Server
vfs.vdo.vol.info[{#VDO_VOL},used_percent]
1
F63100
-
Template_OS_Linux_Server
vfs.vdo.vol.info[{#VDO_VOL},saving_percent]
Zimbra services discovery
zimbra.discovery[services]
7200
10d
Status for {#ZM_SERVICE}
zimbra.status[{#ZM_SERVICE}]
15m
30d
0
Applications
{last()}<>1
Zimbra service {#ZM_SERVICE} isn't working
AVERAGE
{$EXT_BACKUPS}
0
{$MAX_PROCESSES}
500
{$MEGARAID_IGNORE_MEDIA}
0
{$MEGARAID_IGNORE_OTHER}
0
{$MEGARAID_SPARES}
0
{$PVE_NODE_MAX_LATENCY}
0.005
{$PVE_NODE_MAX_LOSS}
2
{$REBOOT_WARN_DAY}
7200
{$REBOOT_WARN_NIGHT}
21600
{$ZBX_UNREACHABLE_TIMEOUT}
600
{Template_OS_Linux_Server:agent.ping.nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1 and {Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(120,strict)} = 0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum(120)}>0
Unreachable Zabbix agent
DISASTER
No ping information received in last 3 minutes
{Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(180,strict)}=1
No ping response from {HOST.IP1}
{Template_OS_Linux_Server:icmpping[,2,,,2000].nodata(180,strict)}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}>={$PING_ALERT_FROM_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].dayofweek(0)}<={$PING_ALERT_TO_DAY} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}>={$PING_ALERT_FROM_HOUR} and {Template_OS_Linux_Server:icmpping[,2,,,2000].time(0)}<={$PING_ALERT_TO_HOUR}
{Template_OS_Linux_Server:icmpping[,2,,,2000].sum(180)}>3
({Template_OS_Linux_Server:system.uptime.last(0)}<{$REBOOT_WARN_DAY} and ({Template_OS_Linux_Server:system.uptime.last(0)}>090000 and {Template_OS_Linux_Server:system.uptime.last(0)}<230000)) or ({Template_OS_Linux_Server:system.uptime.last(0)}<{$REBOOT_WARN_NIGHT} and ({Template_OS_Linux_Server:system.uptime.last(0)}>230000 or {Template_OS_Linux_Server:system.uptime.last(0)}<090000))
{HOST.NAME} rebooted {ITEM.LASTVALUE1} ago
INFO
YES