diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-27 21:57:19 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-27 21:57:21 +0200 |
commit | c5465562b9024af57af12280d89d2a189bdb9110 (patch) | |
tree | 30fa2e0b93a813cdd1279c2d2106361f0efa0d44 /templates/monitor/nat | |
parent | 2310c207558885aad53ac284b64ff156aa33d3b7 (diff) | |
download | vyatta-op-c5465562b9024af57af12280d89d2a189bdb9110.tar.gz vyatta-op-c5465562b9024af57af12280d89d2a189bdb9110.zip |
T5411: remove old background monitor implementation
Old Vyatta had a possibility to issue log entries to the users console based
on a service.
Examples:
* monitor dhcp background start | stop
* monitor lldp background start | stop
* monitor openvpn background start | stop
Somehow they not seem to work properly anymore (we are not certain if they
ever did work properly)
The maintainers decided to drop the op-mode CLI nodes from vyatta-op package in
order to get rid of all the legacy code.
In a subsequent task we might wan't to re-add this capability under the more
"industry standard" command terminal monitor.
Diffstat (limited to 'templates/monitor/nat')
12 files changed, 0 insertions, 25 deletions
diff --git a/templates/monitor/nat/destination/background/node.def b/templates/monitor/nat/destination/background/node.def deleted file mode 100644 index 9c60d84..0000000 --- a/templates/monitor/nat/destination/background/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Monitor destination NAT in the background diff --git a/templates/monitor/nat/destination/background/start/node.def b/templates/monitor/nat/destination/background/start/node.def deleted file mode 100644 index 8f1f0eb..0000000 --- a/templates/monitor/nat/destination/background/start/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Start background destination NAT monitoring -run: echo "Notice: monitoring information is displayed only for rules with enabled logging"; \ - ${vyatta_bindir}/vyatta-monitor-background NAT-DEST "\[NAT-DST-[0-9]*.*\]" diff --git a/templates/monitor/nat/destination/background/stop/node.def b/templates/monitor/nat/destination/background/stop/node.def deleted file mode 100644 index a3e13ff..0000000 --- a/templates/monitor/nat/destination/background/stop/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Stop background destination NAT monitoring -run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT-DEST diff --git a/templates/monitor/nat/destination/rule/node.tag/background/node.def b/templates/monitor/nat/destination/rule/node.tag/background/node.def deleted file mode 100644 index c862d82..0000000 --- a/templates/monitor/nat/destination/rule/node.tag/background/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Monitor a specified destination NAT rule in the background diff --git a/templates/monitor/nat/destination/rule/node.tag/background/start/node.def b/templates/monitor/nat/destination/rule/node.tag/background/start/node.def deleted file mode 100644 index ad06778..0000000 --- a/templates/monitor/nat/destination/rule/node.tag/background/start/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Start background monitoring of a specified destination NAT rule -run: ${vyatta_bindir}/vyatta-monitor-check-rule-log "nat destination" $5; \ - ${vyatta_bindir}/vyatta-monitor-background NAT-DEST-RULE-$5 "\[NAT-DST-$5.*\]" diff --git a/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def b/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def deleted file mode 100644 index bdd727a..0000000 --- a/templates/monitor/nat/destination/rule/node.tag/background/stop/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Stop background monitoring of a specified destination NAT rule -run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT-DEST-RULE-$5 diff --git a/templates/monitor/nat/source/background/node.def b/templates/monitor/nat/source/background/node.def deleted file mode 100644 index a28968f..0000000 --- a/templates/monitor/nat/source/background/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Monitor source NAT in the background diff --git a/templates/monitor/nat/source/background/start/node.def b/templates/monitor/nat/source/background/start/node.def deleted file mode 100644 index d7999bb..0000000 --- a/templates/monitor/nat/source/background/start/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Start background monitoring of source NAT -run: echo "Notice: monitoring information is displayed only for rules with enabled logging"; \ - ${vyatta_bindir}/vyatta-monitor-background NAT-SOURCE "\[NAT-SRC-[0-9]*.*\]" diff --git a/templates/monitor/nat/source/background/stop/node.def b/templates/monitor/nat/source/background/stop/node.def deleted file mode 100644 index fc02c10..0000000 --- a/templates/monitor/nat/source/background/stop/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Stop background monitoring of source NAT -run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT-SOURCE diff --git a/templates/monitor/nat/source/rule/node.tag/background/node.def b/templates/monitor/nat/source/rule/node.tag/background/node.def deleted file mode 100644 index f1139e2..0000000 --- a/templates/monitor/nat/source/rule/node.tag/background/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Monitor a specified source NAT rule in the background - diff --git a/templates/monitor/nat/source/rule/node.tag/background/start/node.def b/templates/monitor/nat/source/rule/node.tag/background/start/node.def deleted file mode 100644 index ca751c6..0000000 --- a/templates/monitor/nat/source/rule/node.tag/background/start/node.def +++ /dev/null @@ -1,3 +0,0 @@ -help: Start background monitoring of a specified source NAT rule -run: ${vyatta_bindir}/vyatta-monitor-check-rule-log "nat source" $5; \ - ${vyatta_bindir}/vyatta-monitor-background NAT-SOURCE-RULE-$5 "\[NAT-SRC-$5.*\]" diff --git a/templates/monitor/nat/source/rule/node.tag/background/stop/node.def b/templates/monitor/nat/source/rule/node.tag/background/stop/node.def deleted file mode 100644 index 241f47b..0000000 --- a/templates/monitor/nat/source/rule/node.tag/background/stop/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: Stop background monitoring of a specified source NAT rule -run: ${vyatta_bindir}/vyatta-monitor-background-stop NAT-SOURCE-RULE-$5 |