Comments (1)
Sorry, I made a mistake with value mappings.
I corrected and added new value mapping for openvpn servers in user/auth mode. Now I think everyhing is correct.
Anyway I think you are not clearly understanding a point: when a OpenVPN service is in user auth mode pfSense can't report the status of the tunnel, because there are multiple tunnels initiated by clients.
TL;DR Update to the latest commit
This is the status report in form of an array of a OpenVPN Server in user auth mode:
[0] => Array
(
[port] => 1194
[mode] => server_user
[name] => OpenVPN Contractors UDP4:1194
[conns] => Array
[vpnid] => 1
[mgmt] => server1
)
And this is the report of a p2p/Shared key OpenVPN Server
[1] => Array
(
[port] => 1195
[mode] => p2p_shared_key
[name] => OpenVPN xxxx UDP4:1195
[vpnid] => 2
[mgmt] => server2
[status] => up
[connect_time] => Sat Apr 18 23:17:12 2020
[virtual_addr] => x.x.x.x
[remote_host] => x.x.x.x
[remote_port] => 53034
[local_host] => 127.0.0.1
[local_port] => 1195
[virtual_addr6] =>
[bytes_recv] => 164783720
[bytes_sent] => 55986320
)
As you can see there's no status key in OpenVPN in user auth mode, so i added a "fake" status report of up/listening into value mappings.
from pfsense-zabbix-template.
Related Issues (20)
- OpenVPN Server 22.05-RELEASE HOT 2
- Broken PHP script on pfSense 23.01 HOT 8
- pfSense 22.05-RELEASE | ipsec not working HOT 1
- PHP Error on PFSense 23.01 HOT 5
- PHP error thrown HOT 2
- Commit 8937d88 reverted changes from "Certificates and services monitoring #102" HOT 1
- PHP Errors HOT 1
- PHP Error: Line 978 - dhcp failover HOT 6
- Gateways Discovery: Gateway $2 Packet Loss (MISS)
- After updating to the latest version of the template, data collection from network interfaces stopped HOT 1
- 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
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.