定制 helga-agentur/monitor-instance 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-10-31