ejabberd tip: simple health check
ProcessOne - Nicolas Vérité - March 03, 2010An ejabberd health check mechanism might be useful in your deployments, but using the HTTP file server might be overkill…
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 http://myserver.net/http-bind
And ejabberd will answer:
ejabberd mod_http_bind v1.2
An implementation of XMPP over BOSH (XEP-0206)
This web page is only informative. To use HTTP-Bind you need a Jabber/XMPP client that supports it.
Categories: Companies ProcessOne
Comments
No comments so far, you could be the first.Add comment
Erlang on Twitter
» jianzwang (Jianzhi Wang): erlang/mnesia/CAP/Two-phase commit都是需要安静下来仔细琢磨的东西,一旦决定使用,将会面临极大的风险
» fprogblogs (ФП-Блоги): dmzlj пишет: необъяснимое про erlang http://bit.ly/bWR1bK
» fprogblogs (ФП-Блоги): Dmitrii ‘Mamut’ Dimandt пишет: Flymake и Erlang http://bit.ly/cbaWMs
» sbtourist (Sergio Bossa): @dnene +1 for Clojure and/or Erlang :)
» delegatevoid (Timothy Parez): @TheColonial I’ll keep an eye on it… ever never seen anything about erlang before… only mentions from you
» pjimmy (Jimmy P): @TheColonial lol I thought you were just mad at your erlang install..
» TheColonial (OJ): @delegatevoid It’s me, trying to get a regular podcast up for erlang related stuff. Been on the backburner though.
» williamgouvea (William Gouvea): RT @dnene: My now publicly stated goal is to be competent at atleast 1 FP language (out of Scala / Clojure / Haskell / Erlang) by the year end
» williamgouvea (William Gouvea): RT @dnene: Preliminary learning for Scale, Clojure done, Haskell in progress, Erlang in queue
» k_s_zip (じっぷ): 暇なのでクジラ対策で脚光を浴びた?Scalaを勉強中なう。なるほどJava環境に並列化処理を施す1つの解になるわけだ。Rubyにもなんとなく似た雰囲気あるし、Erlangのような仕組みもある。これはこれで面白いw
Statistics
Number of aggregated posts: 10084
Number of comments: 564
Most recent article: September 07, 2010
Latest comments
» Simon cadbury on CouchDB Load Balancing and Replication using HAProxy.: Very nice Site number one topic Thanks you.. [url=“http://www.designscopia.com/products/outdoor-media/mobile-ads.asp”]mobile ads design [/url] | [url=“http://www.designscopia.com/products/print-material/stickers.asp”]stickers design [/url]
» dress on Reading Serialized PHP Objects from Erlang: canon lens mugs Nikon Mugs Canon Coffee Lens Mug Nikon Coffee Lens Mug anon coffee mug,canon lens mug,canon mug,canon coffee…
» dress on Fun with processes (Updated): canon lens mugs Nikon Mugs Canon Coffee Lens Mug Nikon Coffee Lens Mug anon coffee mug,canon lens mug,canon mug,canon coffee…