![]() If you do, please either reboot or log out and log back in, then run the playbook again. If running locally on the Pi: You may encounter an error like "Error while fetching server API version" or "connect: permission denied". Run the playbook: ansible-playbook main.yml.to inventory.ini (replace IP address with your Pi's IP, or comment that line and uncomment the connection=local line if you're running it on the Pi you're setting up).Make copies of the following files and customize them to your liking:. ![]() Install requirements: ansible-galaxy collection install -r requirements.yml (if you see ansible-galaxy: command not found, restart your SSH session or reboot the Pi and try again).Clone this repository: git clone, then enter the repository directory: cd internet-pi.Make sure Ansible is in your PATH: export PATH=$PATH:~/.local/bin (and consider adding it permanently).If you get an error like "externally-managed-environment", follow this guide to fix it, then run pip3 install ansible again.(If on Pi/Debian): sudo apt-get install -y python3-pip.The easiest way (especially on Pi or a Debian system) is via Pip: Don't use it, or tune the internet-monitoring setup to not run the speedtests as often, if you have a metered connection! IMPORTANT NOTE: If you use the included Internet monitoring, it will download a decently-large amount of data through your Internet connection on a daily basis. Enable and configure using the starlink_enable var in config.yml.) Starlink Monitoring: Installs a starlink prometheus exporter and a Grafana dashboard, which tracks and displays Starlink statistics.See example configuration for ability to monitor multiple AirGradient DIY stations.) Enable and configure using the airgradient_enable var in config.yml. AirGradient Monitoring: Configures airgradient-prometheus and a Grafana dashboard, which tracks and displays air quality over time via one or more AirGradient DIY monitors.Enable and configure using the shelly_plug_* vars in config.yml.) Shelly Plug Monitoring: Installs a shelly-plug-prometheus exporter and a Grafana dashboard, which tracks and displays power usage on a Shelly Plug running on the local network. What do you mean by the 'internet speed' You can easily measure the speed of the Pis ethernet and Wifi on the local network with the 'iperf' command.Make sure to update your network router config to direct all DNS queries through your Raspberry Pi if you want to use Pi-hole effectively! Pi-hole: Installs the Pi-hole Docker configuration so you can use Pi-hole for network-wide ad-blocking and local DNS. Internet Monitoring: Installs Prometheus and Grafana, along with a few Docker containers to monitor your Internet connection with speedtests and HTTP tests so you can see uptime, ping stats, and speedtest results over time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |