summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-09-06 18:58:04 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:28 -0500
commitdb48113ce1d5ded7f7916403d7c532a91bff7756 (patch)
tree749348f9db106e0a9457ede8553b8f7713a8547c /templates
parent333fc369c2ad8918ad703c10f042af378cc97f4e (diff)
downloadvyatta-op-db48113ce1d5ded7f7916403d7c532a91bff7756.tar.gz
vyatta-op-db48113ce1d5ded7f7916403d7c532a91bff7756.zip
Background monitoring for services
(cherry picked from commit 3a77209514688f91476322562c5fb1be505a71b8)
Diffstat (limited to 'templates')
-rw-r--r--templates/monitor/service/conntrack-sync/background/node.def1
-rw-r--r--templates/monitor/service/conntrack-sync/background/start/node.def2
-rw-r--r--templates/monitor/service/conntrack-sync/background/stop/node.def2
-rw-r--r--templates/monitor/service/conntrack-sync/node.def1
-rw-r--r--templates/monitor/service/dhcp/background/node.def1
-rw-r--r--templates/monitor/service/dhcp/background/start/node.def2
-rw-r--r--templates/monitor/service/dhcp/background/stop/node.def2
-rw-r--r--templates/monitor/service/dns/dynamic/background/node.def1
-rw-r--r--templates/monitor/service/dns/dynamic/background/start/node.def2
-rw-r--r--templates/monitor/service/dns/dynamic/background/stop/node.def2
-rw-r--r--templates/monitor/service/dns/forwarding/background/node.def1
-rw-r--r--templates/monitor/service/dns/forwarding/background/start/node.def2
-rw-r--r--templates/monitor/service/dns/forwarding/background/stop/node.def2
-rw-r--r--templates/monitor/service/https/background/node.def1
-rw-r--r--templates/monitor/service/https/background/start/node.def2
-rw-r--r--templates/monitor/service/https/background/stop/node.def2
-rw-r--r--templates/monitor/service/lldp/background/node.def1
-rw-r--r--templates/monitor/service/lldp/background/start/node.def2
-rw-r--r--templates/monitor/service/lldp/background/stop/node.def2
-rw-r--r--templates/monitor/service/snmp/background/node.def1
-rw-r--r--templates/monitor/service/snmp/background/start/node.def2
-rw-r--r--templates/monitor/service/snmp/background/stop/node.def2
-rw-r--r--templates/monitor/service/webproxy/background/node.def1
-rw-r--r--templates/monitor/service/webproxy/background/start/node.def2
-rw-r--r--templates/monitor/service/webproxy/background/stop/node.def2
25 files changed, 41 insertions, 0 deletions
diff --git a/templates/monitor/service/conntrack-sync/background/node.def b/templates/monitor/service/conntrack-sync/background/node.def
new file mode 100644
index 0000000..a413705
--- /dev/null
+++ b/templates/monitor/service/conntrack-sync/background/node.def
@@ -0,0 +1 @@
+help: Monitor conntrack-sync in the background
diff --git a/templates/monitor/service/conntrack-sync/background/start/node.def b/templates/monitor/service/conntrack-sync/background/start/node.def
new file mode 100644
index 0000000..0b39330
--- /dev/null
+++ b/templates/monitor/service/conntrack-sync/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of conntrack-sync
+run: ${vyatta_bindir}/vyatta-monitor-background Conntrack-Sync conntrackd
diff --git a/templates/monitor/service/conntrack-sync/background/stop/node.def b/templates/monitor/service/conntrack-sync/background/stop/node.def
new file mode 100644
index 0000000..4d5ef14
--- /dev/null
+++ b/templates/monitor/service/conntrack-sync/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of conntrack-sync
+run: ${vyatta_bindir}/vyatta-monitor-background-stop Conntrack-Sync
diff --git a/templates/monitor/service/conntrack-sync/node.def b/templates/monitor/service/conntrack-sync/node.def
index 00f53e0..5429504 100644
--- a/templates/monitor/service/conntrack-sync/node.def
+++ b/templates/monitor/service/conntrack-sync/node.def
@@ -1 +1,2 @@
help: Monitor conntrack-sync
+run: ${vyatta_bindir}/vyatta-monitor Conntrack-Sync conntrackd
diff --git a/templates/monitor/service/dhcp/background/node.def b/templates/monitor/service/dhcp/background/node.def
new file mode 100644
index 0000000..0428873
--- /dev/null
+++ b/templates/monitor/service/dhcp/background/node.def
@@ -0,0 +1 @@
+help: Monitor DHCP in the background
diff --git a/templates/monitor/service/dhcp/background/start/node.def b/templates/monitor/service/dhcp/background/start/node.def
new file mode 100644
index 0000000..bf03182
--- /dev/null
+++ b/templates/monitor/service/dhcp/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of DHCP
+run: ${vyatta_bindir}/vyatta-monitor-background DHCP dhcpd
diff --git a/templates/monitor/service/dhcp/background/stop/node.def b/templates/monitor/service/dhcp/background/stop/node.def
new file mode 100644
index 0000000..e712003
--- /dev/null
+++ b/templates/monitor/service/dhcp/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of DHCP
+run: ${vyatta_bindir}/vyatta-monitor-background-stop DHCP
diff --git a/templates/monitor/service/dns/dynamic/background/node.def b/templates/monitor/service/dns/dynamic/background/node.def
new file mode 100644
index 0000000..a94f088
--- /dev/null
+++ b/templates/monitor/service/dns/dynamic/background/node.def
@@ -0,0 +1 @@
+help: Monitor Dynamic DNS in the background
diff --git a/templates/monitor/service/dns/dynamic/background/start/node.def b/templates/monitor/service/dns/dynamic/background/start/node.def
new file mode 100644
index 0000000..6dca4c3
--- /dev/null
+++ b/templates/monitor/service/dns/dynamic/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of Dynamic DNS
+run: ${vyatta_bindir}/vyatta-monitor-background Dynamic-DNS ddclient
diff --git a/templates/monitor/service/dns/dynamic/background/stop/node.def b/templates/monitor/service/dns/dynamic/background/stop/node.def
new file mode 100644
index 0000000..e6f0392
--- /dev/null
+++ b/templates/monitor/service/dns/dynamic/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of Dynamic DNS
+run: ${vyatta_bindir}/vyatta-monitor-background-stop Dynamic-DNS
diff --git a/templates/monitor/service/dns/forwarding/background/node.def b/templates/monitor/service/dns/forwarding/background/node.def
new file mode 100644
index 0000000..553f770
--- /dev/null
+++ b/templates/monitor/service/dns/forwarding/background/node.def
@@ -0,0 +1 @@
+help: Monitor DNS Forwarding in the background
diff --git a/templates/monitor/service/dns/forwarding/background/start/node.def b/templates/monitor/service/dns/forwarding/background/start/node.def
new file mode 100644
index 0000000..da7e1b0
--- /dev/null
+++ b/templates/monitor/service/dns/forwarding/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background forwarding of DNS Forwarding
+run: ${vyatta_bindir}/vyatta-monitor-background DNS-Forward dnsmasq
diff --git a/templates/monitor/service/dns/forwarding/background/stop/node.def b/templates/monitor/service/dns/forwarding/background/stop/node.def
new file mode 100644
index 0000000..f4adba9
--- /dev/null
+++ b/templates/monitor/service/dns/forwarding/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background forwarding of DNS Forwarding
+run: ${vyatta_bindir}/vyatta-monitor-background-stop DNS-Forward
diff --git a/templates/monitor/service/https/background/node.def b/templates/monitor/service/https/background/node.def
new file mode 100644
index 0000000..1f4371b
--- /dev/null
+++ b/templates/monitor/service/https/background/node.def
@@ -0,0 +1 @@
+help: Monitor HTTPS in the background
diff --git a/templates/monitor/service/https/background/start/node.def b/templates/monitor/service/https/background/start/node.def
new file mode 100644
index 0000000..ae87d88
--- /dev/null
+++ b/templates/monitor/service/https/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of the HTTPS service
+run: ${vyatta_bindir}/vyatta-monitor-background HTTPS lighttpd chunker webgui
diff --git a/templates/monitor/service/https/background/stop/node.def b/templates/monitor/service/https/background/stop/node.def
new file mode 100644
index 0000000..ec3ab8c
--- /dev/null
+++ b/templates/monitor/service/https/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of the HTTPS service
+run: ${vyatta_bindir}/vyatta-monitor-background-stop HTTPS
diff --git a/templates/monitor/service/lldp/background/node.def b/templates/monitor/service/lldp/background/node.def
new file mode 100644
index 0000000..d7a8b9b
--- /dev/null
+++ b/templates/monitor/service/lldp/background/node.def
@@ -0,0 +1 @@
+help: Monitor LLDP in the background
diff --git a/templates/monitor/service/lldp/background/start/node.def b/templates/monitor/service/lldp/background/start/node.def
new file mode 100644
index 0000000..ac9eadd
--- /dev/null
+++ b/templates/monitor/service/lldp/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of the LLDP daemon
+run: ${vyatta_bindir}/vyatta-monitor-background LLDP lldpd
diff --git a/templates/monitor/service/lldp/background/stop/node.def b/templates/monitor/service/lldp/background/stop/node.def
new file mode 100644
index 0000000..82468fd
--- /dev/null
+++ b/templates/monitor/service/lldp/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of the LLDP daemon
+run: ${vyatta_bindir}/vyatta-monitor-background-stop LLDP
diff --git a/templates/monitor/service/snmp/background/node.def b/templates/monitor/service/snmp/background/node.def
new file mode 100644
index 0000000..3e4dedd
--- /dev/null
+++ b/templates/monitor/service/snmp/background/node.def
@@ -0,0 +1 @@
+help: Monitor SNMP in the background
diff --git a/templates/monitor/service/snmp/background/start/node.def b/templates/monitor/service/snmp/background/start/node.def
new file mode 100644
index 0000000..9534dc7
--- /dev/null
+++ b/templates/monitor/service/snmp/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring for SNMP
+run: ${vyatta_bindir}/vyatta-monitor-background SNMP snmpd
diff --git a/templates/monitor/service/snmp/background/stop/node.def b/templates/monitor/service/snmp/background/stop/node.def
new file mode 100644
index 0000000..c0b97ed
--- /dev/null
+++ b/templates/monitor/service/snmp/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring for SNMP
+run: ${vyatta_bindir}/vyatta-monitor-background-stop SNMP
diff --git a/templates/monitor/service/webproxy/background/node.def b/templates/monitor/service/webproxy/background/node.def
new file mode 100644
index 0000000..8f82ad5
--- /dev/null
+++ b/templates/monitor/service/webproxy/background/node.def
@@ -0,0 +1 @@
+help: Monitor Webproxy in the background
diff --git a/templates/monitor/service/webproxy/background/start/node.def b/templates/monitor/service/webproxy/background/start/node.def
new file mode 100644
index 0000000..a7f381b
--- /dev/null
+++ b/templates/monitor/service/webproxy/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of Webproxy
+run: ${vyatta_bindir}/vyatta-monitor-background Webproxy squid
diff --git a/templates/monitor/service/webproxy/background/stop/node.def b/templates/monitor/service/webproxy/background/stop/node.def
new file mode 100644
index 0000000..6e26ba9
--- /dev/null
+++ b/templates/monitor/service/webproxy/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of Webproxy
+run: ${vyatta_bindir}/vyatta-monitor-background-stop Webproxy