diff options
Diffstat (limited to 'templates/monitor')
16 files changed, 4 insertions, 10 deletions
diff --git a/templates/monitor/vpn/all/background/node.def b/templates/monitor/vpn/all/background/node.def new file mode 100644 index 0000000..b4eece2 --- /dev/null +++ b/templates/monitor/vpn/all/background/node.def @@ -0,0 +1 @@ +help: Monitor VPN in the background diff --git a/templates/monitor/vpn/background/start/all/node.def b/templates/monitor/vpn/all/background/start/node.def index ac100e8..ac100e8 100644 --- a/templates/monitor/vpn/background/start/all/node.def +++ b/templates/monitor/vpn/all/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/all/node.def b/templates/monitor/vpn/all/background/stop/node.def index 8d735cd..8d735cd 100644 --- a/templates/monitor/vpn/background/stop/all/node.def +++ b/templates/monitor/vpn/all/background/stop/node.def diff --git a/templates/monitor/vpn/background/list/node.def b/templates/monitor/vpn/background/list/node.def deleted file mode 100644 index 2fe1507..0000000 --- a/templates/monitor/vpn/background/list/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: List currently running VPN background montioring processes -run: ARR=$(ls /var/run/vyatta/monitor/VPN*"$(tty| sed -e s-/--g -e s/dev//g)"*.pid) - ARR=${ARR[@]##*/} - ARR=${ARR[@]%%-pts*} - for i in "${ARR[@]}";do - echo $i - done diff --git a/templates/monitor/vpn/background/node.def b/templates/monitor/vpn/background/node.def deleted file mode 100644 index 7fbfd18..0000000 --- a/templates/monitor/vpn/background/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Montior VPN in the background diff --git a/templates/monitor/vpn/background/start/node.def b/templates/monitor/vpn/background/start/node.def deleted file mode 100644 index dc17ca0..0000000 --- a/templates/monitor/vpn/background/start/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Start VPN background monitoring diff --git a/templates/monitor/vpn/background/stop/node.def b/templates/monitor/vpn/background/stop/node.def deleted file mode 100644 index e0b76b2..0000000 --- a/templates/monitor/vpn/background/stop/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Stop VPN background monitoring diff --git a/templates/monitor/vpn/ipsec/background/node.def b/templates/monitor/vpn/ipsec/background/node.def new file mode 100644 index 0000000..f32e862 --- /dev/null +++ b/templates/monitor/vpn/ipsec/background/node.def @@ -0,0 +1 @@ +help: Monitor IPSec in the background diff --git a/templates/monitor/vpn/background/start/ipsec/node.def b/templates/monitor/vpn/ipsec/background/start/node.def index 7ba2631..7ba2631 100644 --- a/templates/monitor/vpn/background/start/ipsec/node.def +++ b/templates/monitor/vpn/ipsec/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/ipsec/node.def b/templates/monitor/vpn/ipsec/background/stop/node.def index d6ea71c..d6ea71c 100644 --- a/templates/monitor/vpn/background/stop/ipsec/node.def +++ b/templates/monitor/vpn/ipsec/background/stop/node.def diff --git a/templates/monitor/vpn/l2tp/background/node.def b/templates/monitor/vpn/l2tp/background/node.def new file mode 100644 index 0000000..d9b7697 --- /dev/null +++ b/templates/monitor/vpn/l2tp/background/node.def @@ -0,0 +1 @@ +help: Monitor L2TP in the background diff --git a/templates/monitor/vpn/background/start/l2tp/node.def b/templates/monitor/vpn/l2tp/background/start/node.def index a43440e..a43440e 100644 --- a/templates/monitor/vpn/background/start/l2tp/node.def +++ b/templates/monitor/vpn/l2tp/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/l2tp/node.def b/templates/monitor/vpn/l2tp/background/stop/node.def index 2173baf..2173baf 100644 --- a/templates/monitor/vpn/background/stop/l2tp/node.def +++ b/templates/monitor/vpn/l2tp/background/stop/node.def diff --git a/templates/monitor/vpn/pptp/background/node.def b/templates/monitor/vpn/pptp/background/node.def new file mode 100644 index 0000000..1eafbed --- /dev/null +++ b/templates/monitor/vpn/pptp/background/node.def @@ -0,0 +1 @@ +help: Monitor PPTP in the background diff --git a/templates/monitor/vpn/background/start/pptp/node.def b/templates/monitor/vpn/pptp/background/start/node.def index 7659282..7659282 100644 --- a/templates/monitor/vpn/background/start/pptp/node.def +++ b/templates/monitor/vpn/pptp/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/pptp/node.def b/templates/monitor/vpn/pptp/background/stop/node.def index d1879e4..d1879e4 100644 --- a/templates/monitor/vpn/background/stop/pptp/node.def +++ b/templates/monitor/vpn/pptp/background/stop/node.def |