5V0-35.21 · Question #91
The data to be monitored with Telegraf Agent is not one of the out-of-the-box options for monitoring. Which option may be used for collecting data from this application?
The correct answer is B. Custom Script. Option B (Custom Script) is correct because Telegraf supports the exec input plugin, which allows you to run custom scripts (in any language) and parse their output as metrics - this is the standard way to extend Telegraf's monitoring capabilities beyond its built-in input…
Question
The data to be monitored with Telegraf Agent is not one of the out-of-the-box options for monitoring. Which option may be used for collecting data from this application?
Options
- AProxy Script
- BCustom Script
- CAdvanced Agent
- DCustom Agent
How the community answered
(38 responses)- A13% (5)
- B76% (29)
- C8% (3)
- D3% (1)
Explanation
Option B (Custom Script) is correct because Telegraf supports the exec input plugin, which allows you to run custom scripts (in any language) and parse their output as metrics - this is the standard way to extend Telegraf's monitoring capabilities beyond its built-in input plugins.
Why the distractors are wrong:
- A. Proxy Script - not a Telegraf concept; Telegraf doesn't use a "proxy script" mechanism for data collection.
- C. Advanced Agent - no such tier exists in Telegraf's architecture; agents aren't categorized as "advanced."
- D. Custom Agent - you don't deploy a separate custom agent; instead, you extend the existing Telegraf agent via scripts or plugins.
Memory tip: Think of Telegraf as a Swiss Army knife - when it lacks the right blade for a tool, you attach your own custom script via the exec plugin rather than replacing the whole knife (no custom agent needed).
Topics
Community Discussion
No community discussion yet for this question.