Software AG Products 10.11 | Running Business Processes and Composite Applications | Administering My webMethods Server | Startup and Configuration | Using My webMethods Server with Docker | Monitoring My webMethods Server Containers | Implementing Custom Health Indicators
 
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.
*Add the new custom indicator in a healthCheck.json file, as described in Container Health Check Samples.
*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.