summaryrefslogtreecommitdiff
path: root/templates/monitor/nat/masquerade/background
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-09-13 16:30:28 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-10-27 17:11:29 -0500
commit083fc448c6c9d0af337731e6ab39e0bab0e2ed25 (patch)
treec1c59f977af21b75b3baf42e11048925a9c09a4c /templates/monitor/nat/masquerade/background
parent3de34f9578e04f849f809329f7128a99e8010990 (diff)
downloadvyatta-op-083fc448c6c9d0af337731e6ab39e0bab0e2ed25.tar.gz
vyatta-op-083fc448c6c9d0af337731e6ab39e0bab0e2ed25.zip
Add background monitoring for NAT
(cherry picked from commit 8a1c2a082a43dedd4cb29872f663e98d3c797877)
Diffstat (limited to 'templates/monitor/nat/masquerade/background')
-rw-r--r--templates/monitor/nat/masquerade/background/node.def1
-rw-r--r--templates/monitor/nat/masquerade/background/start/node.def2
-rw-r--r--templates/monitor/nat/masquerade/background/stop/node.def2
3 files changed, 5 insertions, 0 deletions
diff --git a/templates/monitor/nat/masquerade/background/node.def b/templates/monitor/nat/masquerade/background/node.def
new file mode 100644
index 0000000..4f39dac
--- /dev/null
+++ b/templates/monitor/nat/masquerade/background/node.def
@@ -0,0 +1 @@
+help: Monitor Masquerade NAT in the background
diff --git a/templates/monitor/nat/masquerade/background/start/node.def b/templates/monitor/nat/masquerade/background/start/node.def
new file mode 100644
index 0000000..bbfbb98
--- /dev/null
+++ b/templates/monitor/nat/masquerade/background/start/node.def
@@ -0,0 +1,2 @@
+help: Start background monitoring of Masquerade NAT
+run: ${vyatta_bindir}/vyatta-monitor-background NAT-MASQ "\[NAT-[0-9]*-MASQ\]"
diff --git a/templates/monitor/nat/masquerade/background/stop/node.def b/templates/monitor/nat/masquerade/background/stop/node.def
new file mode 100644
index 0000000..c0c22cd
--- /dev/null
+++ b/templates/monitor/nat/masquerade/background/stop/node.def
@@ -0,0 +1,2 @@
+help: Stop background monitoring of Masquerade NAT
+run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT-MASQ