'\" t .\" Title: ocf_heartbeat_syslog-ng .\" Author: Linux-HA contributors (see the resource agent source for information about individual authors) .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/09/2014 .\" Manual: OCF resource agents .\" Source: resource-agents UNKNOWN .\" Language: English .\" .TH "OCF_HEARTBEAT_SYSLOG" "7" "03/09/2014" "resource-agents UNKNOWN" "OCF resource agents" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ocf_heartbeat_syslog-ng \- Syslog\-ng resource agent .SH "SYNOPSIS" .HP \w'\fBsyslog\-ng\fR\ 'u \fBsyslog\-ng\fR [start | stop | status | monitor | meta\-data | validate\-all] .SH "DESCRIPTION" .PP This script manages a syslog\-ng instance as an HA resource\&. .SH "SUPPORTED PARAMETERS" .PP \fBconfigfile\fR .RS 4 This parameter specifies a configuration file for a syslog\-ng instance managed by this RA\&. (required, string, no default) .RE .PP \fBsyslog_ng_binary\fR .RS 4 This parameter specifies syslog\-ng\*(Aqs executable file\&. (optional, string, default /sbin/syslog\-ng) .RE .PP \fBstart_opts\fR .RS 4 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\*(Aqt use option \*(Aq\-F\*(Aq\&. It causes a stuck of a start action\&. (optional, string, no default) .RE .PP \fBkill_term_timeout\fR .RS 4 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\&. (optional, integer, default 10) .RE .SH "SUPPORTED ACTIONS" .PP This resource agent supports the following actions (operations): .PP \fBstart\fR .RS 4 Starts the resource\&. Suggested minimum timeout: 60s\&. .RE .PP \fBstop\fR .RS 4 Stops the resource\&. Suggested minimum timeout: 120s\&. .RE .PP \fBstatus\fR .RS 4 Performs a status check\&. Suggested minimum timeout: 60s\&. .RE .PP \fBmonitor\fR .RS 4 Performs a detailed status check\&. Suggested minimum timeout: 60s\&. Suggested interval: 60s\&. .RE .PP \fBmeta\-data\fR .RS 4 Retrieves resource agent metadata (internal use only)\&. Suggested minimum timeout: 5s\&. .RE .PP \fBvalidate\-all\fR .RS 4 Performs a validation of the resource configuration\&. Suggested minimum timeout: 5\&. .RE .SH "EXAMPLE" .PP The following is an example configuration for a syslog\-ng resource using the \fBcrm\fR(8) shell: .sp .if n \{\ .RS 4 .\} .nf primitive p_syslog\-ng ocf:heartbeat:syslog\-ng \e params \e configfile=\fIstring\fR \e op monitor depth="0" timeout="60s" interval="60s" .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \m[blue]\fB\%http://www.linux-ha.org/wiki/syslog-ng_(resource_agent)\fR\m[] .SH "AUTHOR" .PP \fBLinux\-HA contributors (see the resource agent source for information about individual authors)\fR