I have installed Pihole on an ubuntu instance using AWS in a VPC. I also have another ubuntu instance running monit which i want to use to monitor the pihole.
I have created the related config by adding a file called 'pihole' in the /etc/monit/conf-available/ directory. I have soft linked this path to /etc/monit/conf-enabled/ . The server start fine but i cant figure out how to monitor pihole. I have seen topics that discussed about monitoring pihole with monit running on the same server, then using pid files this caan be striaght forward. How will this work when then it is a different server?