tvdijen/simplesamlphp-module-monitor
Composer 安装命令:
composer require tvdijen/simplesamlphp-module-monitor
包简介
A module that is able to perform various checks on the health of a SimpleSAMLphp installation
README 文档
README
This module provides a framework for monitoring SimpleSAMLphp.
Using TestSuites and TestCases, virtually anything can be monitored. TestSuites and TestCases for the most common usecases ship with the module, but you can easily add your own!
When you enable this module, a link to the monitoring-page will appear on the admin configuration-tab. Add ?output=xml to the url to get an XML-representation of the monitoring-page, for use with your 3rd party monitoring system like SCOM / Nagios, or even load balancers that determine a node's health. A JSON-formatted output is also possible using ?output=json in the url.
The XML-page will also set a HTTP reponse-code corresponding to the 'overall status':
- 200 - Everything is OK
- 417 - There is at least one warning
- 500 - There is at least one error
Install
Install with composer
vendor/bin/composer require tvdijen/simplesamlphp-module-monitor
Configuration
Next thing you need to do is to enable the module:
in config.php, search for the module.enable key and set monitor to true:
'module.enable' => [ 'monitor' => true, … ],
Copy config-templates/module_monitor.php to the SimpleSAML config-directory
统计信息
- 总下载量: 1.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-or-later
- 更新时间: 2017-10-13