mindscreen/json-reports
Composer 安装命令:
composer require mindscreen/json-reports
包简介
Outputs TYPO3 reports as JSON for processing in monitoring or alerting systems
README 文档
README
JSON Reports for TYPO3
This TYPO3 extension adds a CLI command and an HTTP endpoint that outputs the reports that you can find in the reports module as JSON. The JSON output can be used in monitoring or alerting systems. The HTTP endpoint can be protected via IP restriction.
CLI command
You can access the reports JSON via CLI with the following command:
typo3/cli_dispatch.phpsh extbase reports:list
HTTP endpoint
In order to use the HTTP endpoint you have to configure the allowed IP addresses via the following setting:
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['json_reports']['allowedIpAddresses'] = '';
Clients that match the allowed IP address range can access the reports JSON via the following URL:
https://my.domain/?eID=json_reports
If the reports contain warnings or errors (or there are errors during report generation), a status 500 is returned.
统计信息
- 总下载量: 3.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2017-07-17