# How do I monitor Pi-Hole (with DHCP server enabled) with Monit?

**URL:** <https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487>\
**Category:** Help\
**Created:** [January 11, 2018, 5:47pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487 "2018-01-11T17:47:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjonnie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/sjonnie/32/1112_2.png) [@Sjonnie](https://discourse.pi-hole.net/u/Sjonnie)\
**Post date:** [January 11, 2018, 5:47pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487/1 "2018-01-11T17:47:41Z")

</div>

Hi,

I have Pi-hole installed on my RPi3 together with Domoticz. I use Monit to monitor the status of Domoticz so it will restart in case of problems. I would like to do the same with Pi-hole. I have successfully added Pi-hole FTL to Monit but don't know which services I need to add to monitrc and what syntax I need for DHCP.

Any help appreciated! 🙂

---

<div class="post-metadata">

**Author:** ![Sjonnie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/sjonnie/32/1112_2.png) [@Sjonnie](https://discourse.pi-hole.net/u/Sjonnie)\
**Post date:** [January 21, 2018, 12:50pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487/2 "2018-01-21T12:50:59Z")

</div>

Anyone able to shed some light? I don't need a step by step but a hint which pid's I need to use would be appreciated 😉

---

<div class="post-metadata">

**Author:** ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)\
**Post date:** [January 21, 2018, 2:24pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487/3 "2018-01-21T14:24:11Z")

</div>

I havne't used those tools, but the key daemons for Pi-hole are dnsmasq, lighttpd, and FTL (you can find the PID in `/run/pihole-FTL.pid`).

---

<div class="post-metadata">

**Author:** ![Sjonnie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/sjonnie/32/1112_2.png) [@Sjonnie](https://discourse.pi-hole.net/u/Sjonnie)\
**Post date:** [January 22, 2018, 4:01pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487/4 "2018-01-22T16:01:32Z")

</div>

Hi Mcat12,

Tx! I will add dnsmasq and lighttpd to Monit (FTL was already added 🙂 )

---

<div class="post-metadata">

**Author:** ![Sjonnie](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/sjonnie/32/1112_2.png) [@Sjonnie](https://discourse.pi-hole.net/u/Sjonnie)\
**Post date:** [January 27, 2018, 6:00pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487/5 "2018-01-27T18:00:00Z")

</div>

Worked! 🙂

Tx!

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [February 17, 2018, 6:00pm UTC](https://discourse.pi-hole.net/t/how-do-i-monitor-pi-hole-with-dhcp-server-enabled-with-monit/6487/6 "2018-02-17T18:00:15Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
