Browse code

remove old versions

Gandolf authored on 10/03/2020 22:32:22
Showing 1 changed files
1 1
deleted file mode 100755
... ...
@@ -1,27 +0,0 @@
1
-#!/bin/bash
2
-#
3
-# The monitor url can look something like http://192.168.1.155, or
4
-# something linke http://radiationMonitor.domain.com depending on
5
-# whether your local network uses a domain name server.
6
-#
7
-
8
-APP_PATH="/home/$USER/bin"
9
-LOG_PATH="/home/$USER/log"
10
-
11
-AGENT_NAME="[a]rednsigAgent.py"
12
-NODE_URL="http://localnode:8080/cgi-bin/signal.json"
13
-
14
-POLLING_INTERVAL="60"
15
-
16
-PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')"
17
-
18
-if [ -n "$PROCESS_ID" ]; then
19
-  if [ "$1" != "-q" ]; then
20
-    printf "arednsig agent running [%s]\n" $PROCESS_ID
21
-  fi
22
-else
23
-  printf "starting up arednsig agent\n"
24
-  cd $APP_PATH
25
-  $(./$AGENT_NAME -u $NODE_URL -p $POLLING_INTERVAL >> \
26
- $LOG_PATH/arednsigAgent.log 2>&1 &)
27
-fi
Browse code

support for Aredn firmware version 3.19.3.0

gandolf authored on 03/31/2020 18:06:12
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,27 @@
1
+#!/bin/bash
2
+#
3
+# The monitor url can look something like http://192.168.1.155, or
4
+# something linke http://radiationMonitor.domain.com depending on
5
+# whether your local network uses a domain name server.
6
+#
7
+
8
+APP_PATH="/home/$USER/bin"
9
+LOG_PATH="/home/$USER/log"
10
+
11
+AGENT_NAME="[a]rednsigAgent.py"
12
+NODE_URL="http://localnode:8080/cgi-bin/signal.json"
13
+
14
+POLLING_INTERVAL="60"
15
+
16
+PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')"
17
+
18
+if [ -n "$PROCESS_ID" ]; then
19
+  if [ "$1" != "-q" ]; then
20
+    printf "arednsig agent running [%s]\n" $PROCESS_ID
21
+  fi
22
+else
23
+  printf "starting up arednsig agent\n"
24
+  cd $APP_PATH
25
+  $(./$AGENT_NAME -u $NODE_URL -p $POLLING_INTERVAL >> \
26
+ $LOG_PATH/arednsigAgent.log 2>&1 &)
27
+fi
Browse code

fix version numbers

gandolf authored on 03/31/2020 18:04:12
Showing 1 changed files
1 1
deleted file mode 100755
... ...
@@ -1,27 +0,0 @@
1
-#!/bin/bash
2
-#
3
-# The monitor url can look something like http://192.168.1.155, or
4
-# something linke http://radiationMonitor.domain.com depending on
5
-# whether your local network uses a domain name server.
6
-#
7
-
8
-APP_PATH="/home/$USER/bin"
9
-LOG_PATH="/home/$USER/log"
10
-
11
-AGENT_NAME="[a]rednsigAgent.py"
12
-NODE_URL="http://localnode:8080/cgi-bin/signal.json"
13
-
14
-POLLING_INTERVAL="60"
15
-
16
-PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')"
17
-
18
-if [ -n "$PROCESS_ID" ]; then
19
-  if [ "$1" != "-q" ]; then
20
-    printf "arednsig agent running [%s]\n" $PROCESS_ID
21
-  fi
22
-else
23
-  printf "starting up arednsig agent\n"
24
-  cd $APP_PATH
25
-  $(./$AGENT_NAME -u $NODE_URL -p $POLLING_INTERVAL >> \
26
- $LOG_PATH/arednsigAgent.log 2>&1 &)
27
-fi
Browse code

support for Aredn firmware version 3.19.3.0

gandolf authored on 03/31/2020 18:00:53
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,27 @@
1
+#!/bin/bash
2
+#
3
+# The monitor url can look something like http://192.168.1.155, or
4
+# something linke http://radiationMonitor.domain.com depending on
5
+# whether your local network uses a domain name server.
6
+#
7
+
8
+APP_PATH="/home/$USER/bin"
9
+LOG_PATH="/home/$USER/log"
10
+
11
+AGENT_NAME="[a]rednsigAgent.py"
12
+NODE_URL="http://localnode:8080/cgi-bin/signal.json"
13
+
14
+POLLING_INTERVAL="60"
15
+
16
+PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')"
17
+
18
+if [ -n "$PROCESS_ID" ]; then
19
+  if [ "$1" != "-q" ]; then
20
+    printf "arednsig agent running [%s]\n" $PROCESS_ID
21
+  fi
22
+else
23
+  printf "starting up arednsig agent\n"
24
+  cd $APP_PATH
25
+  $(./$AGENT_NAME -u $NODE_URL -p $POLLING_INTERVAL >> \
26
+ $LOG_PATH/arednsigAgent.log 2>&1 &)
27
+fi
Browse code

fix version number

gandolf authored on 03/31/2020 17:51:53
Showing 1 changed files
1 1
deleted file mode 100755
... ...
@@ -1,27 +0,0 @@
1
-#!/bin/bash
2
-#
3
-# The monitor url can look something like http://192.168.1.155, or
4
-# something linke http://radiationMonitor.domain.com depending on
5
-# whether your local network uses a domain name server.
6
-#
7
-
8
-APP_PATH="/home/$USER/bin"
9
-LOG_PATH="/home/$USER/log"
10
-
11
-AGENT_NAME="[a]rednsigAgent.py"
12
-NODE_URL="http://localnode:8080/cgi-bin/signal.json"
13
-
14
-POLLING_INTERVAL="60"
15
-
16
-PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')"
17
-
18
-if [ -n "$PROCESS_ID" ]; then
19
-  if [ "$1" != "-q" ]; then
20
-    printf "arednsig agent running [%s]\n" $PROCESS_ID
21
-  fi
22
-else
23
-  printf "starting up arednsig agent\n"
24
-  cd $APP_PATH
25
-  $(./$AGENT_NAME -u $NODE_URL -p $POLLING_INTERVAL >> \
26
- $LOG_PATH/arednsigAgent.log 2>&1 &)
27
-fi
Browse code

support for Aredn FW v3.20.3.0

gandolf authored on 03/31/2020 17:38:41
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,27 @@
1
+#!/bin/bash
2
+#
3
+# The monitor url can look something like http://192.168.1.155, or
4
+# something linke http://radiationMonitor.domain.com depending on
5
+# whether your local network uses a domain name server.
6
+#
7
+
8
+APP_PATH="/home/$USER/bin"
9
+LOG_PATH="/home/$USER/log"
10
+
11
+AGENT_NAME="[a]rednsigAgent.py"
12
+NODE_URL="http://localnode:8080/cgi-bin/signal.json"
13
+
14
+POLLING_INTERVAL="60"
15
+
16
+PROCESS_ID="$(ps x | awk -v a=$AGENT_NAME '$7 ~ a {print $1}')"
17
+
18
+if [ -n "$PROCESS_ID" ]; then
19
+  if [ "$1" != "-q" ]; then
20
+    printf "arednsig agent running [%s]\n" $PROCESS_ID
21
+  fi
22
+else
23
+  printf "starting up arednsig agent\n"
24
+  cd $APP_PATH
25
+  $(./$AGENT_NAME -u $NODE_URL -p $POLLING_INTERVAL >> \
26
+ $LOG_PATH/arednsigAgent.log 2>&1 &)
27
+fi