modmonitor

1.1.5 • Public • Published

modMonitor for MODX Revolution

Installing

npm install --save modmonitor

Usage examples

Start server

PORT=7000 npm run server

Start client

WS_HOST=ws://localhost:7000/ PORT=8000 npm start

Visit http://localhost:8000

Send JSON-data into server (localhost:8000) via any websocket-client

{
    "type":"site_data",
    "object_type":"request",
    "data":{
        "http_status":200,
        "site_url":"http://any_domain/",
        "url":"/",
        "time":0.3,
        "php_error":0
    }
}

See demo https://modmonitor.ru/

/modmonitor/

    Package Sidebar

    Install

    npm i modmonitor

    Weekly Downloads

    10

    Version

    1.1.5

    License

    none

    Last publish

    Collaborators

    • fi1osof