serviceHealthCheck[subject=swym]
Description
This monitoring service represents the result of an applicative scenario composed of the following steps:
- Login
- Logout
This is the higher monitoring service of the system and should be taken into account only if all the elements of the chain do not raise issues.
Installation
3DSwym Foundation
We recommend that you install the MonitoringAgentAndProbes
media
on a separate machine, for example on the Reverse Proxy machine.
Prerequisites
The following conditions are required:
- Load-Balancers and Reverse Proxies are OK
- the database is OK
- all monitoring services for Monitoring Agent and Probes are OK
- all monitoring services for 3DPassport are OK
Activation
Command:
- Create the keystore, as explained in Starting the Monitoring Agent:
StartMonitoringAgentSvc.sh | .bat [-keystore PATH] -setkey < 3DSwym_URL>
- Set the probe:
startMonitoringAgent.sh |.bat -setProbe swymodt swym odtName=serviceHealthCheck odtClass=com.dassault_systemes.probe.social.authenticate.SocialProbeSwymAuthenticator maxTries=2 delayMs=10000 url=3DSwym_URL
where 3DSwym_URL is the 3DSwym service URL,
maxTries
is the number of tries in case of failure, anddelayMs
is the scenario maximum duration timeout in milliseconds. - Restart the
3DMonitoringAgent
service if monitoring by theMonitoringAgentAndProbes
media is installed as a service, or start the monitoring agent from the 3DSwym service installation path as follows:StartMonitoringAgentSvc.sh|.bat [-keystore PATH] -o PATH
Metrics
Here are the metrics:
Name | Type | Meaning |
---|---|---|
serviceHealthCheck.status | Boolean | Status (OK|KO) of login health check. Severity is critical if value is false. One of the login scenario steps has failed. |
serviceHealthCheck.elapsed | ms | Duration, in ms, of login health check. Elapsed time needed for running the full scenario. |
Recovery Procedures
Monitoring console message | Analysis | Procedure |
---|---|---|
An error has occurred while receiving
response from: https://<3DPassport
URL>/cas/login?service=https://<3DSwym URL>
|
Connectivity issue on Load-Balancer, Reverse Proxies or on 3DPassport. |
|
An error has occurred while receiving response from:
https://<3DPassport
URL>/cas/login
|
Issue on 3DPassport side. | Check 3DPassport monitoring status |
## ERROR! loginToSwYm503 Service Temporarily
Unavailable
|
Several root causes and probably under the Reverse Proxy. |
|
## ERROR! Header Swym-Auth-Ok not found or not equal to
1!
|
Problem on richMediaServer, or connectivity issue to 3DPassport |
|
## ERROR! loginToSwYm500 Internal Server Error
|
Unknown Issue in socialServer instance |
|