From 083fc448c6c9d0af337731e6ab39e0bab0e2ed25 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Tue, 13 Sep 2011 16:30:28 -0500 Subject: Add background monitoring for NAT (cherry picked from commit 8a1c2a082a43dedd4cb29872f663e98d3c797877) --- templates/monitor/nat/background/node.def | 1 + templates/monitor/nat/background/start/node.def | 2 ++ templates/monitor/nat/background/stop/node.def | 3 +++ 3 files changed, 6 insertions(+) create mode 100644 templates/monitor/nat/background/node.def create mode 100644 templates/monitor/nat/background/start/node.def create mode 100644 templates/monitor/nat/background/stop/node.def (limited to 'templates/monitor/nat/background') diff --git a/templates/monitor/nat/background/node.def b/templates/monitor/nat/background/node.def new file mode 100644 index 0000000..01d5867 --- /dev/null +++ b/templates/monitor/nat/background/node.def @@ -0,0 +1 @@ +help: Monitor NAT in the background diff --git a/templates/monitor/nat/background/start/node.def b/templates/monitor/nat/background/start/node.def new file mode 100644 index 0000000..3ab4b79 --- /dev/null +++ b/templates/monitor/nat/background/start/node.def @@ -0,0 +1,2 @@ +help: Start background NAT monitoring +run: ${vyatta_bindir}/vyatta-monitor-background NAT "\[NAT-[0-9]*-*\]" diff --git a/templates/monitor/nat/background/stop/node.def b/templates/monitor/nat/background/stop/node.def new file mode 100644 index 0000000..d84a03d --- /dev/null +++ b/templates/monitor/nat/background/stop/node.def @@ -0,0 +1,3 @@ +help: Stop background NAT monitoring +help: Stop background NAT monitoring +run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT -- cgit v1.2.3