Join us for a virtual Nutanix User Group meeting with Jarian Gibson as he covers Nutanix Cloud Clusters (NC2) on Azure and AWS with Citrix. <\/span><\/p>

Jarian will take a deep dive into NC2 on Azure architecture and Citrix on NC2 on Azure\u00a0that helps you strengthen your business continuity and disaster recovery position. He\u2019ll also provide the latest updates for NC2 on AWS.<\/span><\/p>

Plus, we're\u00a0giving away a Nutanix suitcase to one lucky winner!\u00a0Opt-in when you register\u00a0to be entered to win.\u00a0<\/p>","author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":4},"type":"Webinar","url":"https:\/\/next.nutanix.com\/events\/global-nug-nc2-on-azure-and-aws-with-citrix-151","image":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/f9693b5b-436b-427a-9b98-531b4040ff24_thumb.png","location":"","startsAt":1678298400,"endsAt":1678302000,"contentType":"event","attendees":[],"attendeeCount":0,"isLoggedInUserAttendee":false,"createdAt":"1675974969"},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">

问题

如何使用REST API版本v2.0获得数据弹性状态

  • 2019年3月11日
  • 4个答复
  • 1839年的观点

徽章
你好,



我无法使用REST API版本v2.0获得数据弹性状态。



我看到V1是

https:// server_ip:9440/prismgateway/services/rest/v1/cluster/domain_fault_tolerance_status



使用V1也无法获得此指标价值。



请帮助我们使用REST API版本v2.0帮助我们获得数据弹性状态。



问候,

Mallikarjuna

该主题已关闭以供评论

4个答复

也想知道这一点。任何人?



需要查询“数据弹性状态” /“失败”计数器,这些计数器在Prismelement中可见
@mallikarjuna检查一下,找到了一些东西:https:// clusterip:9440/prismgateway/services/rest/v2.0/cluster/domain_fault_

tolerance_status'。对我来说,我找到了我搜索的东西。
徽章
@Dazi对于V1,它正在工作,我们想使用V2收集
@Dazi对于V1,它正在工作,我们想使用V2收集



对我来说,V2还可以处理此简单测试:

curl -x获取'https://clusterip9440/prismgateway/services/rest/v2.0/cluster/domain_fault_

TOLERANCE_STATUS'-H'ACCEPT:application/json'-h'content -type:application/json' - insecure -basic -user用户名:密码-s
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu