Configuring Custom Checks to Monitor Your Applicat...
Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
SAP Monitoring service allows you to create custom checks to monitor your Java, HTML5, or SAP HANA XS applications.
Before, this configuration was possible through the Neo console client (for Java applications) or the SAP BTP cockpit (for HTML5 or SAP HANA XS applications).
Now, with the release of the newChecks API, you can configure all your custom checks at one place by using the API only. The advantage of this approach is that you can automate your process by addingthe new Checks API calls to the operations you’ve already used for your applications in the Neo environment.
For example, if your scenario includes Java applications, you can use the Checks API in combination with the Java ALM API. That means afteryou deploy a Java application with the Java ALM API, you can also createcustom checks for the application with the Checks API. The Checks API gives various options for the types of checks you can use on an account or application level. You have the option to createavailability checks or checks based on JMX MBeans. To be able to create suchJMX checks, you first need to define and register the MBeansin your application. There are severaltools for defining and registering JMX MBeans, and the blog postAdd Custom Metrics to Java Apps by Using Third-Party Tools gives more details about this procedure.
Furthermore, if your scenario includes SAP HANA XS applications, you can use the Checks API after you’ve created and deployed the application through the SAP BTP cockpit. You can, for example,list your custom HTTP checks by type after you have created them to verify if thechecksare configured properly. If a check is with incorrect configuration, you can then update its parameters with an HTTP PUT request.Furthermore, you can also configureavailability checks on application level.
Try out the newChecks API and utilize its capabilities in your process. Any feedback on the usage and functionality of the API is appreciated. We’ll also be happy to know your scenarios for adopting the API.