Comments (6)
Hi,
it seems that your pfSense can't communicate with Zabbix Server.
Have you filled in both "Server" and "Server Active" fields on Zabbix configuration in pfSense? If yes, are you sure you can reach the zabbix server from pfsense box?
from pfsense-zabbix-template.
So I just removed the Pfsense templates from the pfsense agent in my server and restarted the pfsense box (to force a reconnect cause I'm impatient) and with the "Template OS FreeBSD (Template Module Zabbix agent)" template it connects and works fine, which is a bit puzzling.
I do have openVPN in use and some more googling reveals that the error message might have todo with trying to connect a new client? https://forum.netgate.com/topic/143667/openvpn-client-interupted-code-4/2
I'd assume that the php script couldn't be responsible for this?
from pfsense-zabbix-template.
So switching back and forth between them the default template connects immediately and starts populating values whereas switching to the Pfsense active template immediately makes it loose connection and fail to get any data (or even connect at all).
from pfsense-zabbix-template.
Please post the php script output called from pfsense cli without arguments.
Maybe try stopping openvpn services and see if it works.
from pfsense-zabbix-template.
This is what the script outputs (Minus IP addresses and ports cause I didn't feel comfortable sharing that)
from pfsense-zabbix-template.
From the script output perspective it seems that everything is normal.
Maybe you should try if it works with OpenVPN client turned off. I have a couple installs similar to yours and never faced this kind of problems.
from pfsense-zabbix-template.
Related Issues (20)
- PHP Parse error: syntax error, unexpected '©' (T_STRING) in /root/scripts/pfsense_zbx.php on line 1384 HOT 1
- pfsense 2.7 error after upgrade HOT 2
- Pfsense 23.05.01 No Data from Interfaces HOT 4
- pfsense Active: Mounted filesystem discovery --> items already exist
- PFSense Active - Wrong PFsense State table on pfsense agent, Solved! HOT 1
- pfsense ver 23.05.1 doesn't work with speedtest cli HOT 1
- speedtest with option --source doesn`t work HOT 1
- High packet Loss on WAN_DHCP6? HOT 1
- Duplicate Triggers in Gateway Discovery Template HOT 6
- OpenSSLAsymmetricKey error HOT 2
- Monitoring Table Usage Count HOT 5
- pfsense_zbx.php script version not being updated HOT 9
- Typo in Readme HOT 4
- PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /root/scripts/pfsense_zbx.php:817 HOT 1
- PHP Fatal error: Uncaught TypeError: openssl_pkey_get_details(): Argument #1 ($key) must be of type OpenSSLAsymmetricKey, bool given in /root/scripts/pfsense_zbx.php:1237 HOT 14
- Disconnected status OpenVPN client HOT 1
- Crash report begins. Anonymous machine information: HOT 1
- Packages Update Available HOT 2
- Zabbix cannot obtain memory data HOT 2
- Unclosed error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pfsense-zabbix-template.