-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vSphere] add triggered alarm to existing metricsets. (#40714)
* add alert names * update host metricset * add alert metrics to all the metricsets * add changelog entry * update data_test * add triggerd alarms * added entity name * mage check --------- Co-authored-by: Niraj Rathod <niraj.rathod@crestdatasys.com> Co-authored-by: Kush Rana <kush.rana@elastic.co> Co-authored-by: harnish-elastic <harnish.chavda@elastic.co> (cherry picked from commit 885a2db)
- Loading branch information
1 parent
943d1ea
commit 2177780
Showing
27 changed files
with
691 additions
and
84 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
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,47 +1,81 @@ | ||
{ | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"event": { | ||
"dataset": "vsphere.cluster", | ||
"duration": 115000, | ||
"module": "vsphere" | ||
}, | ||
"metricset": { | ||
"name": "cluster", | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"address": "127.0.0.1:33365", | ||
"type": "vsphere" | ||
}, | ||
"vsphere": { | ||
"@timestamp": "2017-10-12T08:05:34.853Z", | ||
"event": { | ||
"dataset": "vsphere.cluster", | ||
"duration": 115000, | ||
"module": "vsphere" | ||
}, | ||
"metricset": { | ||
"name": "cluster", | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"address": "127.0.0.1:33365", | ||
"type": "vsphere" | ||
}, | ||
"vsphere": { | ||
"cluster": { | ||
"name": "Cluster_1", | ||
"das_config": { | ||
"enabled": false, | ||
"admission": { | ||
"control": { | ||
"enabled": true | ||
} | ||
"triggerd_alarms": [ | ||
{ | ||
"status": "red", | ||
"triggered_time": "2024-09-09T13:23:00.786Z", | ||
"description": "Default alarm to monitor system boards. See the host's Hardware Status tab for more details.", | ||
"entity_name": "121.0.0.0", | ||
"name": "Host hardware system board status", | ||
"id": "alarm-121.host-12" | ||
}, | ||
{ | ||
"triggered_time": "2024-09-09T13:23:00.786Z", | ||
"description": "Default alarm to monitor storage. See the host's Hardware Status tab for more details.", | ||
"entity_name": "121.0.0.0", | ||
"name": "Host storage status", | ||
"id": "alarm-124.host-12", | ||
"status": "red" | ||
}, | ||
{ | ||
"entity_name": "121.0.0.0", | ||
"name": "Host memory usage", | ||
"id": "alarm-4.host-12", | ||
"status": "yellow", | ||
"triggered_time": "2024-08-28T10:31:26.621Z", | ||
"description": "Default alarm to monitor host memory usage" | ||
}, | ||
{ | ||
"name": "CPU Utilization", | ||
"id": "alarm-703.host-12", | ||
"status": "red", | ||
"triggered_time": "2024-08-28T10:31:26.621Z", | ||
"description": "", | ||
"entity_name": "121.0.0.0" | ||
} | ||
], | ||
"name": "Cluster_1", | ||
"das_config": { | ||
"enabled": false, | ||
"admission": { | ||
"control": { | ||
"enabled": true | ||
} | ||
} | ||
}, | ||
"host": { | ||
"count": 1, | ||
"names": [ | ||
"Host_1" | ||
] | ||
}, | ||
"datastore": { | ||
"count": 1, | ||
"names": [ | ||
"Datastore_1" | ||
] | ||
}, | ||
"network": { | ||
"count": 1, | ||
"names": [ | ||
"Network_1" | ||
] | ||
} | ||
}, | ||
"host": { | ||
"count": 1, | ||
"names": [ | ||
"Host_1" | ||
] | ||
}, | ||
"datastore": { | ||
"count": 1, | ||
"names": [ | ||
"Datastore_1" | ||
] | ||
}, | ||
"network": { | ||
"count": 1, | ||
"names": [ | ||
"Network_1" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.