puppetagent

package
v1.36.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 8 Imported by: 203 modules, 188 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Puppet Agent Input Plugin

This plugin gathers metrics of a Puppet agent by parsing variables from the local last-run-summary file.

⭐ Telegraf v0.2.0 🏷️ system 💻 all

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# 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 measurements

Meta:

  • units: int64
  • tags: ``

Measurement names:

  • 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 measurements

Meta:

  • units: float64
  • tags: ``

Measurement names:

  • 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 measurements

Meta:

  • units: string
  • tags: ``

Measurement names:

  • puppetagent_version_puppet

Example Output

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PuppetAgent

type PuppetAgent struct {
	Location string `toml:"location"`
}

func (*PuppetAgent) Gather

func (pa *PuppetAgent) Gather(acc telegraf.Accumulator) error

func (*PuppetAgent) SampleConfig

func (*PuppetAgent) SampleConfig() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL