瀏覽代碼

Minor changes to Griffen8280 original patch. (#112)

Robert Middleswarth 3 年之前
父節點
當前提交
f779b7a4a1
共有 3 個文件被更改,包括 5 次插入7 次删除
  1. 4 6
      docs/UnPoller-Monitor.md
  2. 0 0
      pi-hosted_template/configs/unpoller-up.conf
  3. 1 1
      tools/unpoller-install.sh

+ 4 - 6
docs/unpoller-install.md → docs/UnPoller-Monitor.md

@@ -14,7 +14,7 @@ A monitoring solution for the Unifi Controller with [Grafana](http://grafana.org
 
 
 ## Pre-Installation Steps
 ## Pre-Installation Steps
 
 
-First SSH into your Pi or use Shell in a Box to get to the command line.  ensure you have pulled the latest from https://github.com/novaspirit/pi-hosted/ and run unpoller-install.sh
+First SSH into your Pi or use Shell in a Box to get to the command line.  ensure you have pulled the latest from https://github.com/novaspirit/pi-hosted/ and run unpoller.sh
 
 
 ## Folder Setup Script
 ## Folder Setup Script
 
 
@@ -22,16 +22,16 @@ First thing we need to do is setup the folder structure and install some files t
 
 
 Run the following script
 Run the following script
 ```
 ```
-sudo sh ./unpoller-install.sh
+sudo sh ./tools/unpoller-install.sh
 ```
 ```
 
 
 Your output should look something like this
 Your output should look something like this
 
 
 ```
 ```
-# sudo ./rpi_docker_monitor.sh
+# sudo ./tools/unpoller-install.sh
 creating directories
 creating directories
 downloading unpoller config files
 downloading unpoller config files
---2021-10-17 00:56:28--  https://raw.githubusercontent.com/novaspirit/pi-hosted/tree/master/pi-hosted_template/configs/up.conf
+--2021-10-17 00:56:28--  https://raw.githubusercontent.com/novaspirit/pi-hosted/tree/master/pi-hosted_template/configs/unpoller-up.conf
 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
 Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
 HTTP request sent, awaiting response... 200 OK
 HTTP request sent, awaiting response... 200 OK
@@ -49,8 +49,6 @@ Done You are ready to goto next step in the install document
 <br><br>
 <br><br>
 ## Install the App Template.<br>
 ## Install the App Template.<br>
 
 
-[comment]: # (FixMe)
-
 Goto App Templates and install "UnPoller Monitor"
 Goto App Templates and install "UnPoller Monitor"
 
 
 The default settings should all be good so **Deploy the Stack**
 The default settings should all be good so **Deploy the Stack**

+ 0 - 0
pi-hosted_template/configs/up.conf → pi-hosted_template/configs/unpoller-up.conf


+ 1 - 1
unpoller-install.sh → tools/unpoller-install.sh

@@ -20,5 +20,5 @@ check_internet
 echo "Creating directories..."
 echo "Creating directories..."
 sudo mkdir -p /portainer/Files/AppData/Config/unpoller || error "Failed to create config directory!"
 sudo mkdir -p /portainer/Files/AppData/Config/unpoller || error "Failed to create config directory!"
 echo "Downloading Unpoller config files"
 echo "Downloading Unpoller config files"
-sudo wget -O /portainer/Files/AppData/Config/unpoller/up.conf https://raw.githubusercontent.com/novaspirit/pi-hosted/tree/master/pi-hosted_template/configs/up.conf || error "Failed to download up.conf file!"
+sudo wget -O /portainer/Files/AppData/Config/unpoller/up.conf https://raw.githubusercontent.com/novaspirit/pi-hosted/tree/master/pi-hosted_template/configs/unpoller-up.conf || error "Failed to download up.conf file!"
 echo "Done You are ready to goto next step in the install document"
 echo "Done You are ready to goto next step in the install document"