Environment
Ubuntu 21.04
netdata v1.32.1
OpenVPN 2.5.1 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 27 2021
library versions: OpenSSL 1.1.1j 16 Feb 2021, LZO 2.10
Problem/Question
After I enable openvpn in python.d.conf, users and traffic still in 0
python.d.conf
ovpn_status_log: yes
python.d/ovpn_status_log.conf
default:
update_every: 10
log_path: '/var/log/openvpn/openvpn-status.log'
Error log show check OK.
grep ovpn /var/log/netdata/error.log
2022-03-01 11:41:52: python.d INFO: plugin[main] : [ovpn_status_log] built 1 job(s) configs
2022-03-01 11:41:52: python.d INFO: plugin[main] : ovpn_status_log[JOBS] : check success
2022-03-01 12:13:49: python.d INFO: plugin[main] : [ovpn_status_log] built 1 job(s) configs
2022-03-01 12:13:49: python.d INFO: plugin[main] : ovpn_status_log[default] : check success
The log is changed group and permission
ls -l /var/log/openvpn/openvpn-status.log
-rw-r----- 1 root netdata 3038 Mar 1 12:16 /var/log/openvpn/openvpn-status.log
cat /var/log/openvpn/openvpn-status.log
TITLE,OpenVPN 2.5.1 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 27 2021
TIME,2022-03-01 12:17:41,1646108261
HEADER,CLIENT_LIST,Common Name,Real Address,Virtual Address,Virtual IPv6 Address,Bytes Received,Bytes Sent,Connected Since,Connected Since (time_t),Username,Client ID,Peer ID,Data Channel Cipher
CLIENT_LIST,a,x.x.x.x:63836,10.8.0.34,,5990632,15911941,2022-03-01 08:24:22,1646094262,UNDEF,6,0,AES-256-GCM
CLIENT_LIST,a,x.x.x.x:51535,10.8.0.38,,7133752,48476324,2022-03-01 09:06:15,1646096775,UNDEF,14,0,AES-256-GCM
HEADER,ROUTING_TABLE,Virtual Address,Common Name,Real Address,Last Ref,Last Ref (time_t)
ROUTING_TABLE,10.8.0.34,a,x.x.x.x:63836,2022-03-01 12:17:35,1646108255
ROUTING_TABLE,10.8.0.38,a,x.x.x.x.55:51535,2022-03-01 12:17:37,1646108257
GLOBAL_STATS,Max bcast/mcast queue length,12
END
I modified the IP and CN manually.
What I expected to happen
Is the netdata didn’t support it anymore? Because I use the config of go.d is OK, but I don’t want to use the management interface, it write the log frequently when netdata access.