helga-agentur/monitor-instance
最新稳定版本:v3.0.1
Composer 安装命令:
composer require helga-agentur/monitor-instance
包简介
The instance sends data to the monitor.
README 文档
README
The Helga monitor tooling consists of the following two parts.
When instance is enabled it sends:
- Instance Data like Drupal Version, Git Repository, latest commit, branch etc. to the monitor as soon as the Drupal Cron hook is triggered.
- Log Data with severity ERROR, CRITICAL, ALERT or EMERGENCY to the monitor on Log-Event
Activation
Add the following lines to your settings.php file to enable functionality.
- Project: This also is the identifier for the monitor. It should be the same project wide.
- Environment: Make sure to use Live, Integration, Stage or Local
$settings['instance'] = [ 'project' => 'Instance', 'environment' => 'Live', 'monitor' => 'https://www.helga.ch', 'user' => 'monitor', 'password' => 'monitor', ];
Local Environment
The config in settings.php is also required locally, although no logs are sent from there. ('environment' needs to be 'Local')
Deployment
Make sure the "shell_exec" PHP function is enabled on your server. (In cyon go to "Erweitert" -> "PHP-Einstellungen" and enable "shell_exec")
统计信息
- 总下载量: 1.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-10-31