4.4
2020-03-02T14:08:55Z
Modèles
Templates
Template_OS_PfSense2
Template_OS_PfSense2
Template_Ping
Modèles
Templates
Disks
Integrity
Memory
Network
Processor
Processus
-
TCP ping of the agent
agent.ping
5m
1825d
Network
Service state
POST
{nodata({$ZBX_UNREACHABLE_TIMEOUT})}=1
Unreachable Zabbix agent
DISASTER
No ping response from {HOST.IP1}
{Template_OS_PfSense2:icmpping[,2,,,2000].sum({$DOWN_CRITICAL})}=0 and {Template_OS_PfSense2:icmpping[,2,,,2000].dayofweek(0)}>={$PING_ALERT_FROM_DAY} and {Template_OS_PfSense2:icmpping[,2,,,2000].dayofweek(0)}<={$PING_ALERT_TO_DAY} and {Template_OS_PfSense2:icmpping[,2,,,2000].time(0)}>={$PING_ALERT_FROM_HOUR} and {Template_OS_PfSense2:icmpping[,2,,,2000].time(0)}<={$PING_ALERT_TO_HOUR}
{Template_OS_PfSense2:icmpping[,2,,,2000].sum(180)}>3
-
Maximum number of opened files
kernel.maxfiles
1h
30d
0
fichiers
Processus
POST
-
DNS Resolution response for $2
net.dns.record[127.0.0.1,{$DNS_NAME_CHECK},A,,]
30d
0
TEXT
Network
POST
-
DNS resolution for $2 is working
net.dns[127.0.0.1,{$DNS_NAME_CHECK},A,,]
5m
30d
0
Network
POST
{max(5m)}<1
DNS resolution problem
WARNING
-
Opened files
openfiles.num
5m
1825d
fichiers
Processus
POST
-
Number of active processes
proc.num[,,run]
2m
1825d
processus
Processus
POST
{last(0)}>{$MAX_RUNNING_PROCESSES}
Lots of active processes
AVERAGE
-
Number of sshd processes
proc.num[sshd]
5m
30d
0
Processus
POST
{last(0)}<1
sshd daemon isn't running
AVERAGE
-
Number of processes
proc.num[]
5m
1825d
processus
POST
{last(0)}>{$MAX_PROCESSES}
Lots of processes
INFO
-
CPU Load
system.cpu.load[,avg1]
1825d
FLOAT
Processor
POST
-
CPU Load (5min)
system.cpu.load[,avg5]
5m
1825d
FLOAT
Processor
POST
-
CPU Load (15min)
system.cpu.load[,avg15]
15m
1825d
FLOAT
Processor
POST
-
CPU usage: $2
system.cpu.util[,interrupt,avg1]
45s
1825d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,nice,avg1]
45s
1825d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,system,avg1]
45s
1825d
FLOAT
%
Processor
POST
-
CPU usage: $2
system.cpu.util[,user,avg1]
45s
1825d
FLOAT
%
Processor
POST
-
Swap: used
CALCULATED
system.swap.size.used
10m
1825d
B
last("system.swap.size[,total]")-last("system.swap.size[,free]")
Memory
POST
-
Swap: $2
system.swap.size[,free]
10m
1825d
B
Memory
POST
-
Free swap space in %
public
interfaces.ifTable.ifEntry.ifInOctets.1
system.swap.size[,pfree]
5m
1825d
FLOAT
%
POST
-
Swap: $2
system.swap.size[,pused]
10m
1825d
FLOAT
%
Memory
POST
{last(0)}>50
High swap usage
AVERAGE
-
Swap: $2
system.swap.size[,total]
1h
1825d
B
Memory
POST
-
Uptime
system.uptime
10m
1825d
s
POST
({last(0)}<{$REBOOT_WARN_DAY} and ({last(0)}>090000 and {last(0)}<230000)) or ({last(0)}<{$REBOOT_WARN_NIGHT} and ({last(0)}>230000 or {last(0)}<090000))
{HOSTNAME} rebooted {ITEM.LASTVALUE1} ago
INFO
-
Connected users
system.users.num
5m
1825d
POST
{last(0)}>{$MAX_USERS}
Lots of connected users
WARNING
-
$1 hash
vfs.file.md5sum[/etc/passwd]
1h
30d
0
CHAR
Integrity
POST
{diff(0)}>0
/etc/passwd changed
INFO
-
$1 hash
vfs.file.md5sum[/etc/services]
1h
30d
0
CHAR
Integrity
POST
-
$1 hash
vfs.file.md5sum[/usr/sbin/sshd]
1h
30d
0
CHAR
Integrity
POST
-
Memory: $1
vm.memory.size[active]
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[buffers]
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[cached]
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[free]
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[inactive]
1825d
B
Memory
POST
-
Memory: $1
CALCULATED
vm.memory.size[pfree]
1825d
%
100*last("vm.memory.size[free]")/last("vm.memory.size[total]")
Memory
POST
-
Memory: $1
CALCULATED
vm.memory.size[pused]
1825d
%
100*last("vm.memory.size[used]")/last("vm.memory.size[total]")
POST
-
Memory: $1
vm.memory.size[shared]
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[total]
1h
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[used]
1825d
B
Memory
POST
-
Memory: $1
vm.memory.size[wired]
1825d
B
Memory
POST
Network interface discovery
net.if.discovery
1h
{#IFNAME}
@decouverte_interfaces_rzo
A
10d
Inbound trafic on {#IFNAME}
net.if.in[{#IFNAME},bytes]
45s
1825d
FLOAT
bps
Network
CHANGE_PER_SECOND
MULTIPLIER
8
POST
Errors on inbound trafic for {#IFNAME}
net.if.in[{#IFNAME},errors]
15m
1825d
FLOAT
erreurs
Network
CHANGE_PER_SECOND
POST
Outbound trafic on {#IFNAME}
net.if.out[{#IFNAME},bytes]
45s
1825d
FLOAT
bps
Network
CHANGE_PER_SECOND
MULTIPLIER
-8
POST
Errors on outbound trafic for {#IFNAME}
net.if.out[{#IFNAME},errors]
15m
1825d
FLOAT
erreurs
Network
CHANGE_PER_SECOND
POST
Network: trafic: {#IFNAME}
FILLED_REGION
009900
-
Template_OS_PfSense2
net.if.in[{#IFNAME},bytes]
1
FILLED_REGION
FF6666
-
Template_OS_PfSense2
net.if.out[{#IFNAME},bytes]
2
BOLD_LINE
EE00EE
RIGHT
-
Template_OS_PfSense2
net.if.in[{#IFNAME},errors]
3
BOLD_LINE
EE00EE
RIGHT
-
Template_OS_PfSense2
net.if.out[{#IFNAME},errors]
POST
Filesystem discovery
vfs.fs.discovery
2h
{#FSTYPE}
@decouverte_fs
A
10d
Free space on {#FSNAME}
vfs.fs.size[{#FSNAME},free]
10m
1825d
B
Disks
POST
Used space on {#FSNAME} (%)
vfs.fs.size[{#FSNAME},pused]
10m
1825d
FLOAT
%
Disks
POST
{last(0)}>{$DF_CRITICAL}
RECOVERY_EXPRESSION
{last(0)}<({$DF_WARN}-2)
{#FSNAME} is {ITEM.LASTVALUE1} full
AVERAGE
{last(0)}>{$DF_WARN}
RECOVERY_EXPRESSION
{last(0)}<({$DF_WARN}-2)
{#FSNAME} is {ITEM.LASTVALUE1} full
WARNING
{#FSNAME} is {ITEM.LASTVALUE1} full
{Template_OS_PfSense2:vfs.fs.size[{#FSNAME},pused].last(0)}>{$DF_CRITICAL}
{Template_OS_PfSense2:vfs.fs.size[{#FSNAME},pused].last(0)}<({$DF_WARN}-2)
Used space on {#FSNAME}
vfs.fs.size[{#FSNAME},used]
10m
1825d
B
Disks
POST
POST
{$DF_CRITICAL}
90
{$DF_WARN}
80
{$DNS_NAME_CHECK}
zbx.fws.fr.
{$MAX_FILES}
12328
{$MAX_PROCESSES}
200
{$MAX_RUNNING_PROCESSES}
15
{$MAX_USERS}
5
{$REBOOT_WARN_DAY}
7200
{$REBOOT_WARN_NIGHT}
21600
{$ZBX_UNREACHABLE_TIMEOUT}
900
{Template_OS_PfSense2:openfiles.num.last(0)}>({Template_OS_PfSense2:kernel.maxfiles.last(0)}-2000)
Lots of opened files
AVERAGE
System: CPU: Load
009900
-
Template_OS_PfSense2
system.cpu.load[,avg1]
1
FF0000
-
Template_OS_PfSense2
system.cpu.load[,avg15]
2
CCCC00
-
Template_OS_PfSense2
system.cpu.load[,avg5]
System: CPU: Usage
STACKED
FIXED
FIXED
FILLED_REGION
DD00DD
-
Template_OS_PfSense2
system.cpu.util[,interrupt,avg1]
1
FILLED_REGION
EEEE00
-
Template_OS_PfSense2
system.cpu.util[,user,avg1]
2
FILLED_REGION
EE0000
-
Template_OS_PfSense2
system.cpu.util[,system,avg1]
3
FILLED_REGION
0000DD
-
Template_OS_PfSense2
system.cpu.util[,nice,avg1]
System: Memory
NO
NO
STACKED
0000CC
-
Template_OS_PfSense2
vm.memory.size[used]
1
00BB00
-
Template_OS_PfSense2
vm.memory.size[inactive]
2
FILLED_REGION
99FFFF
-
Template_OS_PfSense2
vm.memory.size[free]
System: Processes
FILLED_REGION
EE0000
-
Template_OS_PfSense2
proc.num[,,run]
1
FILLED_REGION
FFFF33
-
Template_OS_PfSense2
proc.num[]
System: Uptime
FILLED_REGION
FF0000
-
Template_OS_PfSense2
system.uptime
Service state
0
Down
1
Up