Hello Mark, I am trying to get the health message of vRNI datasources using api/ni/data-sources/health. Below is a sample log. I can get the FQDN and the health_status fine.
{
"results": [
{
"entity_type": "NSXTManagerDataSource",
"entity_id": "10599:904:2738279389346719912",
"fqdn": "vcenter1.test.local",
"proxy_id": "10599:901:5003294786397150440",
"nickname": "vcenter1.test.local",
"enabled": true,
"health": {
"health_status": "HEALTHY",
"health_details": [
{
"message": "SUCCEEDED",
"code": "0"
}
]
},
"last_modified_timestamp": 1750344974104,
"last_activity_timestamp": 1757532140998,
"last_config_activity_timestamp": 1757532161447
},
{
"entity_type": "NSXTManagerDataSource",
"entity_id": "10599:904:1621959400663917885",
"fqdn": "nsxt1.test.local",
"proxy_id": "10599:901:5003294786397150440",
"nickname": "nsxt1.test.local",
"enabled": true,
"health": {
"health_status": "UNHEALTHY",
"health_details": [
{
"message": "FAILED_DATASOURCE_OPERATION",
"code": "-72"
}
]
},
However when trying to include the message, it only returns the message from the first fqdn in the api call so all data sources show as succeeded even though many have errors.



New object uses message and chains in the FQDN from the results.*


After performing data collection, its returning 68 properties of the message for each data source. Any thoughts?

End goal is this.

-------------------------------------------