1OCF_HEARTBEAT_CLUSTE(7) OCF resource agents OCF_HEARTBEAT_CLUSTE(7)
2
3
4
6 ocf_heartbeat_ClusterMon - Runs crm_mon in the background, recording
7 the cluster status to an HTML file
8
10 ClusterMon [start | stop | monitor | meta-data | validate-all]
11
13 This is a ClusterMon Resource Agent. It outputs current cluster status
14 to the html.
15
17 user
18 The user we want to run crm_mon as (optional, string, default root)
19
20 update
21 How frequently should we update the cluster status (optional,
22 integer, default 15)
23
24 extra_options
25 Additional options to pass to crm_mon. Eg. -n -r (optional, string,
26 no default)
27
28 pidfile
29 PID file location to ensure only one instance is running (unique,
30 optional, string, default /tmp/ClusterMon_default.pid)
31
32 htmlfile
33 Location to write HTML output to. (unique, optional, string,
34 default /tmp/ClusterMon_default.html)
35
37 This resource agent supports the following actions (operations):
38
39 start
40 Starts the resource. Suggested minimum timeout: 20.
41
42 stop
43 Stops the resource. Suggested minimum timeout: 20.
44
45 monitor
46 Performs a detailed status check. Suggested minimum timeout: 20.
47 Suggested interval: 10.
48
49 meta-data
50 Retrieves resource agent metadata (internal use only). Suggested
51 minimum timeout: 5.
52
53 validate-all
54 Performs a validation of the resource configuration. Suggested
55 minimum timeout: 30.
56
58 The following is an example configuration for a ClusterMon resource
59 using the crm(8) shell:
60
61 primitive p_ClusterMon ocf:heartbeat:ClusterMon \
62 op monitor depth="0" timeout="20" interval="10"
63
65 http://www.linux-ha.org/wiki/ClusterMon_(resource_agent)
66
68 Linux-HA contributors (see the resource agent source for information
69 about individual authors)
70
71
72
73resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_CLUSTE(7)