Skip to content

gonzalo123/RealTimeMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A real time monitor for PHP applicacions using node.js and WebSockets

Starting the server:

$ node server.js 
HTTP server started at 192.168.2.2::5672
Web Socket server started at 192.168.2.2::8880

PHP application configuration
place this code at the beggining of the script:

include('NodeLog.php');
NodeLog::init('192.168.2.2', 5672); // ip and port of the node.js http server

Web interface based on nodejs.org chat demo (http://chat.nodejs.org/)