Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95284

Monitoring 2 Pi-Hole Servers in 0.99+

$
0
0

@obrien.craig wrote:

HI All

I have upgraded from 0.98.5 to 100.3 and as part of that there is a breaking change where the pi_hole monitor moves from been a sensor to its own component.
I have been using 2 Pi-Holes as primary and secondary DNS and this worked quiet well
Below is my old sensor config

sensor:
 - platform: pi_hole
   host: 192.168.1.20
   monitored_conditions:
      - xxx
 - platform: pi_hole
   host: localhost:4865
   monitored_conditions:
    - xxx

Anyway as I migrated up to 0.100 i adjusted my settings to the new config.

pi_hole:
  host: 'localhost:4865'

I was able to get this working however whenever I add the second server to monitor like below:

pi_hole:
  host: 'localhost:4865'
  host: 192.168.1.20

It doesn’t like it.
So my question is, Is it possible to monitor more than one pi-hole with the new component.

As I said, I have been using two pi-hole sensors for quiet a while and have not had any issues.
Cheers

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>