diff --git a/zabbix4/template_pfsense_active.xml b/zabbix4/template_pfsense_active.xml
new file mode 100644
index 0000000..7b8638a
--- /dev/null
+++ b/zabbix4/template_pfsense_active.xml
@@ -0,0 +1,6335 @@
+
+
+ 4.0
+ 2021-07-04T19:16:51Z
+
+
+ Templates/Network Devices
+
+
+
+
+ Template pfSense Active
+ pfsense Active
+ Active template for pfsense, requires pfsense_zbx.php installed to pfSense Box.
+Version 1.0.2
+
+https://github.com/rbicelli/pfsense-zabbix-template
+
+
+ Templates/Network Devices
+
+
+
+
+ CPU
+
+
+ Filesystems
+
+
+ Gateways
+
+
+ HA
+
+
+ Memory
+
+
+ Network interfaces
+
+
+ Network Limits
+
+
+ OpenVPN Client
+
+
+ OpenVPN Server
+
+
+ OS
+
+
+ Processes
+
+
+ Services
+
+
+ System
+
+
+
+ -
+ Maximum number of opened files
+ 7
+
+
+ kernel.maxfiles
+ 3600
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.
+ 0
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Maximum number of processes
+ 7
+
+
+ kernel.maxproc
+ 3600
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.
+ 0
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Used memory (calc)
+ 15
+
+
+ kt.mem.used
+ 60
+ 28d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+ last(vm.memory.size[total]) - last(vm.memory.size[available])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)
+ 15
+
+
+ pfsense.mbuf.ptotal
+ 60
+ 28d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+ ((last(pfsense.mbuf.current) + last(pfsense.mbuf.cache)) * 100) / last(pfsense.mbuf.max)
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network Limits
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ States Table Current
+ 7
+
+
+ pfsense.states.current
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network Limits
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ States Table Max
+ 7
+
+
+ pfsense.states.max
+ 600
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network Limits
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ States Table Current (percent)
+ 15
+
+
+ pfsense.states.pused
+ 60
+ 28d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+ (last(pfsense.states.current) * 100) / last(pfsense.states.max)
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network Limits
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ CARP Status
+ 7
+
+
+ pfsense.value[carp_status]
+ 30s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ pfSense CARP Status
+ 0
+
+
+ HA
+
+
+
+ pfSense CARP Status
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ DHCP Failover Pool Problems
+ 7
+
+
+ pfsense.value[dhcp,failover]
+ 120s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ This value indicates, in a HA scenario, if DHCP failover pool partners are out of sync.
+ 0
+
+
+ HA
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Gateway Status Raw
+ 7
+
+
+ pfsense.value[gw_status]
+ 60s
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Gateway Status Raw
+ 0
+
+
+ Gateways
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ pfSense Installed Version
+ 7
+
+
+ pfsense.value[system,installed_version]
+ 1d
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ System
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ New Version of pfSense Available
+ 7
+
+
+ pfsense.value[system,new_version_available]
+ 1d
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ System
+
+
+
+ Generic YesNo
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Packages Needing Update
+ 7
+
+
+ pfsense.value[system,packages_update]
+ 1d
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Number of packages needing update.
+ 0
+
+
+ System
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ pfSense Available Version
+ 7
+
+
+ pfsense.value[system,version]
+ 1d
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ System
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Number of running processes
+ 7
+
+
+ proc.num[,,run]
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Number of processes in running state.
+ 0
+
+
+ Processes
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Number of processes
+ 7
+
+
+ proc.num[]
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Total number of processes in any state.
+ 0
+
+
+ Processes
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Host boot time
+ 7
+
+
+ system.boottime
+ 600
+ 27d
+ 365d
+ 0
+ 3
+
+ unixtime
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Interrupts per second
+ 7
+
+
+ system.cpu.intr
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+ ips
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 10
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Processor load (1min/core)
+ 7
+
+
+ system.cpu.load[percpu,avg1]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The processor load is calculated as system CPU load divided by number of CPU cores.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Processor load (5min/core)
+ 7
+
+
+ system.cpu.load[percpu,avg5]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The processor load is calculated as system CPU load divided by number of CPU cores.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Processor load (15min/core)
+ 7
+
+
+ system.cpu.load[percpu,avg15]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The processor load is calculated as system CPU load divided by number of CPU cores.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Context switches per second
+ 7
+
+
+ system.cpu.switches
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+ sps
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 10
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ CPU $2 time
+ 7
+
+
+ system.cpu.util[,idle]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The time the CPU has spent doing nothing.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ CPU $2 time
+ 7
+
+
+ system.cpu.util[,interrupt]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The amount of time the CPU has been servicing hardware interrupts.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ CPU $2 time
+ 7
+
+
+ system.cpu.util[,nice]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The time the CPU has spent running users' processes that have been niced.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ CPU $2 time
+ 7
+
+
+ system.cpu.util[,system]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The time the CPU has spent running the kernel and its processes.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ CPU $2 time
+ 7
+
+
+ system.cpu.util[,user]
+ 60
+ 27d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ The time the CPU has spent running users' processes that are not niced.
+ 0
+
+
+ CPU
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Host name
+ 7
+
+
+ system.hostname
+ 3600
+ 27d
+ 0
+ 0
+ 1
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ System host name.
+ 3
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Host local time
+ 7
+
+
+ system.localtime
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+ unixtime
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Free swap space
+ 7
+
+
+ system.swap.size[,free]
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Free swap space in %
+ 7
+
+
+ system.swap.size[,pfree]
+ 60
+ 27d
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+ system.users.num
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Number of users who are currently logged in.
+ 0
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Checksum of $1
+ 7
+
+
+ vfs.file.cksum[/etc/passwd]
+ 3600
+ 27d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OS
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Active memory
+ 7
+
+
+ vm.memory.size[active]
+ 60
+ 28d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Memory used by processes
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Available memory
+ 7
+
+
+ vm.memory.size[available]
+ 60
+ 27d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Available memory is defined as free+cached+buffers memory.
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Buffered memory
+ 7
+
+
+ vm.memory.size[buffers]
+ 60
+ 28d
+ 365d
+ 1
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Cache d'entrées des IO disque.
+
+(Item désactivé car buggé)
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Cached memory
+ 7
+
+
+ vm.memory.size[cached]
+ 60
+ 28d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ amount of memory used to cache data
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Free memory
+ 7
+
+
+ vm.memory.size[free]
+ 60
+ 28d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ amount of memory completely free and ready to be used directly.
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Inactive memory
+ 7
+
+
+ vm.memory.size[inactive]
+ 60
+ 28d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ amount of memory that contains data that is no longer used (can be directly freed if needed)
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Available memory (percent)
+ 7
+
+
+ vm.memory.size[pavailable]
+ 60
+ 28d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Available memory is defined as free+cached+buffers memory.
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 1
+ 1
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Shared memory
+ 7
+
+
+ vm.memory.size[shared]
+ 60
+ 28d
+ 365d
+ 1
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ quantité de mémoire partagée entre plusieurs processus
+
+(Item désactivé car non utilisé)
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Total memory
+ 7
+
+
+ vm.memory.size[total]
+ 3600
+ 27d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ quantité de mémoire totale
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Used memory
+ 7
+
+
+ vm.memory.size[used]
+ 60
+ 28d
+ 365d
+ 1
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Item désactivé car non utilisé
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ -
+ Wired memory
+ 7
+
+
+ vm.memory.size[wired]
+ 60
+ 28d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ amount of memory used by the kernel, can neither be unloaded in swap, nor compressed.
+ 0
+
+
+ Memory
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+ Gateways Discovery
+ 7
+
+
+ pfsense.discovery[gw]
+ 300s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
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
+ {Template pfSense Active:pfsense.value[gw_value,{#GATEWAY},status].last()}=5
+ 0
+
+ Gateway {#GATEWAY} is down
+ 0
+
+
+ 0
+ 5
+ Gateway is Down
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[gw_value,{#GATEWAY},status].last()}=4
+ 0
+
+ Gateway {#GATEWAY} is forced down
+ 0
+
+
+ 0
+ 1
+ Gateway is forced down by system administrator
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[gw_value,{#GATEWAY},status].last()}=2
+ 0
+
+ High Delay on gateway {#GATEWAY}
+ 0
+
+
+ 0
+ 2
+ Gateway is lagging
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[gw_value,{#GATEWAY},status].last()}=3
+ 0
+
+ High packet Loss on {#GATEWAY}
+ 0
+
+
+ 0
+ 4
+ High Packet Loss on Gateway
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[gw_value,{#GATEWAY},status].last()}=1
+ 0
+
+ Packet Loss on {#GATEWAY}
+ 0
+
+
+ 0
+ 2
+ Packet loss on Gateway
+ 0
+ 0
+
+
+
+
+
+
+ Gateway {#GATEWAY} Availability
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 199C0D
+ 0
+ 7
+ 0
+ -
+ Template pfSense Active
+ pfsense.value[gw_value,{#GATEWAY},delay]
+
+
+
+ 1
+ 0
+ FF5722
+ 0
+ 7
+ 0
+ -
+ Template pfSense Active
+ pfsense.value[gw_value,{#GATEWAY},loss]
+
+
+
+
+
+ Gateway {#GATEWAY} Status
+ 900
+ 200
+ 0.0000
+ 5.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 1
+ 0
+ 0
+
+
+ 0
+ 0
+ 199C0D
+ 0
+ 7
+ 0
+ -
+ Template pfSense Active
+ pfsense.value[gw_value,{#GATEWAY},status]
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ Network interface discovery
+ 7
+
+
+ pfsense.discovery[interfaces]
+ 3600s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ {#IFNAME}
+ @Network interfaces for discovery
+ 8
+ A
+
+
+
+ 7d
+ Discovery of network interfaces as defined in global regular expression "Network interfaces for discovery".
+
+
+ Incoming Errors on {#IFDESCR}
+ 7
+
+
+ net.if.in[{#IFNAME},errors]
+ 60
+ 7d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 10
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Incoming network traffic on {#IFDESCR}
+ 7
+
+
+ net.if.in[{#IFNAME}]
+ 60
+ 7d
+ 365d
+ 0
+ 3
+
+ bps
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 10
+
+
+
+ 1
+ 8
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Outgoing errors on {#IFDESCR}
+ 7
+
+
+ net.if.out[{#IFNAME},errors]
+ 60
+ 7d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 10
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Outgoing network traffic on {#IFDESCR}
+ 7
+
+
+ net.if.out[{#IFNAME}]
+ 60
+ 7d
+ 365d
+ 0
+ 3
+
+ bps
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 10
+
+
+
+ 1
+ 8
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+ Network traffic on {#IFDESCR}
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 0
+ 0
+ 0
+
+
+ 0
+ 5
+ 29E900
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ net.if.in[{#IFNAME}]
+
+
+
+ 1
+ 5
+ FD0000
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ net.if.out[{#IFNAME}]
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ OpenVPN Client Discovery
+ 7
+
+
+ pfsense.discovery[openvpn_client]
+ 300s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30d
+ OpenVPN Client Discovery
+
+
+ OpenVPN Client {#NAME} Tunnel Status
+ 7
+
+
+ pfsense.value[openvpn_clientvalue,{#CLIENT},status]
+ 60s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OpenVPN Client
+
+
+
+ pfSense OpenVPN Interface Status
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ {Template pfSense Active:pfsense.value[openvpn_clientvalue,{#CLIENT},status].last()}=0
+ 0
+
+ OpenVPN Client {#NAME} Tunnel is Down
+ 0
+
+
+ 0
+ 4
+ OpenVPN Tunnel Down
+ 0
+ 0
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ OpenVPN Server Discovery
+ 7
+
+
+ pfsense.discovery[openvpn_server]
+ 300s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30d
+
+
+
+ OpenVPN Server {#NAME} Clients Connected
+ 7
+
+
+ pfsense.value[openvpn_servervalue,{#SERVER},conns]
+ 60s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OpenVPN Server
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#NAME} Mode
+ 7
+
+
+ pfsense.value[openvpn_servervalue,{#SERVER},mode]
+ 300s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OpenVPN Server
+
+
+
+ pfSense OpenVPN Mode
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#NAME} Port
+ 7
+
+
+ pfsense.value[openvpn_servervalue,{#SERVER},port]
+ 300s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OpenVPN Server
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#NAME} Tunnel Status
+ 7
+
+
+ pfsense.value[openvpn_servervalue,{#SERVER},status]
+ 60s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ OpenVPN Server
+
+
+
+ pfSense OpenVPN Interface Status
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ {Template pfSense Active:pfsense.expected_carp_status.last()}<>2 and {Template pfSense Active:pfsense.value[openvpn_servervalue,{#SERVER},status].last()}=0
+ 0
+
+ OpenVPN Server {#NAME} is Down
+ 0
+
+
+ 0
+ 4
+ OpenVPN Tunnel is Down
+ 0
+ 0
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ Services Discovery
+ 7
+
+
+ pfsense.discovery[services]
+ 300s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ {#SERVICE}
+ @pfSense service names for discovery
+ 8
+ A
+
+
+
+ 30d
+
+
+
+ Service {#DESCRIPTION} enabled on CARP Slave
+ 7
+
+
+ pfsense.value[service_value,{#SERVICE},run_on_carp_slave]
+ 600s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Services
+
+
+
+ Generic YesNo
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Service {#DESCRIPTION} Status
+ 7
+
+
+ pfsense.value[service_value,{#SERVICE},status]
+ 60s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Services
+
+
+
+ Service state
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ {Template pfSense Active:pfsense.value[service_value,{#SERVICE},status].last()}=0 and (
+
+({Template pfSense Active:pfsense.value[service_value,{#SERVICE},run_on_carp_slave].last()}=1 and
+{Template pfSense Active:pfsense.value[carp_status].last()}=2)
+
+or
+
+( {Template pfSense Active:pfsense.value[carp_status].last()}=1)
+
+or
+
+({Template pfSense Active:pfsense.value[carp_status].last()}=0)
+)
+ 0
+
+ Service {#DESCRIPTION} is not running
+ 0
+
+
+ 0
+ 4
+ Service is not running
+ 0
+ 0
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ Mounted filesystem discovery
+ 7
+
+
+ vfs.fs.discovery
+ 3600
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ {#FSTYPE}
+ @File systems for discovery
+ 8
+ A
+
+
+
+ 7d
+ Discovery of file systems of different types as defined in global regular expression "File systems for discovery".
+
+
+ Free inodes on $1 (percentage)
+ 7
+
+
+ vfs.fs.inode[{#FSNAME},pfree]
+ 60
+ 7d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Filesystems
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Free disk space on $1
+ 7
+
+
+ vfs.fs.size[{#FSNAME},free]
+ 60
+ 7d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Filesystems
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Free disk space on $1 (percentage)
+ 7
+
+
+ vfs.fs.size[{#FSNAME},pfree]
+ 60
+ 7d
+ 365d
+ 0
+ 0
+
+ %
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Filesystems
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Total disk space on $1
+ 7
+
+
+ vfs.fs.size[{#FSNAME},total]
+ 3600
+ 7d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Filesystems
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Used disk space on $1
+ 7
+
+
+ vfs.fs.size[{#FSNAME},used]
+ 60
+ 7d
+ 365d
+ 0
+ 3
+
+ B
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+ Filesystems
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ {Template pfSense Active:vfs.fs.size[{#FSNAME},pfree].last(0)}<20
+ 0
+
+ Free disk space is less than 20% on volume {#FSNAME}
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:vfs.fs.inode[{#FSNAME},pfree].last(0)}<20
+ 0
+
+ Free inodes is less than 20% on volume {#FSNAME}
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+
+
+ Disk space usage {#FSNAME}
+ 600
+ 340
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 2
+ 1
+ 1
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ CC0000
+ 0
+ 2
+ 2
+ -
+ Template pfSense Active
+ vfs.fs.size[{#FSNAME},total]
+
+
+
+ 1
+ 0
+ 5B5B5B
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vfs.fs.size[{#FSNAME},free]
+
+
+
+ 2
+ 0
+ AEEE00
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vfs.fs.size[{#FSNAME},used]
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+ {$CARP_SERVICES_STOPPED}
+ ^(haproxy|openvpn)$
+
+
+ {$CARP_SLAVE_SERVICES:"haproxy"}
+ 0
+
+
+ {$CARP_SLAVE_SERVICES:"openvpn"}
+ 0
+
+
+ {$EXPECTED_CARP_STATUS}
+ 0
+
+
+
+
+
+ System performance
+ 2
+ 2
+
+
+ 0
+ 450
+ 250
+ 0
+ 0
+ 1
+ 1
+ 0
+ 1
+ 0
+
+
+ 0
+ 0
+
+ Active Connections (pie)
+ Template pfSense Active
+
+ 3
+
+
+
+ 0
+ 450
+ 250
+ 1
+ 0
+ 1
+ 1
+ 0
+ 1
+ 0
+
+
+ 0
+ 0
+
+ Network Memory Buffer (pie)
+ Template pfSense Active
+
+ 3
+
+
+
+ 0
+ 450
+ 100
+ 0
+ 1
+ 1
+ 1
+ 0
+ 1
+ 0
+
+
+ 0
+ 0
+
+ CPU load
+ Template pfSense Active
+
+ 3
+
+
+
+ 0
+ 450
+ 250
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1
+ 0
+
+
+ 0
+ 0
+
+ Memory Usage simple (pie)
+ Template pfSense Active
+
+ 3
+
+
+
+
+
+
+
+
+
+ {Template pfSense Active:vfs.file.cksum[/etc/passwd].diff(0)}>0
+ 0
+
+ /etc/passwd has been changed on {HOST.NAME}
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[carp_status].last()}>2
+ 0
+
+ CARP Problems on {HOST.NAME}
+ 0
+
+
+ 0
+ 4
+ CARP Problems
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.expected_carp_status.last()}<>0 and {Template pfSense Active:pfsense.value[carp_status].last()}<>{$EXPECTED_CARP_STATUS}
+ 0
+
+ CARP Status not Expected on {HOST.NAME}
+ 0
+
+
+ 0
+ 4
+ pfSense CARP is not in the state Expected. This means that a failover could be in process.
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:kernel.maxfiles.last(0)}<1024
+ 0
+
+ Configured max number of opened files is too low on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:kernel.maxproc.last(0)}<256
+ 0
+
+ Configured max number of processes is too low on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[carp_status].last()}>2
+ 0
+
+ DHCP Failover Problems on {HOST.NAME}
+ 0
+
+ https://docs.netgate.com/pfsense/en/latest/troubleshooting/ha-dhcp-failover.html
+ 0
+ 4
+ One or more DHCP Pools are experiencing failover problems. This could potentially cause other problems in yourr network.
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:system.uname.diff(0)}>0
+ 0
+
+ Host information was changed on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:system.hostname.diff(0)}>0
+ 0
+
+ Hostname was changed on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:vm.memory.size[available].last(0)}<20M
+ 0
+
+ Lack of available memory on server {HOST.NAME}
+ 0
+
+
+ 0
+ 3
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:system.swap.size[,pfree].last(0)}<50
+ 0
+
+ Lack of free swap space on {HOST.NAME}
+ 0
+
+
+ 0
+ 2
+ It probably means that the systems requires more physical memory.
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.mbuf.ptotal.last()}>80
+ 0
+
+ MBUF used at 80%
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.mbuf.ptotal.last()}>90
+ 0
+
+ MBUF used at 90%
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ ({Template pfSense Active:pfsense.value[system,version].last()}<>{Template pfSense Active:pfsense.value[system,installed_version].last()})=1
+ 0
+
+ New Version Available on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+ Noify of new version of pfsense available
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[system,new_version_available].last()}=1
+ 0
+
+ New Version of pfSense Available on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+ A new version of pfSense is available for update.
+ 0
+ 1
+
+
+
+
+ {Template pfSense Active:pfsense.value[system,packages_update].last()}>0
+ 0
+
+ Packages Update Available on {HOST.NAME}
+ 0
+
+
+ 0
+ 1
+ New version of packages are available
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.value[gw_status].diff()}>0
+ 1
+ {Template pfSense Active:pfsense.value[gw_status].diff()}=0
+ pfSense Gateway Status Changed on {HOST.NAME}
+ 0
+
+
+ 0
+ 3
+ Gateway Status Change, for use with an acion Script (e.g. update DNS record)
+ 0
+ 1
+
+
+
+
+ {Template pfSense Active:system.cpu.load[percpu,avg1].avg(5m)}>5
+ 0
+
+ Processor load is too high on {HOST.NAME}
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.states.pused.last()}>80
+ 0
+
+ State Table used at 80%
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:pfsense.states.pused.last()}>90
+ 0
+
+ State Table used at 90%
+ 0
+
+
+ 0
+ 4
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:proc.num[].avg(5m)}>300
+ 0
+
+ Too many processes on {HOST.NAME}
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:proc.num[,,run].avg(5m)}>30
+ 0
+
+ Too many processes running on {HOST.NAME}
+ 0
+
+
+ 0
+ 2
+
+ 0
+ 0
+
+
+
+
+ {Template pfSense Active:system.uptime.change(0)}<0
+ 0
+
+ {HOST.NAME} has just been restarted
+ 0
+
+
+ 0
+ 1
+
+ 0
+ 0
+
+
+
+
+
+
+ Active Connections
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 0
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 2
+ 0
+
+ Template pfSense Active
+ pfsense.states.max
+
+
+
+ 0
+ 5
+ FF2C27
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ pfsense.states.current
+
+
+
+
+
+ Active Connections (pie)
+ 600
+ 340
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 2
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 5B5B5B
+ 0
+ 2
+ 2
+ -
+ Template pfSense Active
+ pfsense.states.max
+
+
+
+ 1
+ 5
+ FF2C27
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ pfsense.states.current
+
+
+
+
+
+ CPU jumps
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 5
+ 009900
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.switches
+
+
+
+ 1
+ 5
+ 000099
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.intr
+
+
+
+
+
+ CPU load
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ FFA619
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.load[percpu,avg1]
+
+
+
+ 1
+ 0
+ E86E30
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.load[percpu,avg5]
+
+
+
+ 2
+ 0
+ FF2F26
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.load[percpu,avg15]
+
+
+
+
+
+ CPU utilization (Line)
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 0
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 1
+ 0
+ 0
+
+
+ 0
+ 5
+ FFE819
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.util[,interrupt]
+
+
+
+ 1
+ 5
+ E85D17
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.util[,nice]
+
+
+
+ 2
+ 5
+ DF26FF
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.util[,system]
+
+
+
+ 3
+ 5
+ 1775E8
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.util[,user]
+
+
+
+ 4
+ 0
+ 03D933
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.cpu.util[,idle]
+
+
+
+
+
+ Memory Available details (pie)
+ 600
+ 340
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 2
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 003300
+ 0
+ 2
+ 2
+ -
+ Template pfSense Active
+ vm.memory.size[available]
+
+
+
+ 1
+ 0
+ 005500
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[free]
+
+
+
+ 2
+ 0
+ 007700
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[cached]
+
+
+
+ 3
+ 0
+ 009900
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[inactive]
+
+
+
+
+
+ Memory usage
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 0
+ 1
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 2
+ 0
+
+ Template pfSense Active
+ vm.memory.size[total]
+
+
+
+ 0
+ 0
+ 00EE00
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[wired]
+
+
+
+ 1
+ 0
+ 00CC00
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[active]
+
+
+
+ 2
+ 0
+ 007700
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[inactive]
+
+
+
+ 3
+ 0
+ 005500
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[cached]
+
+
+
+ 4
+ 0
+ 003300
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[free]
+
+
+
+
+
+ Memory Usage simple (pie)
+ 600
+ 340
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 2
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 003300
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ vm.memory.size[available]
+
+
+
+ 1
+ 0
+ 00DD00
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ kt.mem.used
+
+
+
+
+
+ Network Memory Buffer
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 0
+ 1
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 1
+ 2
+ 0
+
+ Template pfSense Active
+ pfsense.mbuf.max
+
+
+
+ 0
+ 0
+ B26E16
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ pfsense.mbuf.current
+
+
+
+ 1
+ 0
+ FFCE8E
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ pfsense.mbuf.cache
+
+
+
+
+
+ Network Memory Buffer (pie)
+ 600
+ 340
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 2
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 5B5B5B
+ 0
+ 2
+ 2
+ -
+ Template pfSense Active
+ pfsense.mbuf.max
+
+
+
+ 1
+ 0
+ FFCE8E
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ pfsense.mbuf.cache
+
+
+
+ 2
+ 0
+ B26E16
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ pfsense.mbuf.current
+
+
+
+
+
+ Swap usage
+ 600
+ 340
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 2
+ 1
+ 1
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 5B5B5B
+ 0
+ 2
+ 2
+ -
+ Template pfSense Active
+ system.swap.size[,total]
+
+
+
+ 1
+ 0
+ FFFF33
+ 0
+ 2
+ 0
+ -
+ Template pfSense Active
+ system.swap.size[,used]
+
+
+
+
+
+
+
+ Generic YesNo
+
+
+ 0
+ No
+
+
+ 1
+ Yes
+
+
+
+
+ pfSense CARP Status
+
+
+ 0
+ Disabled
+
+
+ 1
+ Master
+
+
+ 2
+ Backup
+
+
+ 3
+ Inconsistent
+
+
+ 4
+ Problem
+
+
+
+
+ pfSense Gateway Status
+
+
+ 0
+ Up
+
+
+ 1
+ Packet Loss
+
+
+ 2
+ High Delay
+
+
+ 3
+ High Packet Loss
+
+
+ 4
+ Forced Down
+
+
+ 5
+ Down
+
+
+
+
+ pfSense OpenVPN Interface Status
+
+
+ 0
+ Down
+
+
+ 1
+ Up
+
+
+ 2
+ None
+
+
+ 3
+ Reconnecting
+
+
+ 4
+ Waiting
+
+
+ 5
+ Up/Listening
+
+
+
+
+ pfSense OpenVPN Mode
+
+
+ 1
+ Peer to Peer (SSL/TLS)
+
+
+ 2
+ P2P Shared Key
+
+
+ 3
+ Remote Access (SSL/TLS)
+
+
+ 4
+ Remote Access (User Auth)
+
+
+ 5
+ Remote Access 8SSL/TLS + User Auth)
+
+
+
+
+ Service state
+
+
+ 0
+ Down
+
+
+ 1
+ Up
+
+
+
+
+
diff --git a/zabbix4/template_pfsense_active_ipsec.xml b/zabbix4/template_pfsense_active_ipsec.xml
new file mode 100644
index 0000000..8ebeafe
--- /dev/null
+++ b/zabbix4/template_pfsense_active_ipsec.xml
@@ -0,0 +1,877 @@
+
+
+ 4.0
+ 2021-01-18T21:30:16Z
+
+
+ Templates/Network Devices
+
+
+
+
+ Template pfSense Active IPsec
+ pfSense Active: IPsec
+ Extension for pfSense Active Template.
+Monitor IPsec VPN.
+
+Requires pfsense_zbx.php installed to pfSense Box.
+Version 1.0.2
+
+https://github.com/rbicelli/pfsense-zabbix-template
+
+
+ Templates/Network Devices
+
+
+
+
+ IPsec
+
+
+
+
+
+ IPsec Phase 1 Discovery
+ 7
+
+
+ pfsense.discovery[ipsec_ph1]
+ 1200s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30d
+ Discovery of IPsec Phase 1
+
+
+ IPsec Tunnel {#IKEID} {#NAME} Tunnel Enabled
+ 7
+
+
+ pfsense.value[ipsec_ph1,{#IKEID},disabled]
+ 120s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ IPsec Phase 1 Tunnel Mode
+ 0
+
+
+ IPsec
+
+
+
+ pfSense IPsec Enabled
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ IPsec Tunnel {#IKEID} {#NAME} IKE Type
+ 7
+
+
+ pfsense.value[ipsec_ph1,{#IKEID},iketype]
+ 600s
+ 90d
+ 365d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 0
+
+
+
+
+ IPsec Tunnel {#IKEID} {#NAME} Phase 1 Status
+ 7
+
+
+ pfsense.value[ipsec_ph1,{#IKEID},status]
+ 60s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ IPsec Phase 1 Tunnel Mode
+ 0
+
+
+ IPsec
+
+
+
+ pfSense IPsec Phase 1 Status
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+ {Template pfSense Active IPsec:pfsense.value[ipsec_ph1,{#IKEID},disabled].last()}=0 and {Template pfSense Active IPsec:pfsense.value[ipsec_ph1,{#IKEID},status].last()}<>1 and {Template pfSense Active IPsec:pfsense.value[ipsec_ph1,{#IKEID},status].last()}<10
+ 0
+
+ IPsec Tunnel {#IKEID} ({#NAME}) Not Connected
+ 0
+
+
+ 0
+ 4
+ IPsec Phase 1 is not connected.
+ 0
+ 0
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+ IPsec Phase 2 Discovery
+ 7
+
+
+ pfsense.discovery[ipsec_ph2]
+ 1200s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30d
+ Discovery of IPsec Phase 2
+
+
+ IPsec Tunnel {#IKEID}.{#REQID} {#NAME} Phase 2 Enabled
+ 7
+
+
+ pfsense.value[ipsec_ph2,{#UNIQID},disabled]
+ 120s
+ 90d
+ 365d
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ IPsec Tunnel Phase 2 Protocol
+ 0
+
+
+ IPsec
+
+
+
+ pfSense IPsec Enabled
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
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+ No
+
+
+
+
+ pfSense IPsec IKE Type
+
+
+ 0
+ Auto
+
+
+ 1
+ IKE v1
+
+
+ 2
+ IKE v2
+
+
+
+
+ pfSense IPsec Phase 1 Status
+
+
+ 0
+ Down
+
+
+ 1
+ Established
+
+
+ 2
+ Connecting
+
+
+ 10
+ Down on CARP Secondary
+
+
+
+
+ pfSense IPsec Phase 2 Protocol
+
+
+ 1
+ ESP
+
+
+ 2
+ AH
+
+
+
+
+ pfSense IPsec Protocol
+
+
+ 0
+ Dual Stack (IPv4 & IPv6)
+
+
+ 1
+ IPv4
+
+
+ 2
+ IPv6
+
+
+
+
+ pfSense IPsec Tunnel Mode
+
+
+ 0
+ Main
+
+
+ 1
+ Aggressive
+
+
+
+
+
diff --git a/zabbix4/template_pfsense_active_ovpn_user.xml b/zabbix4/template_pfsense_active_ovpn_user.xml
new file mode 100644
index 0000000..41106bf
--- /dev/null
+++ b/zabbix4/template_pfsense_active_ovpn_user.xml
@@ -0,0 +1,635 @@
+
+
+ 4.0
+ 2021-01-18T15:02:06Z
+
+
+ Templates/Network Devices
+
+
+
+
+ Template pfSense Active OpenVPN Server User Auth
+ pfSense Active: OpenVPN Server User Auth
+ Extension for pfSense Active Template.
+Monitor client Connections of OpenVPN Server.
+
+Requires pfsense_zbx.php installed to pfSense Box.
+Version 1.0.2
+
+https://github.com/rbicelli/pfsense-zabbix-template
+
+
+ Templates/Network Devices
+
+
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+ OpenVPN User Auth Connected Clients Discovery
+ 7
+
+
+ pfsense.discovery[openvpn_server_user]
+ 60s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30d
+ Discovery of clients connected to OpenVPN Server in User Auth Mode
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Bytes Received
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},bytes_recv]
+ 60s
+ 90d
+ 0
+ 0
+ 3
+
+ bytes
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Client Bytes Received
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Bytes Sent
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},bytes_sent]
+ 60s
+ 90d
+ 0
+ 0
+ 3
+
+ bytes
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Client Bytes Sent
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Connection Time
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},connect_time_unix]
+ 60s
+ 90d
+ 0
+ 0
+ 3
+
+ unixtime
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Client Connect Time
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Remote Host
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},remote_host]
+ 60s
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Remote Host
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: User Name
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},user_name]
+ 60s
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Client User Name
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Virtual IP Address (IPv6)
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},virtual_addr6]
+ 60s
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ IPv6 Address assigned from OpenVPN Server
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Virtual IP Address
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue,{#UNIQUEID},virtual_addr]
+ 60s
+ 90d
+ 0
+ 0
+ 4
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ IP Address assigned from OpenVPN Server
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Client ID
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue_numeric,{#UNIQUEID},client_id]
+ 60s
+ 90d
+ 0
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Client ID
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ OpenVPN Server {#SERVERNAME}, Client {#USERID}: Peer ID
+ 7
+
+
+ pfsense.value[openvpn_server_uservalue_numeric,{#UNIQUEID},peer_id]
+ 60s
+ 90d
+ 0
+ 0
+ 3
+
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Peer ID
+ 0
+
+
+ OpenVPN Server Clients
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
diff --git a/zabbix4/template_pfsense_active_speedtest.xml b/zabbix4/template_pfsense_active_speedtest.xml
new file mode 100644
index 0000000..41335bd
--- /dev/null
+++ b/zabbix4/template_pfsense_active_speedtest.xml
@@ -0,0 +1,332 @@
+
+
+ 4.0
+ 2021-07-05T15:51:20Z
+
+
+ Templates/Network Devices
+
+
+
+
+ pfSense Active Speedtest
+ pfSense Active: Speedtest
+ Extension for pfSense Active Template.
+Executes Speedtests on WAN Interfaces.
+
+Requires pfsense_zbx.php installed to pfSense Box.
+Version 1.0.5
+
+https://github.com/rbicelli/pfsense-zabbix-template
+
+
+ Templates/Network Devices
+
+
+
+
+ Network interfaces
+
+
+
+
+
+ WAN Interfaces
+ 7
+
+
+ pfsense.discovery[wan]
+ 300s
+ 0
+
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+
+ 0
+
+
+
+ 30d
+ Discover WAN Interfaces
+
+
+ Speedtest Download on {#IFDESCR}
+ 7
+
+
+ pfsense.value[if_speedtest_value,{#IFNAME},download]
+ 3600s
+ 90d
+ 365d
+ 0
+ 0
+
+ bps
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Download speed determined by Ookla Speedtest package
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Speedtest Ping on {#IFDESCR}
+ 7
+
+
+ pfsense.value[if_speedtest_value,{#IFNAME},ping]
+ 3600s
+ 90d
+ 365d
+ 0
+ 0
+
+ ms
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Ping determined by Ookla Speedtest package
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+ Speedtest Upload on {#IFDESCR}
+ 7
+
+
+ pfsense.value[if_speedtest_value,{#IFNAME},upload]
+ 3600s
+ 90d
+ 365d
+ 0
+ 0
+
+ bps
+
+
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+
+
+
+
+
+ Ping determined by Ookla Speedtest package
+ 0
+
+
+ Network interfaces
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+ Speedtest metrics on {#IFDESCR}
+ 900
+ 200
+ 0.0000
+ 100.0000
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0.0000
+ 0.0000
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+ 199C0D
+ 0
+ 7
+ 0
+ -
+ pfSense Active Speedtest
+ pfsense.value[if_speedtest_value,{#IFNAME},download]
+
+
+
+ 1
+ 0
+ FFFF00
+ 0
+ 7
+ 0
+ -
+ pfSense Active Speedtest
+ pfsense.value[if_speedtest_value,{#IFNAME},upload]
+
+
+
+ 2
+ 0
+ 0040FF
+ 0
+ 7
+ 0
+ -
+ pfSense Active Speedtest
+ pfsense.value[if_speedtest_value,{#IFNAME},ping]
+
+
+
+
+
+
+
+ 3s
+
+
+
+ 200
+ 1
+ 0
+
+
+ 0
+ 0
+ 0
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+