Comments (12)
Hello! I released an optional template which monitors the connected clients. Please check it out.
from pfsense-zabbix-template.
Hi!
Are you monitoring a client which authenticaates to another pfsense in remote access/user auth mode or are you monitoring the server configured as user auth?
from pfsense-zabbix-template.
Hello!
Using remote access with user auth and ssl/tls certs, only one PfSense per site, the two production instances is on different companies, and the lab is on my home.
from pfsense-zabbix-template.
Please try running the script without arguments in pfSense shell and post the output. If posting here you should anonymize relevant data or send them to my mail address (is on top header of the script :))
from pfsense-zabbix-template.
Hi!
The return of the script, i used command "php pfsense_zbx.php" to run.
One client connected at the moment with user: suporte.ti
from pfsense-zabbix-template.
What's your expected result? According to the template you should see the value
OpenVPN Server {#NAME} Clients Connected ramping up to 1.
from pfsense-zabbix-template.
The Zabbix are not getting the information, below a screenshot.
Dont show anything about clients, just the server information...
from pfsense-zabbix-template.
Sorry, but I still do not understand.
According to discovery rules the template is showing correctly the number of clients connected (the first value you see - Last Value 1, Change +1).
(BTW There's no implementation about which client is connected because to me is out of the scope of Zabbix. However making a new set of discovery rules for this is possible)
If you put to monitor the pfSense instance which is running as client you'll see a value like this:
But you'll se this value only if you are initiating a tunnel as client.
from pfsense-zabbix-template.
exactly this implementation I was looking for, I will try the discovery rules and if successful I let you know
from pfsense-zabbix-template.
Sorry, but I still do not understand.
According to discovery rules the template is showing correctly the number of clients connected (the first value you see - Last Value 1, Change +1).
(BTW There's no implementation about which client is connected because to me is out of the scope of Zabbix. However making a new set of discovery rules for this is possible)If you put to monitor the pfSense instance which is running as client you'll see a value like this:
But you'll se this value only if you are initiating a tunnel as client.
So as I understand it, the status "None" for the item Tunnel Status is normal, in case of using remote access mode is it better to disable the item?
from pfsense-zabbix-template.
So as I understand it, the status "None" for the item Tunnel Status is normal, in case of using remote access mode is it better to disable the item?
Yes, it is normal. Even in pfSense GUI you won't see the VPN tunnel status when in user auth mode but only clients connected.
AFAIK in Zabbix you can't disable an item on a single element of a discovery rule. The only way I see for having this valued disabled (or hidden) is to split the OpenVPN Server discovery in two parts:
- OpenVPN Servers P2P
- OpenVPN Servers User Auth
But the value itself is excluded from triggers, so I don't see a reason for splitting discovery rules.
from pfsense-zabbix-template.
You're the best!
from pfsense-zabbix-template.
Related Issues (20)
- 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
- Installation advice HOT 1
- Multiple Gateways HOT 2
- Error when trying to apply template to Pfsense in Zabbix HOT 1
- Latest data not populating HOT 6
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.