1
0
Fork 0
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:
Greg Sutcliffe 2026-07-01 10:12:27 +01:00
commit b5a2ece0b9
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0
2 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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