Member since
01-30-2022
4
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1468 | 02-22-2022 01:51 PM |
02-22-2022
01:51 PM
1 Kudo
Thank you! Looks like what I wanted.
... View more
02-18-2022
12:34 AM
I'm saying that because the command you are talking about says that overall state of the service HDFS is good, all components of it are GOOD, while in the GUI I still can see one red red Bad health Data DIrectory Status bad health event, while overall status of HDFS is shown as GOOD(green). Long story short, I just want to get this event via API call. Is that possible? overall service state is good, but there is a critical event this critical event clusters/cluster/services/hdfs'|jq .
{
"name": "hdfs",
"type": "HDFS",
"clusterRef": {
"clusterName": "cluster"
},
"serviceUrl,
"roleInstancesUrl":,
"serviceState": "STARTED",
"healthSummary": "GOOD",
"healthChecks": [
{
"name": "HDFS_BLOCKS_WITH_CORRUPT_REPLICAS",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_CANARY_HEALTH",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_DATA_NODES_HEALTHY",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_FAILOVER_CONTROLLERS_HEALTHY",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_FREE_SPACE_REMAINING",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_HA_NAMENODE_HEALTH",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_MISSING_BLOCKS",
"summary": "GOOD",
"suppressed": false
},
{
"name": "HDFS_UNDER_REPLICATED_BLOCKS",
"summary": "GOOD",
"suppressed": false
}
],
"configStalenessStatus": "FRESH",
"clientConfigStalenessStatus": "FRESH",
"maintenanceMode": false,
"maintenanceOwners": [],
"displayName": "HDFS",
"entityStatus": "GOOD_HEALTH"
}
... View more
02-17-2022
10:17 PM
Hello, André Thanky you for yoir quick reply. So you are saying that by using api there is no way to find out what exactly is going on with claster? All we can get is just summary like GOOD\BAD of each service? And based on this we should conduct the further investigation by means of GUI?
... View more
02-17-2022
08:47 AM
Hello! I'm using CM api v19 I'm trying to get only critical alerts which I'm looking at right now (RED ones). Tried https://cloudera.github.io/cm_api/apidocs/v19/path__events.html /api/v19/events?query=category==HEALTH_EVENT;severity=CRITICAL The output consists of too many not relevant events. What should I do to get only critical events displayed on the dashboard? Thank you.
... View more
Labels:
- Labels:
-
Cloudera Manager