Hi Team,
We had followed the instruction given at below link to monitor logs file using zabbix on Linux server.
After creating the item below error is coming.
5470:20180829:044654.964 active check "log[/var/log/mariadb/mariadb.log,ERROR]" is not supported: Cannot obtain information for file "/var/log/mariadb/mariadb.log": [13] Permission denied
We troubleshooted the issue but no luck.
1.We had given the zabbix user read/write permission on /var/log/mariadb/mariadb.log which used to run zabbix_agent
2. We allowed the zabbix_agent should by pass the SELinux setting, as it is in enforcing mode.
semanage permissive -a zabbix_agent_t
3.We disabled the SELinux completely.
We tried the different method but still the same error is coming.
Please help us on this.
Thanks and Regards,
Vijay Maurya
We had followed the instruction given at below link to monitor logs file using zabbix on Linux server.
After creating the item below error is coming.
5470:20180829:044654.964 active check "log[/var/log/mariadb/mariadb.log,ERROR]" is not supported: Cannot obtain information for file "/var/log/mariadb/mariadb.log": [13] Permission denied
We troubleshooted the issue but no luck.
1.We had given the zabbix user read/write permission on /var/log/mariadb/mariadb.log which used to run zabbix_agent
2. We allowed the zabbix_agent should by pass the SELinux setting, as it is in enforcing mode.
semanage permissive -a zabbix_agent_t
3.We disabled the SELinux completely.
We tried the different method but still the same error is coming.
Please help us on this.
Thanks and Regards,
Vijay Maurya
Comment