Download the PHP package roger-russel/beholder-web-client without Composer
On this page you can find all versions of the php package roger-russel/beholder-web-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roger-russel/beholder-web-client
More information about roger-russel/beholder-web-client
Files in roger-russel/beholder-web-client
Package beholder-web-client
Short Description A simple php monitoring client
License Apache-2.0
Informations about the package beholder-web-client
Beholder Monitor - Php Web Client
Beholder is a simple php monitoring system, this client is made to serve a json response with the current stats of what is been monitored.
This client can be used with Zabbix and others tools, just setup those to read the json file which this client give.
Dependencies
- PHP:5.6, why? For compatibility.
- Composer
- Lib Yaml, required only if you use it. See more here. here.
Some modules could have more dependencies, please look at src/Eyes/ModuleName/Readme.md too.
How Install
Use the command below to add the dependencies inside the composer.json file:
$ composer require roger-russel/beholder-web-client;
How to use
You can look at a especific model configuration in doc/ModelName folder.
How to Contribute
Contribute is easy. Make a fork and start to code, then do a pull request.
You can contribute not just in code, you can make a bug report, a issue asking for a feature or simply giving your suggestion.
How to run locally
With docker is easy and fun!
- Create a docker network
$ docker network create --driver bridge beholder-network
- Build the project and run the container
$ docker-compose build
$ docker-compose up
- Enter the container and run composer to install the dependencies
$ docker exec -it beholder-web-client bash
$ composer install
Or the one liner command:
$ docker exec -it beholder-web-client composer install
To run the codeception tests
With the docker container running do the following:
$ docker exec -it beholder-web-client bash
$ codecept run
Or the one liner command:
$ docker exec -it beholder-web-client codecept run
You can run especific tests like the following:
$ codecept run nfs
$ codecept run unit
If you want to run a mysql test, first you need to start the docker mysql container inside tests/mysql/ folder. Then run the following command:
$ codecept run mysql
License
Apache 2.0 Copyright 2017 Roger Russel, and Alan Yoshida