Remove watchdog check for Pacemaker

The implementation of this feature isn't robust enough for the moment.
We need to think more about it and revisit later.

Change-Id: I76534d071f98a7eb99e7977d1df3dff1977ad338
Closes-Bug: #1514893
This commit is contained in:
Simon Pasquier 2015-11-10 16:54:18 +01:00
parent 8e86e72044
commit 8e987e9bf9
1 changed files with 3 additions and 23 deletions

View File

@ -91,11 +91,9 @@ class lma_collector (
'failure-timeout' => '120',
},
parameters => {
'config' => $config_dir,
'log_file' => "/var/log/${service_name}.log",
'user' => $heka_user,
'watchdog_file' => $lma_collector::params::watchdog_file,
'watchdog_timeout' => $lma_collector::params::watchdog_timeout,
'config' => $config_dir,
'log_file' => "/var/log/${service_name}.log",
'user' => $heka_user,
},
operations => {
'monitor' => {
@ -139,24 +137,6 @@ class lma_collector (
require => Cs_rsc_order[$service_name]
}
heka::filter::sandbox { 'watchdog':
config_dir => $config_dir,
filename => "${plugins_dir}/filters/watchdog.lua",
message_matcher => 'FALSE',
ticker_interval => $lma_collector::params::watchdog_interval,
config => {
payload_name => $lma_collector::params::watchdog_payload_name
}
}
heka::output::sandbox { 'watchdog':
config_dir => $config_dir,
filename => "${plugins_dir}/outputs/lastfile.lua",
message_matcher => "Fields[payload_name] == '${lma_collector::params::watchdog_payload_name}'",
config => {
path => $lma_collector::params::watchdog_file,
}
}
} else {
# Use the default service class
include lma_collector::service