> ## Content Index
> Fetch the complete content index at: https://www.process-one.net/llms.txt
> Use this file to discover other available public pages before exploring further.

# ejabberd tip: simple health check
- URL: https://www.process-one.net/blog/ejabberd-tip-simple-health-check/
- Published: 2010-03-02T23:00:00.000Z
- Updated: 2024-09-23T15:26:27.000Z
- Description: An ejabberd health check mechanism might be useful in your deployments, but using the HTTP file server might be overkill…
- Author: ProcessOne

Some people want to do regular health checks on ejabberd, which is always a good idea. Doing a health check over XMPP might not be the solution, here is at least two reasons:

- with a pure ad-hoc solution like a cron script, you might need an XMPP library you might not want to install on your servers
- monitoring systems might not talk XMPP at all…

So people first think of the internal ejabberd HTTP file server, which then they have to configure through a specific listener and the right module… possibly with logs, they would have to manage (rotate, parse, clean, etc.).

Sometimes people just don’t think there is already an HTTP listener on their internal BOSH Connection Manager. You would argue that BOSH uses the HTTP POST method. But the ejabberd BOSH Connection Manager replies to simple GET:

wget [https://myserver.net/http-bind](https://www.process-one.net/en?URL=http%3A%2F%2Fmyserver.net%2Fhttp-bind) 

And ejabberd will answer:

# ejabberd mod\_http\_bind v1.2

An implementation of [XMPP over BOSH (XEP-0206)](https://xmpp.org/extensions/xep-0206.html?ref=process-one.net)

This web page is only informative. To use HTTP-Bind you need a Jabber/XMPP client that supports it.