Detecting ejabberd crash.

Hello, I am kinda new to ejabberd. So please bear with me if the question sounds stupid.

We have set up the ejabberd community server, and everything is running fine. However, since our service requires ejabberd to run 24/7/365, any ejabberd crash/service interruption must be detected and an alert be sent immediately. What is the best way to do this reliably?

Thanks,
Shoorlyne

Syndicate content