Hi,
I'm trying to get the externalscripts directory working.
I've installed the Percona MySQL monitoring kit. But somehow the scripts show me Permission denied within Zabbix.
When I check the SELinux log this is the message I get:
type=AVC msg=audit(1494437335.692:229632): avc: denied { execute } for pid=8442 comm="sh" name="get_mysql_stats_wrapper.sh" dev="dm-4" ino=466 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u
bject_r:zabbix_script_exec_t:s0 tclass=file
Also when starting the Zabbix agent for the first time, it crashes with Permission denied [13].
I'm on RHEL 7.3 and using Zabbix 3.2 (Latest version)
What to do? I've tried to make a module but that did not work.
Kind Regards,
Kevin
I'm trying to get the externalscripts directory working.
I've installed the Percona MySQL monitoring kit. But somehow the scripts show me Permission denied within Zabbix.
When I check the SELinux log this is the message I get:
type=AVC msg=audit(1494437335.692:229632): avc: denied { execute } for pid=8442 comm="sh" name="get_mysql_stats_wrapper.sh" dev="dm-4" ino=466 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u
bject_r:zabbix_script_exec_t:s0 tclass=fileAlso when starting the Zabbix agent for the first time, it crashes with Permission denied [13].
I'm on RHEL 7.3 and using Zabbix 3.2 (Latest version)
What to do? I've tried to make a module but that did not work.
Kind Regards,
Kevin
Comment