10

[交流] Linux 服务器,大家使用什么方案监控性能和资源?

 2 years ago
source link: https://www.v2ex.com/t/882037
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Linux

[交流] Linux 服务器,大家使用什么方案监控性能和资源?

  fox0001 · 1 小时 26 分钟前 via Android · 567 次点击

公司生产机,购买阿里云 ECS ,系统 Debian 。由于阿里云的云监控要付费,计划自己搞个监控性能和资源的情况。

目前先使用 dstat 收集一下数据。后面可能考虑 njmon 。

找到的相关方案如下:

1. dstat

占用资源小,监控数据可配置,监控数据可保存 CSV 。但是数据需要自己生成图表(目前使用 Excel ),就是查看不方便。

2. nmon / njmon

占用资源小,监控数据基本无配置,nmon 可保存 CSV ,njmon 可保存 json 。官方提供工具生成图表。njmon 更高级,可搭配 InfluxDB 和 Grafana ,实现更好的数据展示。

3. glances

占用资源较大,可持久化监控数据,界面漂亮,部署方式多样(单机版、C/S 、Web )。未深入研究。

4. netdata

占用资源较大,可持久化监控数据,界面漂亮。比较奇怪的是,界面有比较多的地方提示登录 netdata cloud 。未深入研究。

大家有无其它方案或建议?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK