I have another Pi running Pi-Hole, and id like to display some basic info about the Pi within Pi-Hole, such as temperatuere, uptime etc.
Specifically not pi-hole data…I have the Pi-hole sensor running for this.
I have a very basic server running which displays the data in basic html.
But I cant figure out how to ‘tap into’ the 2nd Pi.
There are a lot of way to get the info into another pi. I run HA on two systems and link them with mqtt statestream. If you don’t want to setup HA on the PI hole, you can setup a mqtt server to send states to HA.
In general, I’m a proponent of using keys over password-based auth. Lots of documentation out on the internet; here’s a guide from Linode which should apply reasonably closely to a Pi: https://www.linode.com/docs/security/securing-your-server
Make sure you get a good handle on how the above works before proceeding. Once you do: I launch HASS via a shell script that looks like this:
Focus on the first two instructions. These add two other Pis (assuming hostnames of pi2 and pi3) to the local SSH’s known_hosts file, which will prevent SSH from confirming them before logging in – if that isn’t in place, the HASS Pi won’t be able to connect.
Thanks, found it over the weekend. Other than by trial and error and reloads of HA, is there a list of what probe types this can be used with? I would like to use it with snmp probes as well and have not tried it yet.
Sorry, intermapper user here. I mean, can I use the scan_interval with anything that asks other devices questions via snmp, command line and the such. I assume that I can.