Used Hard/Software: Home Assistant Frontend 20240806.1 Core 2024.8.0 Supervisor 2024.08.0 Operating System 12.4
HA-Integration: Bosch custom component v0.26.1
It was a hard time to find the right Grafana-settings to get the water-temperature presented. Bosch/Home-Assistant transports this value based on the state-series:
The option to send Pihole-logs to a remote syslogserver is not implemented. Good thing is that Pi-hole creates log-files. How about adding these logfiles to the local (R-)Syslog-daemon and send it over to the external Syslog-Server via port 514 TCP/UDP ?
I use Dietpi as the OS on my Raspi3+ and added Pi-hole as one of the supported apps .
Dietpi has per default noSyslog-daemon activated. The first step is to install a Syslog-daemon, in my case Rsyslog. Install with root-privileges (sudo su):
10.50.100.5 is the external Syslog-Server. Dietpi sends now the syslog-information to the Syslog-Server 10.50.100.5 via TCP port 514. Change the IP 10.50.100.5 to the Syslog-Server IP you want to use.
restart Rsyslog-daemon:
systemctl restart rsyslog
The Syslog-daemon receives now the Pi-hole logs:
Addition: If you want to see also the DNS-queries go to Settings and Enable query logging:
This brings also the DNS content to the external Syslog-Server:
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: query[A] bier.de from 10.50.100.13
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: forwarded bier.de to 1.0.0.1
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: dnssec-query[DS] bier.de to 1.0.0.1
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: reply bier.de is no DS
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: reply bier.de is 212.53.128.75
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: query[AAAA] bier.de from 10.50.100.13
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: forwarded bier.de to 1.0.0.1
May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: reply bier.de is NODATA-IPv6
You must be logged in to post a comment.