-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
324 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,49 @@ | ||
{ | ||
"name": "Node Availability Health: Java Agents", | ||
"enabled": false, | ||
"useDataFromLastNMinutes": 6, | ||
"waitTimeAfterViolation": 6, | ||
"name": "Agent Availability", | ||
"enabled": true, | ||
"useDataFromLastNMinutes": 60, | ||
"waitTimeAfterViolation": 30, | ||
"scheduleName": "Always", | ||
"affects": { | ||
"affectedEntityType": "TIER_NODE_HARDWARE", | ||
"affectedEntities": { | ||
"tierOrNode": "NODE_AFFECTED_ENTITIES", | ||
"typeofNode": "JAVA_NODES", | ||
"typeofNode": "ALL_NODES", | ||
"affectedNodes": { | ||
"affectedNodeScope": "ALL_NODES" | ||
"affectedNodeScope": "NODES_MATCHING_PATTERN", | ||
"patternMatcher": { | ||
"matchTo": "EQUALS", | ||
"matchValue": "Machine Agent", | ||
"shouldNot": true | ||
} | ||
} | ||
} | ||
}, | ||
"evalCriterias": { | ||
"criticalCriteria": { | ||
"criticalCriteria": null, | ||
"warningCriteria": { | ||
"conditionAggregationType": "ALL", | ||
"conditionExpression": null, | ||
"conditions": [ | ||
{ | ||
"name": "Java Node Availability Health", | ||
"name": "Agent Failure Warning", | ||
"shortName": "A", | ||
"evaluateToTrueOnNoData": false, | ||
"evaluateToTrueOnNoData": true, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "SUM", | ||
"metricPath": "Agent|App|Availability", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Agent|Machine|Availability", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "LESS_THAN_SPECIFIC_VALUE", | ||
"compareValue": 3 | ||
"compareValue": 1 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 2 | ||
"minimumTriggers": 0 | ||
} | ||
], | ||
"evalMatchingCriteria": null | ||
}, | ||
"warningCriteria": null | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
{ | ||
"name": "Standard Service Endpoints: Error Rate Health", | ||
"enabled": true, | ||
"useDataFromLastNMinutes": 30, | ||
"waitTimeAfterViolation": 30, | ||
"scheduleName": "Always", | ||
"affects": { | ||
"affectedEntityType": "SERVICE_ENDPOINTS", | ||
"affectedServiceEndpoints": { | ||
"serviceEndpointScope": "ALL_SERVICE_ENDPOINTS" | ||
} | ||
}, | ||
"evalCriterias": { | ||
"criticalCriteria": { | ||
"conditionAggregationType": "ALL", | ||
"conditionExpression": null, | ||
"conditions": [ | ||
{ | ||
"name": "Error Percentage", | ||
"shortName": "A", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "METRIC_EXPRESSION", | ||
"metricExpression": "{totalErrors}/{totalCalls}*100", | ||
"metricExpressionVariables": [ | ||
{ | ||
"variableName": "totalErrors", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Errors per Minute" | ||
}, | ||
{ | ||
"variableName": "totalCalls", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Calls per Minute" | ||
} | ||
], | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 5 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Calls per Minute", | ||
"shortName": "B", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Calls per Minute", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 10 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Errors", | ||
"shortName": "C", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Errors per Minute", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 10 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
} | ||
], | ||
"evalMatchingCriteria": { | ||
"matchType": "ANY_NODE", | ||
"value": null | ||
} | ||
}, | ||
"warningCriteria": { | ||
"conditionAggregationType": "ALL", | ||
"conditionExpression": null, | ||
"conditions": [ | ||
{ | ||
"name": "Error Percentage", | ||
"shortName": "A", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "METRIC_EXPRESSION", | ||
"metricExpression": "{totalErrors}/{totalCalls}*100", | ||
"metricExpressionVariables": [ | ||
{ | ||
"variableName": "totalErrors", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Errors per Minute" | ||
}, | ||
{ | ||
"variableName": "totalCalls", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Calls per Minute" | ||
} | ||
], | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 1 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Calls per Minute", | ||
"shortName": "B", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Calls per Minute", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 10 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Errors", | ||
"shortName": "C", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Errors per Minute", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 10 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
} | ||
], | ||
"evalMatchingCriteria": { | ||
"matchType": "ANY_NODE", | ||
"value": null | ||
} | ||
} | ||
} | ||
} |
141 changes: 141 additions & 0 deletions
141
healthrules/Application/ServiceEndPoint-ResponseTime.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
{ | ||
"name": "Standard Service Endpoint: Response Time Health", | ||
"enabled": true, | ||
"useDataFromLastNMinutes": 30, | ||
"waitTimeAfterViolation": 30, | ||
"scheduleName": "Always", | ||
"affects": { | ||
"affectedEntityType": "SERVICE_ENDPOINTS", | ||
"affectedServiceEndpoints": { | ||
"serviceEndpointScope": "ALL_SERVICE_ENDPOINTS" | ||
} | ||
}, | ||
"evalCriterias": { | ||
"criticalCriteria": { | ||
"conditionAggregationType": "ALL", | ||
"conditionExpression": null, | ||
"conditions": [ | ||
{ | ||
"name": "Average Response Time", | ||
"shortName": "A", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Average Response Time (ms)", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "BASELINE_TYPE", | ||
"baselineCondition": "GREATER_THAN_BASELINE", | ||
"baselineName": "Default Baseline", | ||
"compareValue": 4, | ||
"baselineUnit": "STANDARD_DEVIATIONS" | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Calls per Minute", | ||
"shortName": "B", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Calls per Minute", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 10 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Average Response Time", | ||
"shortName": "C", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Average Response Time (ms)", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 100 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
} | ||
], | ||
"evalMatchingCriteria": { | ||
"matchType": "ANY_NODE", | ||
"value": null | ||
} | ||
}, | ||
"warningCriteria": { | ||
"conditionAggregationType": "ALL", | ||
"conditionExpression": null, | ||
"conditions": [ | ||
{ | ||
"name": "Average Response Time", | ||
"shortName": "A", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Average Response Time (ms)", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "BASELINE_TYPE", | ||
"baselineCondition": "GREATER_THAN_BASELINE", | ||
"baselineName": "Default Baseline", | ||
"compareValue": 3, | ||
"baselineUnit": "STANDARD_DEVIATIONS" | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Calls per Minute", | ||
"shortName": "B", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Calls per Minute", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 10 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
}, | ||
{ | ||
"name": "Minimum Average Response Time", | ||
"shortName": "C", | ||
"evaluateToTrueOnNoData": false, | ||
"evalDetail": { | ||
"evalDetailType": "SINGLE_METRIC", | ||
"metricAggregateFunction": "VALUE", | ||
"metricPath": "Average Response Time (ms)", | ||
"metricEvalDetail": { | ||
"metricEvalDetailType": "SPECIFIC_TYPE", | ||
"compareCondition": "GREATER_THAN_SPECIFIC_VALUE", | ||
"compareValue": 100 | ||
} | ||
}, | ||
"triggerEnabled": false, | ||
"minimumTriggers": 15 | ||
} | ||
], | ||
"evalMatchingCriteria": { | ||
"matchType": "ANY_NODE", | ||
"value": null | ||
} | ||
} | ||
} | ||
} |