patricegautier / unifiZabbix

Zabbix templates to monitor pretty much all Unifi devices
181 stars 36 forks source link

Cannot access public key file #97

Open keprocs opened 1 year ago

keprocs commented 1 year ago

Hi, thanks for the scripts. very interesting. but so far I have not been able to run it to make it work. when running the test in Zabbix, it gives an error Cannot access public key file ~/. ssh/zabbix/{$UNIFI_PUB_KEY} Macros are spelled out, in terminal access the test connection to the hardware passes, trying to run the script gives an error { "at": "09:45:49", "r": "timeout (127)", "device": "192.168....", "mcaDumpError": "Error"

image

image