加入我们虚拟Nutanix用户群会议Jarian Gibson报道Nutanix云集群Azure和AWs与Citrix/span/p

Jarian将深入NC2Azure架构和CitrixNC2Azure\u00a0帮助增强业务连续性和灾难恢复位置He\u2019ll还提供最新NC2更新AWS.QQ/spanQ/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"}}}">

监听部分3/4度量和Prometheus和Grafana

  • 2020年10月6日
  • 3个回复
  • 3688视图

用户二级
徽章 +12

除经典监控sm或代理基础版外,我们现在讨论Metrics和LiveData监控程序与开源项目普罗米修斯.虚拟化使用强效工具格拉法那.

数据存取程序使用名符其实的“Ode-Extractors”,我们可以在GitHUB下查找一号送送努坦尼斯脱机

测试盒homelab使用下列项目构建

NutanixCluster <-Prometheus <-Grafana

192168.10.80

NutanixCE Ubuntu 18.04LTSUbuntu 18.04LTS

Prometheus 2.2.1Grafana7.0.4

GO1.10

需求

  1. nutix参数中心创建新用户并带VEWER权限

二叉Prometheus安装Ubuntu 18.04LTS运行GO

GoodSourcse可用.

3级Von Grafana7.x安装二维Ubuntun 18.04LTS

良好源码查找.

启动连接Nutanix

  1. 下载GO二进制Nutix导出器GO/BIN文件夹中的PrometheusVM

well测试 go/bin分享-help命令

SO应该是无法检验新创建VEWER用户 是否能够从nix集群获取某些度量if we descripte Prometheus使用端口9405连接多聚类时, 需要描述集分切分端口

可通过IP连接或创建dNS项用户名/密码可用变量掩码

Prometheus服务器端口9494结果如下:

宾果点击Metrics获取所有可用Metrics

manuell方式

编造小外壳脚本 自动调用servicepracetheus服务器重开

/etc/system/system新服务创建shell脚本

  1. ash-Script/go/bin
其它例子,我们在Githubre

二叉创建新服务/etc/systemd/system

Homelab使用root用户不这样做生产环境创建特定用户执行这些任务

systemctl启动prometheus_nutanix.service

重开VM测试并自动运行

systemctl状态prometheus_nutanix

将发现Metrics提供:Prometheus但Grafana公司需要申报目标脱机

修改/etc/prometheus/prometheus.ym重开普罗米修斯服务

控制端口:9090时默认Prometheus

精益求精转接Grampana

  1. Prometheus宣布为Grafana新数据源
使用PrometheusIP默认端口9090

创建新机板并选择prometheus/Nutanix.导出者名从Prometheus配置

注意力集中脱机命令发布ACH集群 并使用有效NAMESUS配置

简单示例板 VM账号内存等

if you like to start从 my Github Repo下载JSON文件并导入新戴斯板

处理提示 :

从Prometheus度量站导出所有度量为Notapad++/sublime易搜索

Help和TYPE背后的值无关Metrik全局关键复制并粘贴到Grafana选择

LEGENDS默认显示 NAMEMERMITER但你可以

a) manuell覆盖

b)使用变量像QroupQQ或NordeQQ

  1. BYTES通过1024/1024/1024等转换MB/GB/TB

玩得开心你的机板


专题结束备注

3个回复

徽章

感谢文档有文档解释这些度量吗?最理想的阈值应该是什么?

用户二级
徽章 +12

光看度量 最常声明是清晰易懂 公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公关公并缺核3节文库中的一个元素.但我希望它能很快参与.这是我全垒打3节集中的一个例子

nutanix_cluster_num_random_io{cluster="Admincafe"} -1.0
nutanix_cluster_num_read_iops{cluster="Admincafe"} 3.0
nutanix_cluster_num_read_io{cluster="Admincafe"} 93.0
nutanix_cluster_num_seq_io{cluster="Admincafe"} -1.0
nutanix_cluster_num_write_iops{cluster="Admincafe"} 7.0
nutanix_cluster_num_write_io{cluster="Admincafe"} 212.0
nutanix_cluster_random_io_ppm{cluster="Admincafe"} -1.0
nutanix_cluster_read_io_bandwidth_kbps{cluster="Admincafe"} 29.0
nutanix_cluster_read_io_ppm{cluster="Admincafe"} 304918.0
nutanix_cluster_seq_io_ppm{cluster="Admincafe"} -1.0
nutanix_cluster_storage_capacity_bytes{cluster="Admincafe"} 1.283931572427e+12
nutanix_cluster_storage_disk_physical_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_free_bytes{cluster="Admincafe"} 1.145171744971e+12
nutanix_cluster_storage_logical_usage_bytes{cluster="Admincafe"} 1.45839423488e+11
nutanix_cluster_storage_reserved_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_reserved_free_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_reserved_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_tier_das_sata_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_tier_ssd_usage_bytes{cluster="Admincafe"} 1.39058477856e+11
nutanix_cluster_storage_unreserved_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_unreserved_free_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_unreserved_own_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_unreserved_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_usage_bytes{cluster="Admincafe"} 1.38759827456e+11
nutanix_cluster_storage_user_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_container_own_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_disk_physical_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_free_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_other_containers_reserved_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_reserved_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_reserved_free_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_reserved_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_storage_pool_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_unreserved_capacity_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_unreserved_free_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_unreserved_own_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_unreserved_shared_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_unreserved_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_storage_user_usage_bytes{cluster="Admincafe"} 0.0
nutanix_cluster_timespan_usecs{cluster="Admincafe"} 3e+07
nutanix_cluster_total_io_size_kbytes{cluster="Admincafe"} 4013.0
nutanix_cluster_total_io_time_usecs{cluster="Admincafe"} 62667.0
nutanix_cluster_total_read_io_size_kbytes{cluster="Admincafe"} 889.0
nutanix_cluster_total_read_io_time_usecs{cluster="Admincafe"} -1.0
nutanix_cluster_total_transformed_usage_bytes{cluster="Admincafe"} -1.0
nutanix_cluster_total_untransformed_usage_bytes{cluster="Admincafe"} -1.0
nutanix_cluster_write_io_bandwidth_kbps{cluster="Admincafe"} 104.0
nutanix_cluster_write_io_ppm{cluster="Admincafe"} 695081.0
nutanix_host_avg_io_latency_usecs{hostname="NTNX-739347ed-A"} 309.0
nutanix_host_avg_io_latency_usecs{hostname="NTNX-d5104c7d-A"} 153.0
nutanix_host_avg_io_latency_usecs{hostname="NTNX-ee409937-A"} 206.0

Hi

验证坚达尼克斯后我正面临一个问题显示401无授权

i传递url用户名和密码工作精良几小时后开始显示401

求求帮助

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.可选择要接受的cookie我们需要基本cookie使网站工作, 因此这是最小选择 更多了解cookie.Q/a>
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
函数+分析+社交媒体+嵌入视频
Baidu