Frequently asked questions regarding VMware Telegraf agents
search cancel

Frequently asked questions regarding VMware Telegraf agents

book

Article ID: 426546

calendar_today

Updated On:

Products

VCF Operations VCF Operations/Automation (formerly VMware Aria Suite) VMware vSphere ESXi

Issue/Introduction

This article provides answers to frequently asked questions regarding the deployment, monitoring capabilities, and security hardening of VMware Telegraf agents within VCF Operations (Aria Operations).

Environment

  • VMware Aria Operations 8.18.x and later
  • VCF Operations 9.x
  • Product-Managed Telegraf

Resolution

Frequently Asked Questions

 

What metrics does the Telegraf agent monitor out of the box?

  • When the Telegraf agent is installed and either the Windows OS or Linux OS object is detected, the agent monitors OS-level performance metrics by default. Unlike standard vSphere virtual machine (VM) metrics (observed from the outside by the hypervisor), these metrics are observed from inside the guest operating system (OS).
  • The default monitored metrics include:
    • CPU: Usage breakdown (User, System, Idle, Wait) and context switches.
    • Memory: Active, available, buffered, cached, free, used, and paging/swap statistics.
    • Disk/Filesystem:
      • Usage: Used space (GB), free space (GB), and usage percentage (%) per mount point/drive (e.g., C:, /, /boot).
      • I/O: Read/write bytes and IOPS.
    • Network: Bytes sent/received, packets sent/received, errors, and drops per interface.
    • Agent Health: Status of the Telegraf service itself (Up/Down).
  • Note: Specific applications (e.g., SQL, IIS, Apache) or individual processes/services are not monitored out of the box. These require enabling a specific "Service" configuration or "Process Monitor" within the agent settings. For more information, see OS and Application Monitoring.

 

Where to view the monitored data in the user interface

  1. Navigate to Inventory > vSphere Host and Cluster.
  2. Expand the hierarchy or search for the VM name.
  3. Locate the child object named Windows OS or Linux OS (which is distinct from the "Virtual Machine" object).
  4. Select the OS object and click the Metrics tab. This view displays every data point currently collected by the agent. For details, see OS and Application Monitoring.

 

Locating alert definitions for Telegraf agents

Alert definitions for these agents are distinct from standard vSphere alerts because they target the TelegrafAdapter object types.

  1. Navigate to Operations > Configure > Alerts > Alert Definitions.
  2. Click the Filter icon.
  3. Set Adapter Type to TelegrafAdapter (or Application Monitoring depending on the product version).
  4. (Optional) Set Object Type to Windows OS or Linux OS. For details, see Alert Definitions in VMware Aria Operations.

 

Out-of-the-box alerts

Common out-of-the-box alert definitions include:

  1. Telegraf Agent is Down: Triggers if the agent stops sending heartbeats.
  2. Filesystem Usage High: Triggers if a specific Guest OS partition exceeds usage thresholds (e.g., >90%). This is more accurate than vSphere-level "Guest File System" alerts because it sees all mount points directly.
  3. High CPU Usage (OS Level): Triggers based on internal OS counters rather than hypervisor demand.

 

Best practices for securing the VMware Telegraf agent

  1. Restrict configuration file permissions to the local service account (arc-telegraf on Linux or SYSTEM on Windows).
  2. Use local firewalls to restrict outbound traffic so the VM can only reach designated Cloud Proxy IP addresses.
  3. Disable any unused input plugins to minimize the agent's footprint.
  4. Use local environment variables rather than plain-text strings for any sensitive plugin configurations.

Internet connectivity requirements during updates

The agents do not connect to the public internet. All updates and patches are pushed centrally from VCF Operations via the Cloud Proxy using the existing management channel.

 

Securing access to the Telegraf agent

The agent uses a push-based communication model, meaning it initiates all communication outbound. There is no need to open inbound listening ports on endpoint VMs. Deployment occurs over HTTPS Port 443 via VMware Tools (VIX). The agent pushes telemetry data to the Cloud Proxy over HTTPS Port 443 (or 8443) and management ports 4505 and 4506.

Additional Information

OS and Application Monitoring

Alert Definitions in VMware Aria Operations.

Aria Operations Port Information