Jelajahi Sumber

Minor changes to Griffen8280 original patch. (#112)

Robert Middleswarth 3 tahun lalu
induk
melakukan
f779b7a4a1

+ 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
 
-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
 
@@ -22,16 +22,16 @@ First thing we need to do is setup the folder structure and install some files t
 
 Run the following script
 ```
-sudo sh ./unpoller-install.sh
+sudo sh ./tools/unpoller-install.sh
 ```
 
 Your output should look something like this
 
 ```
-# sudo ./rpi_docker_monitor.sh
+# sudo ./tools/unpoller-install.sh
 creating directories
 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, ...
 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
 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>
 ## Install the App Template.<br>
 
-[comment]: # (FixMe)
-
 Goto App Templates and install "UnPoller Monitor"
 
 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..."
 sudo mkdir -p /portainer/Files/AppData/Config/unpoller || error "Failed to create config directory!"
 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"