devskio/typo3_ohdear_health_check
Composer 安装命令:
composer require devskio/typo3_ohdear_health_check
包简介
Oh Dear Health Check extension for TYPO3
关键字:
README 文档
README
The TYPO3 OhDear Health Check Extension allows you to monitor the health and performance of your TYPO3 application and server using Oh Dear. With this extension, you can receive alerts and notifications for critical issues, ensuring the smooth operation of your TYPO3 application.
Features
- Disk Space: Monitors the disk space usage of your server.
- PHP Error Log Size: Checks the size of the PHP error log.
- TYPO3 Error Log Size: Checks the size of the TYPO3 error log.
- MySQL Database Size: Checks the size of the MySQL database.
- Forgotten Files on the Server: Scans the document root for forgotten files.
- TYPO3 Database Log: Retrieves the TYPO3 database log.
- TYPO3 Version: Retrieves the installed TYPO3 version.
Requirements
- TYPO3 version 11.5.0 or later.
- An active Oh Dear account with the necessary API credentials.
Installation
- Run the following command to require the OhDear Health Check Extension via Composer:
composer require devskio/typo3_ohdear_health_check - Compare and update the database table and field definitions
- Include the static TypoScript of the extension.
EXT:typo3_ohdear_health_check/Configuration/TypoScript/setup.typoscript - Once installed, go to the extension configuration settings and provide your Oh Dear API credentials together with Health Report Secret. Optionally, you can enable or disable the monitoring of specific checks together with setting the alert thresholds.
- [Optional] If you want to have nice Health Report URL, you can add a routeEnhancer for OhDear Health Check Extension in your site configuration yaml file.
...
routeEnhancers:
PageTypeSuffix:
map:
healthcheck: 1689678601
...
Usage
- After installing and configuring the extension, you can access the OhDear Health Check dashboard.
- In Application Health you have to set the URL of the health check endpoint. The URL is
https://yourdomain.com/?type=1689678601. In case you have added the routeEnhancer, you can usehttps://yourdomain.com/healthcheck. - The dashboard displays the current status of various monitored aspects, such as disk space, PHP Error Log Size, TYPO3 Error Log Size, MySQL Database Size, Forgotten Files on the Server, TYPO3 Database Log, TYPO3 Version.
- Configure the desired alert thresholds and notification settings in OhDear.
- When an issue is detected, you will receive alerts through your preferred communication channels (e.g., email, Slack, SMS) based on your Oh Dear configuration.
Widget
You can add the OhDear Health Check widget to your TYPO3 dashboard. Widget is using the OhDear API to fetch basic Oh Dear checks and custom Application health checks.
In order to use the widget, you need to provide the Oh Dear API Key and Oh Dear Site ID in the extension configuration settings.
Customization
Adding Custom Checks
You can add custom checks by extending the AbstractCheck and registering your custom check(s) in the ext_localconf.php file.
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['typo3_ohdear_health_check']['checks'][] = \Vendor\MyExtension\HealthCheck\CustomCheck::class;
Customizing Check Results Array
You can customize the result array of all checks by listening to the HealthCheckAfterRunEvent event.
# EXT:my_extension/Configuration/Services.yaml services: # ... MyVendor\MyExtension\EventListener\HealthCheckAfterRunEventListener: tags: - name: event.listener method: handleEvent identifier: 'myHealthCheckAfterRunEventListener' event: Devskio\Typo3OhDearHealthCheck\Events\HealthCheckAfterRunEvent
Contributing
Contributions to the TYPO3 OhDear Health Check Extension are welcome! If you encounter any bugs, have suggestions, or want to contribute new features, please submit a pull request or open an issue in the GitHub repository.
License
This TYPO3 OhDear Health Check Extension is released under the MIT License.
devskio/typo3_ohdear_health_check 适用场景与选型建议
devskio/typo3_ohdear_health_check 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13.14k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「TYPO3 CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 devskio/typo3_ohdear_health_check 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 devskio/typo3_ohdear_health_check 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 devskio/typo3_ohdear_health_check 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
An interactive tour through the TYPO3 backend.
Integrate with Snipcart.
统计信息
- 总下载量: 13.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-07-20

