【Windows 10】Prometheus监控平台安装以及配置windows Exporter探针
来源:http://www.tudoupe.com时间:2022-04-13
Prometheus
简介
普罗米修斯是一种开放的监测解决方案,使利用者能够简单地安装、使用和种植普罗米修斯。
在普罗米修斯的建筑中Prometheus服务器不直接监测单个目标。其主要职能是收集数据。提供储存和外部数据搜索援助。因此,为了监测任何情况,如果主机的 CPU 被使用,我们必须使用出口者。Prometheus周期性地从出口商可访问的HTTP服务URL(通常/计量)获取监测抽样数据。
出口者是一个相当广泛的概念,可以是一个独立于或直接纳入监督目标的独立进程,足以向普罗米修斯提供统一的样本数据监测格式。
请插入:Prometheus中文文档作为更完整的文档。
安装普罗米修斯下载装置
下载的 URL : https://prometheus.orgio/ download/
下载完成后,压缩的包件会减压, 舞会会直接发射。
去普罗米修斯
Prometheus 默认端口为 9090。 在您的浏览器中键入: localhost: 9090 是可到达的 。
换句话说,换句话说,在马雷修斯,修改山药的默认端口。
Windows Exporter
下载安装
普罗米修斯社区Windows Exporter。官方网站是https://github.com/prometheus-community/windows_exporter,现版为V0. Eighteen,于2022年2月5日公布。
Windows 导出器是 Windows 机器指标的收藏器,它支持更多版本的 Windows Server 2008R2 或 Windows 7 或以上版本。
在出版时,Windows Exporter以 * 和 *.Msi 两种格式提供文件。
MSI(微软安装器)是一个Windows软件包管理器,与Linux的Rpm类似。
Windows Exporter 造成 Windows 防火墙异常, 安装 Windows_ exporter 服务. msi 安装应用程序 。
当我们使用它时,我们可以用我们喜欢的格式安装它。
com/prometheus-community/windows_exporter/releases 。
下载完成后,管理员直接启动窗口_exporter-0.Eighteen.1-amd64文件已足够。
转到 Windows Exporter 。
Windows_exporter 的默认端口为9182, 可以输入本地主机: 9182 进入您的浏览器 。
采集的指标
这是 Windows Exporter 所支持的指标列表, 其中一些在启动后自动打开, 另一些则必须手动打开 。
https://github.com/prometheus-community/windows_exporter
| 名称 | 说明 | 是否默认开启 |
|---|---|---|
| ad | Active Directory Domain Services | × |
| adcs | Active Directory Certificate Services | × |
| adfs | Active Directory Federation Services | × |
| cache | Cache metrics | × |
| cpu | CPU usage | ✓ |
| cpu_info | CPU Information | × |
| cs | “Computer System” metrics(system properties, num cpu / total memory) | ✓ |
| container | Container metrics | × |
| dfsr | DFSR metrics | × |
| dhcp | DHCP Server | × |
| dns | DNS Server | × |
| exchange | Exchange metrics | × |
| hyperv | Hyper-V hosts | × |
| iis | IIS sites and applications | × |
| logical_disk | Logical disks, disk I/O | ✓ |
| logon | User logon sessions | × |
| memory | Memory usage metrics | × |
| msmq | MSMQ queues | × |
| mssql | SQL Server Performance Objects metrics | × |
| netframework_clrexceptions | .NET Framework CLR Exceptions | × |
| netframework_clrinterop | .NET Framework Interop Metrics | × |
| netframework_clrjit | .NET Framework JIT metrics | × |
| netframework_clrloading | .NET Framework CLR Loading metrics | × |
| netframework_clrlocksandthreads | .NET Framework locks and metrics threads | × |
| netframework_clrmemory | .NET Framework Memory metrics | × |
| netframework_clrremoting | .NET Framework Remoting metrics | × |
| netframework_clrsecurity | .NET Framework Security Check metrics | × |
| net | Network interface I/O | ✓ |
| os | OS metrics (memory, processes, users) | ✓ |
| process | Per-process metrics | × |
| remote_fx | RemoteFX protocol (RDP) metrics | × |
| service | Service state metrics | ✓ |
| smtp | IIS SMTP Server | × |
| system | System calls | ✓ |
| tcp | TCP connections | × |
| time | Windows Time Service | × |
| thermalzone | Thermal information | × |
| terminal_services | Terminal services (RDS) | × |
| textfile | Read prometheus metrics from a text file | ✓ |
| vmware | Performance counters installed by the Vmware Guest agent | × |
使用配置文件
Windows 导出器允许您使用 -- config.File 参数指定 YAML 格式的文件作为配置文件启动。比如: 我不知道你在说什么, 但我不知道你在说什么, 但我不知道你在说什么, 但我不知道你在说什么,
此配置允许您配置要收集的内容、 日志等等 。
Prometheus 配置配置导出器
普罗米修斯的公开简介:
在mametheus.yaml档案中,增加以下内容:

重新开始矿泉 看到先前配置的出口商。
更多了解出口商。
出口商的介绍可见于这一极为广泛的职位上。
https://xie.infoq.cn/article/230d2f31f102259dfe821519f
相关新闻
- 2022-08-04 WPF的由来
- 2022-08-04 Win11勒索软件防护怎么打开?Win11安
- 2022-08-04 Windows系统jdk的配置
- 2022-08-04 Windows10 OneNote怎么重新登录?如何重
- 2022-08-04 超好用的 Windows 效率工具推荐
- 2022-08-04 Windows如何在CMD或PowerShell中配置代理
- 2022-08-04 powershell和cmd对比
- 2022-08-04 【QT】Windows下QT下载安装
- 2022-08-04 windows下 C++ 实现类属性的get和set方
- 2022-08-04 Win11快速助手在哪里?Win11打开快速
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
