url = "http://127.0.0.1/zabbix"
username = "Admin"
password = "zabbix"
Use command:sudo -H -u zabbix bash -c 'echo -e "url = \"http://127.0.0.1/zabbix\"\nusername = \"Admin\"\npassword = \"zabbix\"" > ~/config.py'
Check again if everything seems right:sudo -H -u zabbix bash -c 'cat ~/config.py'
Make sure the config is owned by user 'zabbix':sudo -H -u zabbix bash -c 'ls -l ~/config.py'
No comments:
Post a Comment