Grifagor / zabbix-openvpn

33 stars 35 forks source link

Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'sh: /var/etc/openvpn/discover_vpn.sh: Permission denied' #8

Open tientmse62290 opened 4 years ago

tientmse62290 commented 4 years ago

I just setup and change some dir, then run the discovery and got: Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'sh: /var/etc/openvpn/discover_vpn.sh: Permission denied'

Any solution to fix that? Thanks & Regards

KuznetsovPA commented 4 years ago

Try to give permission to discover_vpn.sh. RW for zabbix agent user.