modmonitor
v1.1.5
Published
Sites monitoring for MODX Revolution
Downloads
3
Readme
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/