In order to better support you in the automation of various processes, our Herrmann & Lenz Monitoring Module offers you in the latest version some new functions of the RESTful-API. The new features include, among other things:

  • Determination of hosts and services via attributes, such as display name or status

  • Initiate host and service checks

  • Additional keywords for filtering attributes, like “contains”, “startsWith” or “equals”

  • Creation of downtimes

This means that various processes can be automated now, which were only accessible via the user interface previously. The following is an example of script-controlled updates of an Oracle database:

  1. Determination of the host in the HL Monitoring Module by filtering on the local IP-address or the DNS-alias.

  2. Determination of all Oracle services of the hosts through the Oracle SID.

  3. Definition of an immediately valid downtime.

Then the actual process of updating the Oracle database begins.

After successfully completing this process, the script ends with the following logic:

  1. Determination of the host in the HL Monitoring Module by filtering on the local IP-address or the DNS-alias

  2. Determination of all Oracle services of the hosts through the Oracle SID

  3. Determination of all active Oracle data collectors from the Oracle services

  4. Initiate checks of the Oracle data collectors so that current conditions are determined

  5. Determination of all active downtimes on the Oracle services

  6. Early termination of downtimes

This is just one example of how you can use the capabilities of the RESTful-API to automate your processes.

If you would like to know more about this topic, we would be glad if you contact us or give us a call +49 2174/30710 0.

Back