This tool helps you to monitor your hosts in private networks and behind NAT Gateways with Statping.
It generates the deployment scripts and instructions for you to deploy the monitoring script on your devices.
The underlying principle is based on reverse SSH tunneling, where the devices will check in with the server to update their status.
Use the following instructions to execute the local manager script on the host. With these scripts, you will be able to use the command line interface (CLI) to control if your clients are updating your proxy server.
sudo apt-get install curl -y sudo curl -o /usr/local/bin/checkin-manager "https://pixel-shift.de/statping-service/api/dl_proxy.php?token=YOUR_DOWNLOAD_TOKEN&fn=manager-ubuntu.sh" sudo chmod +x /usr/local/bin/checkin-manager checkin-manager
sudo apt-get install curl -y mkdir -p ~/checkin-manager curl -o ~/checkin-manager/checkin-manager.sh "https://pixel-shift.de/statping-service/api/dl_proxy.php?token=YOUR_DOWNLOAD_TOKEN&fn=manager-ubuntu.sh" echo 'export PATH="/checkin-manager:"' >> ~/.bashrc chmod +x ~/checkin-manager/checkin-manager.sh checkin-manager
If brew is not installed, you can install it by running the following commands:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew --version
This might take a while. Afterwards you might need to run some post-install steps, to add brew to your environment. The installer will tell you.
Then you can run the following commands to install the manager script:
brew install curl sudo curl -o /usr/local/bin/checkin-manager "https://pixel-shift.de/statping-service/api/dl_proxy.php?token=YOUR_DOWNLOAD_TOKEN&fn=manager-macos.sh" sudo chmod +x /usr/local/bin/checkin-manager checkin-manager
Invoke-WebRequest -Uri "https://pixel-shift.de/statping-service/api/dl_proxy.php?token=YOUR_DOWNLOAD_TOKEN&fn=manager-windows.ps1" -OutFile "C:\Program Files\checkin-manager.ps1" powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files\checkin-manager.ps1" Start-Process "powershell.exe" -ArgumentList "C:\Program Files\checkin-manager.ps1"
This script is using the MS Task Scheduler. It will ask you to become an administrator. Once it has been set up, there is no additional need for administrative privileges unless you want to update the settings.
Written by: Pixel Shift / Philipp Lehnet