Skip to contentSkip to conversation

Allow zabbix to connect to mysql through TCP

PATCH New Sven Vermeulen 2 participants 2 messages Aug 13, 2011 – Aug 16, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow zabbix to connect to mysql through TCP

The mysql_stream_connect interface, which is already in use, is only for local MySQL databases (not through TCP/IP).

---
 policy/modules/services/zabbix.te |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
policy/modules/services/zabbix.te +1 -0
index 3486802..63832db 100644
@@ -71,6 +71,7 @@ zabbix_agent_tcp_connect(zabbix_t)
 
 optional_policy(`
 	mysql_stream_connect(zabbix_t)
+	mysql_tcp_connect(zabbix_t)
 ')
 
 optional_policy(`
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 Allow zabbix to connect to mysql through TCP

Quoted 2 lines · Sven Vermeulen

The mysql_stream_connect interface, which is already in use, is only for local MySQL databases (not through TCP/IP).

Merged.

Quoted 17 lines
---
  policy/modules/services/zabbix.te |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
policy/modules/services/zabbix.te +1 -0
index 3486802..63832db 100644
@@ -71,6 +71,7 @@ zabbix_agent_tcp_connect(zabbix_t)
 
  optional_policy(`
  	mysql_stream_connect(zabbix_t)
+	mysql_tcp_connect(zabbix_t)
  ')
 
  optional_policy(`
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com