Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:latest:checkstate [2019/01/15 15:54] (current)
Line 1: Line 1:
 +====== 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 =====
 +
 +Just enable it in the manager (section "​plugins"​). 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: ''​https://​auth.example.com/​checkstate?​secret=qwerty&​user=dwho&​password=dwho''​