forked from infra/ansible
Zabbix: adjust Varnish tcp port check, and selinux rule
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
6837abe432
commit
b5a2ece0b9
2 changed files with 5 additions and 2 deletions
|
|
@ -1,12 +1,15 @@
|
|||
module zabbix_varnish 1.1;
|
||||
module zabbix_varnish 1.2;
|
||||
|
||||
require {
|
||||
type zabbix_agent_t;
|
||||
type varnishd_port_t;
|
||||
type varnishd_var_lib_t;
|
||||
class file read;
|
||||
class file open;
|
||||
class tcp_socket name_connect;
|
||||
}
|
||||
|
||||
#============= zabbix_agent_t ==============
|
||||
allow zabbix_agent_t varnishd_var_lib_t:file read;
|
||||
allow zabbix_agent_t varnishd_var_lib_t:file open;
|
||||
allow zabbix_agent_t varnishd_port_t:tcp_socket name_connect;
|
||||
|
|
|
|||
|
|
@ -525,7 +525,7 @@ zabbix_export:
|
|||
value: 127.0.0.1
|
||||
description: 'IP or hostname of the Varnish server.'
|
||||
- macro: '{$VARNISH.STATUS.PORT}'
|
||||
value: '80'
|
||||
value: '6081'
|
||||
description: 'Port of the Varnish server.'
|
||||
graphs:
|
||||
- uuid: ef40fb5ce9344c04b91e96d7d547ac84
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue