Add StartEscalators option
MODIFY
manifests/init.pp
manifests/init.pp
@@ -136,6 +136,7 @@ class zabbix (
$startpingers = $zabbix::params::server_startpingers,
Integer[1, 100] $startalerters = $zabbix::params::server_startalerters,
$startdiscoverers = $zabbix::params::server_startdiscoverers,
+ Integer[1, 100] $startescalators = $zabbix::params::server_startescalators,
$starthttppollers = $zabbix::params::server_starthttppollers,
$starttimers = $zabbix::params::server_starttimers,
$javagateway = $zabbix::params::server_javagateway,
@@ -277,6 +278,7 @@ class zabbix (
startpingers => $startpingers,
startalerters => $startalerters,
startdiscoverers => $startdiscoverers,
+ startescalators => $startescalators,
starthttppollers => $starthttppollers,
starttimers => $starttimers,
javagateway => $javagateway,

MODIFY
manifests/params.pp
manifests/params.pp
@@ -258,6 +258,7 @@ class zabbix::params {
$server_startdbsyncers = '4'
$server_startalerters = 3
$server_startdiscoverers = '1'
+ $server_startescalators = 1
$server_starthttppollers = '1'
$server_startipmipollers = '0'
$server_startjavapollers = '5'

MODIFY
manifests/server.pp
manifests/server.pp
# [*startdiscoverers*]
# Number of pre-forked instances of discoverers.
#
+# [*startescalators*]
+# Number of pre-forked instances of escalators.
+#
# [*starthttppollers*]
# Number of pre-forked instances of http pollers.
#
@@ -375,6 +378,7 @@ class zabbix::server (
$startpingers = $zabbix::params::server_startpingers,
Integer[1, 100] $startalerters = $zabbix::params::server_startalerters,
$startdiscoverers = $zabbix::params::server_startdiscoverers,
+ Integer[1, 100] $startescalators = $zabbix::params::server_startescalators,
$starthttppollers = $zabbix::params::server_starthttppollers,
$starttimers = $zabbix::params::server_starttimers,
$javagateway = $zabbix::params::server_javagateway,

MODIFY
spec/classes/server_spec.rb
spec/classes/server_spec.rb
@@ -241,6 +241,7 @@ describe 'zabbix::server' do
startdbsyncers: '4',
startalerters: 10,
startdiscoverers: '1',
+ startescalators: 10,
starthttppollers: '1',
startipmipollers: '12',
startpingers: '1',
@@ -315,6 +316,7 @@ describe 'zabbix::server' do
it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartDBSyncers=4} }
it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartAlerters=10} }
it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartDiscoverers=1} }
+ it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartEscalators=10} }
it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartHTTPPollers=1} }
it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartIPMIPollers=12} }
it { is_expected.to contain_file('/etc/zabbix/zabbix_server.conf').with_content %r{^StartPingers=1} }

Add StartEscalators option

Signed-off-by: Christos Papageorgiou <root.expert.xda@gmail.com>