OP#436 add eventbroker setting
This commit is contained in:
@@ -26,23 +26,30 @@
|
|||||||
# to use HTTPS. Default is false. We recommend using a reverse proxy
|
# to use HTTPS. Default is false. We recommend using a reverse proxy
|
||||||
# with SSL termination in front of the Nagios web interface, so this is
|
# with SSL termination in front of the Nagios web interface, so this is
|
||||||
# disabled by default.
|
# disabled by default.
|
||||||
|
# @param [String] ng_event_broker_module The event broker module to be used in
|
||||||
|
# the Nagios configuration. Default is an empty string, which means no event
|
||||||
|
# broker module will be configured. You can specify a module like 'mod_gearman'
|
||||||
|
# to enable the Gearman event broker module, for example.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
class confdroid_nagios::params (
|
class confdroid_nagios::params (
|
||||||
|
|
||||||
# main
|
# main
|
||||||
String $ng_nagios_server = 'nagios.example.net',
|
String $ng_nagios_server = 'nagios.example.net',
|
||||||
Array $ng_reqpackages_server = ['nagios','nagios-devel'],
|
Array $ng_reqpackages_server = ['nagios','nagios-devel'],
|
||||||
Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
|
Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
|
||||||
String $ng_pkg_ensure = 'present',
|
String $ng_pkg_ensure = 'present',
|
||||||
Boolean $ng_include_nrpe = true,
|
Boolean $ng_include_nrpe = true,
|
||||||
|
|
||||||
# user
|
# user
|
||||||
String $ng_user = 'nagios',
|
String $ng_user = 'nagios',
|
||||||
String $ng_u_comment = 'Nagios User',
|
String $ng_u_comment = 'Nagios User',
|
||||||
String $ng_u_groups = 'nagios',
|
String $ng_u_groups = 'nagios',
|
||||||
String $ng_u_shell = '/sbin/nologin',
|
String $ng_u_shell = '/sbin/nologin',
|
||||||
String $ng_u_home = '/home/nagios',
|
String $ng_u_home = '/home/nagios',
|
||||||
Integer $ng_u_uid = 1004,
|
Integer $ng_u_uid = 1004,
|
||||||
|
|
||||||
|
# nagios_cfg settings
|
||||||
|
String $ng_event_broker_module = '',
|
||||||
|
|
||||||
# httpd
|
# httpd
|
||||||
Boolean $ng_use_https = false,
|
Boolean $ng_use_https = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user