# Healthcheck URL ?

**URL:** https://forum.mautic.org/t/healthcheck-url/8082
**Category:** Product Support
**Created:** [April 3, 2017, 8:50am UTC](https://forum.mautic.org/t/healthcheck-url/8082 "2017-04-03T08:50:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![guibod](https://avatars.discourse-cdn.com/v4/letter/g/3ec8ea/32.png) [@guibod](https://forum.mautic.org/u/guibod)
#### Post date: [April 3, 2017, 8:50am UTC](https://forum.mautic.org/t/healthcheck-url/8082/1 "2017-04-03T08:50:25Z")

</div>

What would be a valid healthcheck url for a Mautic installation ?

---

<div class="post-metadata">

### Author: ![guibod](https://avatars.discourse-cdn.com/v4/letter/g/3ec8ea/32.png) [@guibod](https://forum.mautic.org/u/guibod)
#### Post date: [April 3, 2017, 8:50am UTC](https://forum.mautic.org/t/healthcheck-url/8082/2 "2017-04-03T08:50:25Z")

</div>

What would be a valid healthcheck url for a Mautic installation ?

---

<div class="post-metadata">

### Author: ![mingfang](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mingfang](https://forum.mautic.org/u/mingfang)
#### Post date: [April 3, 2017, 5:56pm UTC](https://forum.mautic.org/t/healthcheck-url/8082/3 "2017-04-03T17:56:47Z")

</div>

I think /mtc.js works.

---

<div class="post-metadata">

### Author: ![JoPitts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jopitts/32/636_2.png) [@JoPitts](https://forum.mautic.org/u/JoPitts)
#### Post date: [April 3, 2017, 6:36pm UTC](https://forum.mautic.org/t/healthcheck-url/8082/4 "2017-04-03T18:36:59Z")

</div>

@guibod, depends on what you are trying to achieve with your health check? Are you wanting to know that the site is up? Are you wanting to confirm DB connectivity? Are you wanting to confirm last execution time of cronjobs?

@mingfang, how does [http://mydomain.co.nz/mautic/index.php/mtc.js](http://mydomain.co.nz/mautic/index.php/mtc.js) work? Is there a specific function you are thinking of in there?

Cheers  
Jo

---

<div class="post-metadata">

### Author: ![mingfang](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mingfang](https://forum.mautic.org/u/mingfang)
#### Post date: [April 3, 2017, 9:30pm UTC](https://forum.mautic.org/t/healthcheck-url/8082/5 "2017-04-03T21:30:11Z")

</div>

@JoPitts I run Mautic inside a Kubernetes cluster and use the Kubernetes http health check probe.  
The probe simply looks for a 200 response code for any given url.  
I this case I use /mtc.js as the health check url.

---

<div class="post-metadata">

### Author: ![JoPitts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jopitts/32/636_2.png) [@JoPitts](https://forum.mautic.org/u/JoPitts)
#### Post date: [April 4, 2017, 3:13am UTC](https://forum.mautic.org/t/healthcheck-url/8082/6 "2017-04-04T03:13:31Z")

</div>

Ming - fair enough.

It might be a nice item to add to the roadmap at some point to have a health check page that brings back a 200, but also a range of statuses for things to do with server health.  
Is the DB up, Diskspace, etc. Not sure if there is value in this or not?
