Open tientmse62290 opened 4 years ago
Login as zabbix user, run zabbix_agentd -t openvpn.list.discovery or sudo /usr/local/bin/openvpn_discovery.sh. My trouble with the same error was that my sudoers file was very explicit about how I should run the script (SERVER/CLIENT argument).
I may be doing something wrong, but I am running openVPN on ubuntu 20.04, I followed the procedure and I am not getting any results. First of all, there are no .conf files in the openVPN directory, which for me is in /usr/local/openvpn_as. Also I searched for .sock files, which there are none on the system. Is this maybe for an older version of OpenVPN, or do I have something wrong?
I got the error when running discovery rule
Value should be a JSON object.
Any solution to fix that? Thanks & Regards