5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
[user=40309]sandeepmp[/user] v2 version of this API doesn't work, returns an XML-formatted error "java.lang.NullPointerException". v1 does display the data, although in a somewhat unfriendly way, as failures tolerable are listed per service, and no "minimum" value is readily available. There is also a nice value for under-replicated data which can be used to signify a disk had failed. Still, is there an API under /api/nutanix/ (which seems to be the more modern way of querying the cluster) that would deliver similar info?
Yep, I also monitor "is_degraded" value from "/api/nutanix/2.0/hosts/UUID", which actually reported me zeroes for hosts that are down. "Not degraded but failed" - weird state you know.
[quote=sandeepmp][user=82963]Maxim Grishin[/user] How many nodes you have this cluster. And can you share the API url which u used to check the cluster status?[/quote] 4 (CE). URL was "GET /api/nutanix/2.0/cluster/" I was using Zabbix's JSON parser to extract the value of "operation_mode" which I think to be the current cluster status. Am I correct, or there should be some other parameters to watch?
[user=18248]billytiangco[/user] Probably sudo this conversion?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.