mod_http_status/README.md
changeset 5165 6af2d74daa15
child 5683 e274431bf4ce
equal deleted inserted replaced
5164:8474a3b80200 5165:6af2d74daa15
       
     1 Prosody 0.12 added an API allowing modules to report their status. This
       
     2 module allows reading these statuses via HTTP for use in monitoring.
       
     3 
       
     4 ```
       
     5 $ curl http://prosody.localhost:5280/status
       
     6 {
       
     7    "example.com" : {
       
     8       "c2s" : {
       
     9          "message" : "Loaded",
       
    10          "type" : "core"
       
    11       }
       
    12    }
       
    13 }
       
    14 ```
       
    15