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:
-
Determination of the host in the HL Monitoring Module by filtering on the local IP-address or the DNS-alias.
-
Determination of all Oracle services of the hosts through the Oracle SID.
-
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:
-
Determination of the host in the HL Monitoring Module by filtering on the local IP-address or the DNS-alias
-
Determination of all Oracle services of the hosts through the Oracle SID
-
Determination of all active Oracle data collectors from the Oracle services
-
Initiate checks of the Oracle data collectors so that current conditions are determined
-
Determination of all active downtimes on the Oracle services
-
Early termination of downtimes