1OCF_HEARTBEAT_MAILTO(7) OCF resource agents OCF_HEARTBEAT_MAILTO(7)
2
3
4
6 ocf_heartbeat_MailTo - Notifies recipients by email in the event of
7 resource takeover
8
10 MailTo [start | stop | status | monitor | meta-data | validate-all]
11
13 This is a resource agent for MailTo. It sends email to a sysadmin
14 whenever a takeover occurs.
15
17 email
18 The email address of sysadmin. (required, string, no default)
19
20 subject
21 The subject of the email. (optional, string, no default)
22
24 This resource agent supports the following actions (operations):
25
26 start
27 Starts the resource. Suggested minimum timeout: 10.
28
29 stop
30 Stops the resource. Suggested minimum timeout: 10.
31
32 status
33 Performs a status check. Suggested minimum timeout: 10. Suggested
34 interval: 10.
35
36 monitor
37 Performs a detailed status check. Suggested minimum timeout: 10.
38 Suggested interval: 10.
39
40 meta-data
41 Retrieves resource agent metadata (internal use only). Suggested
42 minimum timeout: 5.
43
44 validate-all
45 Performs a validation of the resource configuration. Suggested
46 minimum timeout: 5.
47
49 The following is an example configuration for a MailTo resource using
50 the crm(8) shell:
51
52 primitive p_MailTo ocf:heartbeat:MailTo \
53 params \
54 email=string \
55 op monitor depth="0" timeout="10" interval="10"
56
58 http://www.linux-ha.org/wiki/MailTo_(resource_agent)
59
61 Linux-HA contributors (see the resource agent source for information
62 about individual authors)
63
64
65
66resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_MAILTO(7)