# US 2017/0371648 A1 · Monitoring rules declaration and automatic configuration of the monitoring rules

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0371648 A1
- Document ID: US20170371648A1
- Status: Published application
- Kind: A1
- Application number: 15/195,091
- Filed: 2016-06-28
- Published: 2017-12-28
- Earliest claimed: 2016-06-28
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Francesco Fabrizi; Andrea Gianfelici; Angelo Littera; Claudio Valant
- Web page: https://patentgrep.com/patent/US20170371648A1

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/30: Monitoring
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3093: {Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

During development of an application storing monitoring tools within the source code of the application. During deployment, extracting all monitoring rules from the source code of the application; obtaining information to complete the monitoring rules and customize the monitoring rules to the application which is to be monitored; discarding duplicate monitoring rules; and sending the monitoring rules to a target monitoring tool for configuration of monitoring rules within the application.

## Claims

### Claim 1

A method of deploying monitoring rules stored within source code of an application comprising the steps of:
a computer extracting all monitoring rules from the source code of the application;
the computer obtaining information to complete the monitoring rules and customize the monitoring rules to the application which is to be monitored;
the computer discarding duplicate monitoring rules; and
the computer sending the monitoring rules to a target monitoring tool for configuration of monitoring rules within the application.

### Claim 2 (depends on 1)

The method of claim 1, wherein, prior to deploying the monitoring rules, the computer inserting monitoring rules into source code of the application as annotations and the computer compiling the annotations into an application module of the application during development of the application.

### Claim 3 (depends on 1)

The method of claim 1, wherein the step of extracting all monitoring rules from the source code of the application further comprises the step of checking the extracted monitoring rules for consistency.

### Claim 4 (depends on 1)

The method of claim 1, wherein the information to complete the monitoring rules is obtained from a configuration management database system.

### Claim 5 (depends on 1)

The method of claim 1, wherein the information to complete the monitoring rules is obtained from a discovery system.

### Claim 6 (depends on 1)

The method of claim 1, wherein, after the step of discarding duplicate monitoring rules, the computer generating a document with all defined monitoring rules for an application.

### Claim 7

A computer program product for deploying monitoring rules stored within source code of an application, a computer comprising at least one processor, one or more memories, one or more computer readable storage media, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by the computer to perform a method comprising:
extracting, by the computer, all monitoring rules from the source code of the application;
obtaining, by the computer, information to complete the monitoring rules and customize the monitoring rules to the application which is to be monitored;
discarding, by the computer, duplicate monitoring rules; and
sending, by the computer, the monitoring rules to a target monitoring tool for configuration of monitoring rules within the application.

### Claim 8 (depends on 7)

The computer program product of claim 7, wherein, prior to deploying the monitoring rules, inserting, by the computer, monitoring rules into source code of the application as annotations and compiling, by the computer, the annotations into an application module of the application during development of the application.

### Claim 9 (depends on 7)

The computer program product of claim 7, wherein the program instructions of extracting, by the computer, all monitoring rules from the source code of the application further comprises checking, by the computer, the extracted monitoring rules for consistency.

### Claim 10 (depends on 7)

The computer program product of claim 7, wherein the information to complete the monitoring rules is obtained from a configuration management database system.

### Claim 11 (depends on 7)

The computer program product of claim 7, wherein the information to complete the monitoring rules is obtained from a discovery system.

### Claim 12 (depends on 7)

The computer program product of claim 7, wherein, after the program instructions of discarding, by the computer, duplicate monitoring rules, generating, by the computer, a document with all defined monitoring rules for an application.

### Claim 13

A computer system for deploying monitoring rules stored within source code of an application comprising a computer comprising at least one processor, one or more memories, one or more computer readable storage media having program instructions executable by the computer to perform the program instructions comprising:
extracting, by the computer, all monitoring rules from the source code of the application;
obtaining, by the computer, information to complete the monitoring rules and customize the monitoring rules to the application which is to be monitored;
discarding, by the computer, duplicate monitoring rules; and
sending, by the computer, the monitoring rules to a target monitoring tool for configuration of monitoring rules within the application.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein, prior to deploying the monitoring rules, inserting, by the computer, monitoring rules into source code of the application as annotations and compiling, by the computer, the annotations into an application module of the application during development of the application.

### Claim 15 (depends on 13)

The computer system of claim 13, wherein the program instructions of extracting, by the computer, all monitoring rules from the source code of the application further comprises checking, by the computer, the extracted monitoring rules for consistency.

### Claim 16 (depends on 13)

The computer system of claim 13, wherein the information to complete the monitoring rules is obtained from a configuration management database system.

### Claim 17 (depends on 7)

The computer system of claim 7, wherein the information to complete the monitoring rules is obtained from a discovery system.

### Claim 18 (depends on 14)

The system of claim 14, wherein, after the program instructions of discarding, by the computer, duplicate monitoring rules, generating, by the computer, a document with all defined monitoring rules for an application.
