Although you can monitor your pfSense machine simply using the SNMP protocol, you can also get more information through the Zabbix agent.
To install the Zabbix 6 agent on pfSense, go to the "System -> Package Manager" menu of pfSense.
Go to the "Available Packages" tab and install the "zabbix-agent6" package.
Warning : on pfSense, the "zabbix-agent62" package does not work.
If you try to install it, an error will indicate that the package is not installed and the "Zabbix Agent 6" option will not appear in the pfSense "Services" menu.
Hence the use of the "zabbix-agent6" package which works without problem on pfSense.
Click "Confirm" on the "Confirmation Required to install package pfSense-pkg-zabbix-agent6" page.
Wait while the "pfSense-pkg-zabbix-agent6" package is installed.
Once the installation of this package is complete, the message "pfSense-pkg-zabbix-agent6 installation successfully completed" will appear.
As expected, the "zabbix-agent6" package appears in the "Installed Packages" list.
Now, go to: Services -> Zabbix Agent 6.
On the page that appears, in the "Zabbix Agent Settings" section, configure the following settings:
In the "TLS-Related Parameters" section, configure the following settings:
Finally, define:
To generate the pre-shared key, use the command below on Linux or install OpenSSL on Windows to be able to use this command.
Bash
openssl rand -hex 32
Which will give you a value similar to this:
Plain Text
50d7e0c550667c241293066891b86d85f6caec1ae31400cbeac8456eeab9cf81
Sources :
To get started, in the Zabbix web interface, go to "Monitoring -> Hosts" and click "Create host" (top right).
In the "New host" window that appears, indicate the host name defined on pfSense in the "Host name" box and modify the name visible on Zabbix if you wish.
Next, type "FreeBSD" in the "Templates" box and select the "FreeBSD by Zabbix agent" template.
Indicate "pfSense" in the "Host groups" box and click on the "pfSense" group (created previously) which appears.
Add the "Agent" interface.
Provide the IP address and DNS name (or again, IP address) of your pfSense machine.
In the "Encryption" tab, select the options:
Then, provide the same pre-shared key information configured on pfSense.
Then, click: Add.
The host has been added and as you can see the "ZBX" availability is grayed out at the moment.
Wait a bit and the "ZBX" availability will turn green.
The delay is due to the exchange of data between the Zabbix agent installed on pfSense and the Zabbix server.
Click on: Latest data.
The list of possible data appears.
You will also be able to see graphs by clicking on the "Graphics" link.
Again, you can choose a specific time period for which to generate charts.
For example, regarding hard disk usage, ...
Finally, thanks to the Zabbix agent, you can click on "Dashboards".
On the "System performance" page, you will find graphs regarding: CPU usage, RAM usage and swap usage.
Firewall 6/11/2025
Firewall 5/30/2025
Firewall 7/16/2025
Firewall 6/13/2025
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment