Skip to content

Commit

Permalink
allow apache to connect to the zabbix server
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Apr 18, 2016
1 parent 9f1f567 commit 45cf62e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@
# check if selinux is active and allow zabbix
if $::selinux_config_mode == 'enforcing' {
selboolean{'zabbix_can_network':
persistent => true,
value => 'on',
persistent => true,
value => 'on',
}
}
}
8 changes: 8 additions & 0 deletions manifests/web.pp
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,12 @@
require => Package[$zabbix_web_package],
}
} # END if $manage_vhost

# check if selinux is active and allow zabbix
if $::selinux_config_mode == 'enforcing' {
selboolean{'httpd_can_connect_zabbix':
persistent => true,
value => 'on',
}
}
}

0 comments on commit 45cf62e

Please sign in to comment.