What permissions should be granted to log files to be able to read then with zabbix ?
I have a log file (/var/log/messages) that was set with 600 root:root
zabbix is set as:
zabbix:x:150:150:Zabbix Monitoring:/home/zabbix:/bin/bash
and runs as zabbix
I tried using permissions 604 on /var/log/messages which seemed like the proper permissions. I changed to user zabbix and parsed the log file just fine but when i started the zabbix agent I got a permission denied. I changed the log to 777 to test permissions and it worked.
I tested permissions 640 and that worked.
My question is... How does that work if zabbix should be starting as a normal user ?
I am running zabbix 1.1, I love this product it is great work!
I have a log file (/var/log/messages) that was set with 600 root:root
zabbix is set as:
zabbix:x:150:150:Zabbix Monitoring:/home/zabbix:/bin/bash
and runs as zabbix
I tried using permissions 604 on /var/log/messages which seemed like the proper permissions. I changed to user zabbix and parsed the log file just fine but when i started the zabbix agent I got a permission denied. I changed the log to 777 to test permissions and it worked.
I tested permissions 640 and that worked.
My question is... How does that work if zabbix should be starting as a normal user ?
I am running zabbix 1.1, I love this product it is great work!
Comment