8000 GitHub - ofertix/WebUIMonitor: WebUIMonitor is the user interface that shows errors in your system in real time and plays a sound if there is a critical error.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WebUIMonitor is the user interface that shows errors in your system in real time and plays a sound if there is a critical error.

License

Notifications You must be signed in to change notification settings

ofertix/WebUIMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is "WebUIMonitor"?

WebUIMonitor is the user interface that shows errors in your system in real time and plays a sound if there is a critical error.

This component has two parts. One is a PHP web socket server that must be run on a server listening to web socket clients and RabbitMQ request. The other part is a client developed in Javascript that runs on the browser and connects to the server displaying messages.

Requirements

  • PHP 5.3.2 and up.
  • RabbitMQ or ZMQ.

Libraries and services used

  • PHP
    • Silex
    • Symfony Components:
      • YAML
    • php-websocket
    • PhpAmqpLib
    • Monolog
  • ExtJS 4
  • WebSockets
  • RabbitMQ/ZMQ+OpenPGM

Installation

The best way to install is to clone the repository and then configure as you need. See "Configuration" section.

After cloning you must install dependencies using "composer":

php composer.phar update

Usage

Start websocket server:

php app/websocket_server.php

In your browser write the url where project is found, example:

http://localhost/WebUIMonitor/web/index.php

Configuration

All configuration is done using a YAML file.

Config file has 3 sections:

  • class:

    • class name that subscribe to the channel to get messages.
  • subscriber:

    • channel where subscribe.
  • websocket:

    • host and port where websocket server will run.

See config file for more details.

Extra notes

Use of ZMQ is discontinued because a memory leak using ZMQ with OpenPGM PUB/SUB.

About

WebUIMonitor is the user interface that shows errors in your system in real time and plays a sound if there is a critical error.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0