Skip to Content
Technical Articles
Author's profile photo Nikola Simeonov

Configuring Custom Checks to Monitor Your Applications in the Neo Environment

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 new Checks 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 adding the 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 APIThat means after you deploy a Java application with the Java ALM API, you can also create custom checks for the application with the Checks APIThe Checks API gives various options for the types of checks you can use on an account or application level. You have the option to create availability checks or checks based on JMX MBeans. To be able to create such JMX checks, you first need to define and register the MBeans in your application. There are several tools for defining and registering JMX MBeans, and the blog post Add Custom Metrics to Java Apps by Using Third-Party Tools gives more details about this procedure.

When your scenario contains HTML5 applications, you can use the Checks API after you’ve created the application through the SAP BTP cockpit and deployed it in SAP Web IDEFor example, with an HTTP GET request, you could list your custom checks after you have created them.

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 the checks are configured properly. If a check is with incorrect configuration, you can then update its parameters with an HTTP PUT request. Furthermore, you can also configure availability checks on application level.

Try out the new Checks 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.

 

Related Information

Assigned tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.