1OCF_HEARTBEAT_SYSLOG(7)       OCF resource agents      OCF_HEARTBEAT_SYSLOG(7)
2
3
4

NAME

6       ocf_heartbeat_syslog-ng - Syslog-ng resource agent
7

SYNOPSIS

9       syslog-ng [start | stop | status | monitor | meta-data | validate-all]
10

DESCRIPTION

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

SUPPORTED PARAMETERS

15       configfile
16           This parameter specifies a configuration file for a syslog-ng
17           instance managed by this RA.  (required, string, no default)
18
19       syslog_ng_binary
20           This parameter specifies syslog-ng's executable file.  (optional,
21           string, default /sbin/syslog-ng)
22
23       start_opts
24           This parameter specifies startup options for a syslog-ng instance
25           managed by this RA. When no value is given, no startup options is
26           used. Don't use option '-F'. It causes a stuck of a start action.
27           (optional, string, no default)
28
29       kill_term_timeout
30           On a stop action, a normal stop method(pkill -TERM) is firstly
31           used. And then the confirmation of its completion is waited for the
32           specified seconds by this parameter. The default value is 10.
33           (optional, integer, default 10)
34

SUPPORTED ACTIONS

36       This resource agent supports the following actions (operations):
37
38       start
39           Starts the resource. Suggested minimum timeout: 60s.
40
41       stop
42           Stops the resource. Suggested minimum timeout: 120s.
43
44       status
45           Performs a status check. Suggested minimum timeout: 60s.
46
47       monitor
48           Performs a detailed status check. Suggested minimum timeout: 60s.
49           Suggested interval: 60s.
50
51       meta-data
52           Retrieves resource agent metadata (internal use only). Suggested
53           minimum timeout: 5s.
54
55       validate-all
56           Performs a validation of the resource configuration. Suggested
57           minimum timeout: 5.
58

EXAMPLE

60       The following is an example configuration for a syslog-ng resource
61       using the crm(8) shell:
62
63           primitive p_syslog-ng ocf:heartbeat:syslog-ng \
64             params \
65               configfile=string \
66             op monitor depth="0" timeout="60s" interval="60s"
67

SEE ALSO

69       http://www.linux-ha.org/wiki/syslog-ng_(resource_agent)
70

AUTHOR

72       Linux-HA contributors (see the resource agent source for information
73       about individual authors)
74
75
76
77resource-agents 3.9.2             07/08/2011           OCF_HEARTBEAT_SYSLOG(7)
Impressum