Name

ocf:syslog-ng — Syslog-ng resource agent

Synopsis

[OCF_RESKEY_configfile=string] [OCF_RESKEY_syslog_ng_binary=string] [OCF_RESKEY_start_opts=string] [OCF_RESKEY_kill_term_timeout=integer] syslog-ng [start | stop | status | monitor | meta-data | validate-all]

Description

This script manages a syslog-ng instance as an HA resource.

Supported Parameters

OCF_RESKEY_configfile=Configuration file

This parameter specifies a configuration file for a syslog-ng instance managed by this RA.

OCF_RESKEY_syslog_ng_binary=syslog-ng executable

This parameter specifies syslog-ng's executable file.

OCF_RESKEY_start_opts=Start options

This parameter specifies startup options for a syslog-ng instance managed by this RA. When no value is given, no startup options is used. Don't use option '-F'. It causes a stuck of a start action.

OCF_RESKEY_kill_term_timeout=Number of seconds to await to confirm a normal stop method

On a stop action, a normal stop method(pkill -TERM) is firstly used. And then the confirmation of its completion is waited for the specified seconds by this parameter. The default value is 10.