monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Websockets monitoring


From: Martin Pala
Subject: Re: Websockets monitoring
Date: Mon, 3 Mar 2014 09:59:34 +0100

Hi,

we have implemented the websocket protocol test, example usage:

check host websocket.org with address "echo.websocket.org"
    if failed port 80 protocol websocket
      host "echo.websocket.org"
      request "/"
      origin "http://www.websocket.com";
      version 13
    then alert

The test connects to websocket, performs ping/pong test and closes the 
connection.

If you want to test it, you can get the development Monit version here: 
https://bitbucket.org/tildeslash/monit/get/master.tar.gz

Compilation:

        tar -xzf master.tar.gz
        cd tildeslash-monit-*
        ./bootstrap && ./configure && make

The monit binary will be in current directory, you can install it to 
"/usr/local/bin" using "make install"

Regards,
Martin


On 24 Feb 2014, at 07:23, Mehul Ved <address@hidden> wrote:

> Hi,
>   I have a node.js service that works as a websocket server. I am working on 
> monitoring it using monit. I haven't been able to find any information about 
> using websockets with monit either in the group archives or using google 
> search. Has anybody worked on this before?
>   Is it possible to monitor websockets in monit currently without adding in a 
> websocket client script in between? I can definitely do that but wanted to 
> check if there's a better way to do it without any additional component.
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]