dachcom-digital/monitoring

Pimcore 监控 - 获取监控信息

v4.0.0 2023-09-22 18:21 UTC

This package is auto-updated.

Last update: 2024-09-22 20:31:37 UTC


README

获取 pimcore 安装的健康状态。

发布计划

安装

"require" : {
    "dachcom-digital/monitoring" : "~4.0.0"
}

将包添加到 bundles.php

return [
    MonitoringBundle\MonitoringBundle::class => ['all' => true],
];

安装路由

# config/routes.yaml
monitoring:
    resource: '@MonitoringBundle/config/routing.yaml'

配置

# config/packages/monitoring.yaml
monitoring:
    api_code: 'YOUR_API_CODE'

获取数据

curl --data "apiCode=YOUR_API_CODE" https://www.your-domain.tld/monitoring/fetch

创建自定义检查

创建一个带标签的 pimcore.monitoring.check 服务并实现 CheckInterface 接口。

可用的检查

  • Pimcore 版本和修订
  • 已安装的包
  • 已安装的 AreaBricks
  • 可用用户

版权和许可

版权: DACHCOM.DIGITAL
有关许可详情,请访问 LICENSE.md

升级信息

在更新之前,请 查看我们的升级说明!