tvdijen / simplesamlphp-module-monitor
A module that is able to perform various checks on the health of a SimpleSAMLphp installation
Installs: 1 230
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 3
Open Issues: 4
Type:simplesamlphp-module
Requires
- php: ^8.0
- ext-openssl: *
- ext-session: *
- simplesamlphp/assert: ^1.0.0
- simplesamlphp/simplesamlphp: ^2.1
- symfony/http-foundation: ^6.0
Requires (Dev)
Suggests
- ext-krb5: *
- ext-ldap: *
- dev-master
- v3.1.8
- v3.1.7
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.4
- v3.0.3
- v3.0.2
- v2.7.6
- v2.7.5
- v2.7.4
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.1
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- dev-depfu/check/composer/simplesamlphp/simplesamlphp-2.3.2
- dev-depfu/check/composer/simplesamlphp/assert-1.2.2
- dev-release-3.1
- dev-monitor-3.0.x
- dev-monitor-2.7.x
- dev-monitor-1.x
- dev-monitor-2.0.x
- dev-monitor-2.1.x
- dev-monitor-2.2.x
- dev-monitor-2.3.x
- dev-monitor-2.4.x
- dev-monitor-2.5.x
- dev-pasphrase
- dev-feature/refactor
This package is auto-updated.
Last update: 2024-10-24 10:58:26 UTC
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