文档文档

Puppet Agent 输入插件

此插件通过解析本地 last-run-summary 文件中的变量来收集 Puppet agent 的指标。

引入于: Telegraf v0.2.0 标签: system 操作系统支持: all

全局配置选项

插件支持其他全局和插件配置设置,用于修改指标、标签和字段,创建别名以及配置插件顺序等任务。更多详情请参阅 CONFIGURATION.md

配置

# Reads last_run_summary.yaml file and converts to measurements
[[inputs.puppetagent]]
  ## Location of puppet last run summary file
  location = "/var/lib/puppet/state/last_run_summary.yaml"

Metrics

PuppetAgent int64 测量值

Meta

  • 单位:int64
  • 标签: ``

测量名称

  • puppetagent_changes_total
  • puppetagent_events_failure
  • puppetagent_events_total
  • puppetagent_events_success
  • puppetagent_resources_changed
  • puppetagent_resources_corrective_change
  • puppetagent_resources_failed
  • puppetagent_resources_failedtorestart
  • puppetagent_resources_outofsync
  • puppetagent_resources_restarted
  • puppetagent_resources_scheduled
  • puppetagent_resources_skipped
  • puppetagent_resources_total
  • puppetagent_time_service
  • puppetagent_time_lastrun
  • puppetagent_version_config

PuppetAgent float64 测量值

Meta

  • 单位:float64
  • 标签: ``

测量名称

  • puppetagent_time_anchor
  • puppetagent_time_catalogapplication
  • puppetagent_time_configretrieval
  • puppetagent_time_convertcatalog
  • puppetagent_time_cron
  • puppetagent_time_exec
  • puppetagent_time_factgeneration
  • puppetagent_time_file
  • puppetagent_time_filebucket
  • puppetagent_time_group
  • puppetagent_time_lastrun
  • puppetagent_time_noderetrieval
  • puppetagent_time_notify
  • puppetagent_time_package
  • puppetagent_time_pluginsync
  • puppetagent_time_schedule
  • puppetagent_time_sshauthorizedkey
  • puppetagent_time_total
  • puppetagent_time_transactionevaluation
  • puppetagent_time_user
  • puppetagent_version_config

PuppetAgent string 测量值

Meta

  • 单位:string
  • 标签: ``

测量名称

  • puppetagent_version_puppet

示例输出

puppetagent,location=last_run_summary.yaml changes_total=0i,events_failure=0i,events_noop=0i,events_success=0i,events_total=0i,resources_changed=0i,resources_correctivechange=0i,resources_failed=0i,resources_failedtorestart=0i,resources_outofsync=0i,resources_restarted=0i,resources_scheduled=0i,resources_skipped=0i,resources_total=109i,time_anchor=0.000555,time_catalogapplication=0.010555,time_configretrieval=4.75567007064819,time_convertcatalog=1.3,time_cron=0.000584,time_exec=0.508123,time_factgeneration=0.34,time_file=0.441472,time_filebucket=0.000353,time_group=0,time_lastrun=1444936531i,time_noderetrieval=1.235,time_notify=0.00035,time_package=1.325788,time_pluginsync=0.325788,time_schedule=0.001123,time_service=1.807795,time_sshauthorizedkey=0.000764,time_total=8.85354707064819,time_transactionevaluation=4.69765,time_user=0.004331,version_configstring="environment:d6018ce",version_puppet="3.7.5" 1747757240432097335

此页面是否有帮助?

感谢您的反馈!


InfluxDB 3.8 新特性

InfluxDB 3.8 和 InfluxDB 3 Explorer 1.6 的主要增强功能。

查看博客文章

InfluxDB 3.8 现已适用于 Core 和 Enterprise 版本,同时发布了 InfluxDB 3 Explorer UI 的 1.6 版本。本次发布着重于操作成熟度,以及如何更轻松地部署、管理和可靠地运行 InfluxDB。

更多信息,请查看

InfluxDB Docker 的 latest 标签将指向 InfluxDB 3 Core

在 **2026 年 2 月 3 日**,InfluxDB Docker 镜像的 latest 标签将指向 InfluxDB 3 Core。为避免意外升级,请在您的 Docker 部署中使用特定的版本标签。

如果使用 Docker 来安装和运行 InfluxDB,latest 标签将指向 InfluxDB 3 Core。为避免意外升级,请在您的 Docker 部署中使用特定的版本标签。例如,如果使用 Docker 运行 InfluxDB v2,请将 latest 版本标签替换为 Docker pull 命令中的特定版本标签 — 例如

docker pull influxdb:2