Implementing Custom Health Indicators
The high-level steps to create and register a custom health indicator for My webMethods Server containers are as follows:
In a CAF application project, create a class that implements
IHealthIndicator.
Add the custom code that performs the required health checks to the class.
In the same application project, add a custom class that implements the IHealthIndicatorConfig class, with the custom code that configures your indicator properties.
Place the healthCheck.json file in an
instance_cfg directory, and the compiled CAF application in another dedicated directory, both in a volume or on the host file system.
When starting the
My webMethods Server container, mount the
instance_cfg to the
MWS/volumes/config directory on the container file system, and the directory that contains the CAF application to
MWS/volumes/apps.