summaryrefslogtreecommitdiff
path: root/templates/monitor/cluster/background
diff options
context:
space:
mode:
Diffstat (limited to 'templates/monitor/cluster/background')
-rw-r--r--templates/monitor/cluster/background/node.def1
-rw-r--r--templates/monitor/cluster/background/start/node.def2
-rw-r--r--templates/monitor/cluster/background/stop/node.def2
3 files changed, 5 insertions, 0 deletions
diff --git a/templates/monitor/cluster/background/node.def b/templates/monitor/cluster/background/node.def
new file mode 100644
index 0000000..b57e636
--- /dev/null
+++ b/templates/monitor/cluster/background/node.def
@@ -0,0 +1 @@
+help: Monitor cluster service in the background
diff --git a/templates/monitor/cluster/background/start/node.def b/templates/monitor/cluster/background/start/node.def
new file mode 100644
index 0000000..3d6f577
--- /dev/null
+++ b/templates/monitor/cluster/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring for cluster service
+run: ${vyatta_bindir}/vyatta-monitor-background Cluster heartbeat cl_status mach_down ha_log
diff --git a/templates/monitor/cluster/background/stop/node.def b/templates/monitor/cluster/background/stop/node.def
new file mode 100644
index 0000000..07b16f4
--- /dev/null
+++ b/templates/monitor/cluster/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring for cluster service
+run: ${vyatta_bindir}/vyatta-monitor-background-stop Cluster