symfony-bundle supervisor-monitor-bundle
This Bundle provides interface to monitor supervisor server processes
zo/supervisor-monitor-bundle
This Bundle provides interface to monitor supervisor server processes
- Tuesday, February 27, 2018
- by santhapa
- Repository
- 1 Watchers
- 0 Stars
- 14 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 8 % Grown
ZOSupervisorMonitorBundle
This bundle provides a way to monitor supervisor process and control those states., (*1)
- Configure multiple supervisor server services.
- Start, Stop, Restart individual or all services.
Config
- Enable the bundle on app/AppKernel.php
-
Configure the bundle, (*2)
# app/config/config.yml
zo_supervisor_monitor:
servers:
local:
host: http://localhost
port: 9001
username: null
password: null
test:
host: http://localhost
port: 9001
username: null
password: null
-
Register routes for bundles, (*3)
# app/config/routing.yml
zo_supervisor_monitor:
resource: "@ZOSupervisorMonitorBundle/Resources/config/routing.yml"
prefix: /supervisor/
Find the supervisor monitor page at /supervisor/monitor., (*4)
- Supervisor client is exposed as service
zo_supervisor_monitor.util.client
.
- Supervisor configured servers process information can be fetched as,
$client = $this->get('zo_supervisor_monitor.util.client');
$res = $this->client->getServersListVersion();
// $res = array('services' => $services, 'version' => $version);
- Supervisor monitor view can be found at
ZOSupervisorMonitorBundle::services.html.twig
. Remember to pass services
and version
variable to the view.
dev-master
9999999-dev
This Bundle provides interface to monitor supervisor server processes
Sources
Download
MIT
The Requires
by
Sanjip Thapa
supervisor
1.0.x-dev
1.0.9999999.9999999-dev
This Bundle provides interface to monitor supervisor server processes
Sources
Download
MIT
The Requires
by
Sanjip Thapa
supervisor