pfSense Zabbix template
-
Hi! I've just published my pfSense Zabbix Template.
Besides other templates it can also monitor:- Gateway Status
- OpenVPN Status
- CARP Status
everything with fancy discovery rules.
Please check it out on https://github.com/rbicelli/pfsense-zabbix-template. Criticism welcome :)
-
@ilbicio Hello.
I try your template and find it's good.
I link your template to my pfsense-host an it works great!But.
I see in code section about OpenVPN Clients, you get "openvpn_get_active_clients"
But i see no data in Zabbix's Latest Data about active OpenVpn Clients...It would also be great to see a list of active clients, their names, connection times, etc.
All what we can see at https://your-pfsense-host/status_openvpn.phpCan you add this function to your great template?
Please :)) -
Hello,
I'm reviewing the template since I've blindly-accepted last Pull Requests and something gone weird.
I think name of clients, connection times, etc.. is a bit overkill for monitoring the pfsense status.I'm in the process to add the number of clients connected to openvpn server with user auth.
This feature will be released soon.Cheers!
-
@ilbicio said in pfSense Zabbix template:
Hello,
I'm reviewing the template since I've blindly-accepted last Pull Requests and something gone weird.
I think name of clients, connection times, etc.. is a bit overkill for monitoring the pfsense status.
I'm in the process to add the number of clients connected to openvpn server with user auth.
This feature will be released soon.
Cheers!well..
I think the name of the clientы, their remote IP, and so on - this is very useful information for monitoring..
I'd be happy if it stayed in release.Thank you for your efforts.
I will wait for the release -
Just fixed PRs submitted and improved performance of interface detection functions, added OpenVPN total clients connected.
Give it a try! -
@ilbicio well...
looks like smth changed, but not good :)
I delete old template, import new template from new xml
replace php-file on pfsense-hostand now i can see in zabbix trigger with OpenVPN Server is DOWN and no Clients :)))
This is Latest Data screenshot
-
Sorry, check out latest commit. Only pfsense_zbx.php is changed, in this version number of connections are correctly detected (didn't synced source properly between test pfsense machine and local repo).
FYI there's no "Tunnel Status" on OpenVPN in user auth mode: the status switchs up only in case of p2p tunnel.
Cheers -
@ilbicio Well done!
I have total clients connected now!
Weeehooo!!
Thank you very much.P.S. I hope one day I will learn how to collect OpenVPNusers connection history in Zabbixю