You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
Check state plugin
|
|
==================
|
|
|
|
This plugin can be used to check if portal instance is ready. This can
|
|
be a health check to request keep-alive service to force a fail-over on
|
|
the backup-node.
|
|
|
|
Configuration
|
|
-------------
|
|
To enable Check state:
|
|
Go in Manager, ``General Parameters`` » ``Plugins`` » ``State Check``.
|
|
You must also set a shared secret.
|
|
|
|
Usage
|
|
-----
|
|
|
|
When enabled, ``/checkstate`` URL path is handled by this plugin.
|
|
GET parameters:
|
|
|
|
============= ======== ============================================================
|
|
GET Parameter Need Value
|
|
============= ======== ============================================================
|
|
``secret`` required Same value as the shared secret given to the manager
|
|
``user`` optional If set (with password), a login/logout process will be tried
|
|
``password`` optional
|
|
============= ======== ============================================================
|
|
|
|
Example
|
|
~~~~~~~
|
|
|
|
- Basic availability check:
|
|
``https://auth.example.com/checkstate?secret=qwerty``
|
|
- Try to log a user in:
|
|
``https://auth.example.com/checkstate?secret=qwerty&user=dwho&password=dwho``
|
|
|