File

mod_http_status/README.md @ 5668:f16edebb1305

mod_client_management: Show grant expiry in shell command I want to know when my OAuth2 grant expires and that it really is extended by refreshing.
author Kim Alvefur <zash@zash.se>
date Mon, 11 Sep 2023 10:19:38 +0200
parent 5161:6af2d74daa15
child 5702:e274431bf4ce
line wrap: on
line source

Prosody 0.12 added an API allowing modules to report their status. This
module allows reading these statuses via HTTP for use in monitoring.

```
$ curl http://prosody.localhost:5280/status
{
   "example.com" : {
      "c2s" : {
         "message" : "Loaded",
         "type" : "core"
      }
   }
}
```