Download .zip |
Info | Documentation | View files (12) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2019-12-12 (11 days ago) | Not yet rated by the users | Total: 47 This week: 18 | All time: 9,677 This week: 13 |
Version | License | PHP version | Categories | |||
jaxon-supervisor 0.0.1 | BSD License | 5 | PHP 5, System information, Systems ad..., L..., A... |
Description | Author | |
This package can monitor and control processes running on servers. |
|
There are already several packages that allow to control multiple Supervisor instances from a single dashboard. However, all these packages are standalone applications, with all the constraints that this implies in terms of installation, configuration, authentication, etc.
This package allows to insert a dashboard for Supervisor into an existing PHP application. Thanks to the Jaxon library, it installs and runs in a page of the application, which can be loaded with an HTTP or an Ajax request. All its operations are performed with Ajax requests.
app
section of the Jaxon configuration file. 'app' => [
// Other config options
// ...
'packages' => [
Lagdo\Supervisor\Package::class => [
'servers' => [
'first_server' => [
'url' => 'http://192.168.1.10',
'port' => '9001',
],
'second_server' => [
'url' => 'http://192.168.1.11',
'port' => '9001',
],
],
],
],
],
jaxon()->getCss()
and jaxon()->getScript(true)
.In the page that displays the dashboard, insert its HTML code with a call to jaxon()->package(\Lagdo\Supervisor\Package::class)->getHtml()
. Two cases are then possible.
- If the dashboard is displayed on a dedicated page, make a call to jaxon()->package(\Lagdo\Supervisor\Package::class)->ready()
when loading the page.
- If the dashboard is loaded with an Ajax request in a page already displayed, execute the javascript code returned the call to jaxon()->package(\Lagdo\Supervisor\Package::class)->getReadyScript()
when loading the page.
The HTML code of the package uses the Bootstrap CSS framework, qui which must also be included in the page.
It is entirely contained in a <div class="col-md-12">
tag.
Support for other frameworks will be added in future releases.
The project is licensed under the BSD license.
Files | / | templates | / | views | / | bootstrap |
File | Role | Description |
---|---|---|
home.latte | Data | Auxiliary data |
process.latte | Data | Auxiliary data |
server.latte | Data | Auxiliary data |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.