...
Kodblock |
---|
curl -v http://localhost:8081/mule-probe/probe |
OK svar
...
Kodblock |
---|
< HTTP/1.1 200 OK < Date: Mon, 25 Jan 2016 14:16:40 +0000 < Server: Mule Core/3.7.0 < Content-Type: application/json < Content-Length: 2 < http.status: 200 < Connection: close < * Closing connection 0 OK |
Probe är konfigurerad till DOWN
...
Konfigureras i probe-filen, se SKLTP probe komponent - konfiguration):
Kodblock |
---|
< HTTP/1.1 503 Service Unavailable
< Date: Mon, 25 Jan 2016 15:17:53 +0000
< Server: Mule Core/3.7.0
< Content-Type: application/json
< Content-Length: 880
< http.status: 503
< Connection: close
<
* Closing connection 0
[{"name":"engagemangsindex","url":"http://localhost:8090/mule-probe/teststub-services/PingForConfiguration/1/rivtabp21?connector=soitoolkit-http-connector","probeAvailable":false,"probeMessage":"Muleprobe probeFile signals DOWN, no check against producers will be performed","serviceAvailable":false},{"name":"fkadapter","url":"http://localhost:8090/mule-probe/teststub-services/PingForConfiguration/1/rivtabp21?connector=soitoolkit-http-connector","probeAvailable":false,"probeMessage":"Muleprobe probeFile signals DOWN, no check against producers will be performed","serviceAvailable":false},{"name":"vp","url":"http://localhost:8090/mule-probe/teststub-services/PingForConfiguration/1/rivtabp21?connector=soitoolkit-http-connector","probeAvailable":false,"probeMessage":"Muleprobe probeFile signals DOWN, no check against producers will be performed","serviceAvailable":false}] |
Probens probe-fil är borttagen
Se SKLTP probe komponent - konfiguration för konfiguration av probe-filen.
Kodblock |
---|
< HTTP/1.1 503 Service Unavailable
< Date: Wed, 24 Feb 2016 09:00:11 CET
< Server: Mule Core/3.3.1
< Content-Type: application/json
< http.status: 503
< Transfer-Encoding: chunked
< Connection: close
<
* Closing connection 0
{"serviceAvailable":false,"probeAvailable":false,"probeMessage":"Configured probeFile target/probeService/probeFile.txt does not exist, muleprobe signals unavailable when file is missing"} |
Felsöka eller inspektera konfiguration
Med verbose=true flaggan på returneras alla tjänster som är konfigurerade i probenprobens konfiguration för de konfigurerade tjänsterna:
Kodblock |
---|
curl -v http://localhost:8081/mule-probe/probe?verbose=true |
...