keepalived_misc_check resource can be used to configure a
MISC_CHECK health checker.
More information available at https://www.keepalived.org/manpage.html (opens in a new tab)
|External script or program|
|Optional Script execution timeout|
|Optional random delay to start the initial check for maximum N seconds|
|directory for the config file to reside in|
|full path to the config file|
|Which cookbook to look in for the template|
|Name of the template to render|
keepalived_misc_check 'mysql' do misc_path '/opt/checks/misc/mysql.sh' misc_timeout 5 warmup 10 notifies :restart, 'service[keepalived]', :delayed end
Was this helpful?