# Status monitoring

**URL:** <https://forum.collaboraonline.com/t/status-monitoring/2137>\
**Category:** Installation & Configuration\
**Created:** [October 27, 2023, 10:35am UTC](https://forum.collaboraonline.com/t/status-monitoring/2137 "2023-10-27T10:35:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixel8383](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/pixel8383/32/934_2.png) [@pixel8383](https://forum.collaboraonline.com/u/pixel8383)\
**Post date:** [October 27, 2023, 10:35am UTC](https://forum.collaboraonline.com/t/status-monitoring/2137/1 "2023-10-27T10:35:40Z")

</div>

Hello, I would like to monitoring the service downtimes. As of now my monitoring service will try to connect to [https://www.mycollaborawebsite.com/hosting/capabilities](https://www.mycollaborawebsite.com/hosting/capabilities) every 60 seconds.

Is there any better url I should try to ping to check the service status?

Thank you!

---

<div class="post-metadata">

**Author:** ![mmeeks](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/mmeeks/32/371_2.png) [@mmeeks](https://forum.collaboraonline.com/u/mmeeks)\
**Post date:** [October 27, 2023, 6:55pm UTC](https://forum.collaboraonline.com/t/status-monitoring/2137/2 "2023-10-27T18:55:52Z")

</div>

That’s a great file to fetch, very fast for the server to serve. Failing that - you could probably very easily add an ‘uptime’ metric to our Prometheus metrics - that might be useful for other people:

[https://admin:admin@server.foo.com:9980/cool/getMetrics](https://admin:admin@server.foo.com:9980/cool/getMetrics)

Somewhere here would make sense:

> <https://github.com/CollaboraOnline/online/blob/master/wsd/AdminModel.cpp#L1124>

if you’re up for a quick patch =)

---

<div class="post-metadata">

**Author:** ![pixel8383](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/pixel8383/32/934_2.png) [@pixel8383](https://forum.collaboraonline.com/u/pixel8383)\
**Post date:** [October 30, 2023, 2:54pm UTC](https://forum.collaboraonline.com/t/status-monitoring/2137/3 "2023-10-30T14:54:36Z")

</div>

Hello @mmeeks thanks for your reply. I would like to avoid any customization to the code nor I am using Prometeus.  
As example, Matrix-Syanpse [publish an /health page](https://matrix-org.github.io/synapse/latest/reverse_proxy.html?highlight=health#health-check-endpoint) which returns a 200 - OK and doesn’t get logged by default.

It would be really nice to have something similar on CollaboraOnline.

---

<div class="post-metadata">

**Author:** ![mmeeks](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/mmeeks/32/371_2.png) [@mmeeks](https://forum.collaboraonline.com/u/mmeeks)\
**Post date:** [October 30, 2023, 4:10pm UTC](https://forum.collaboraonline.com/t/status-monitoring/2137/4 "2023-10-30T16:10:10Z")

</div>

So - please do file a github ‘feature’ / enhancement ticket for that - it should be an easy hack; very easy to add that - well within the scope of a new developer - it should be a couple of lines of code I think 🙂 a great, non-urgent task for a newbie.  
Thanks.
