201-450 practice question 2 of 25

What mechanism does collectd use to gather monitoring information on systems?

Full set: 161 questions
Answer options
A: It uses a library of plugins. Correct answer
B: A master server connects to a collectd service on each machine to retrieve the information.
C: It collects its own information on each server and sends that to a master server.
D: It makes SNMP queries to the clients being monitored.
Correct Answer:
A. It uses a library of plugins.
Explanation

collectd is a daemon designed for performance monitoring. Its core functionality is built upon a modular, plugin-based architecture. The main daemon does very little on its own; instead, it loads various plugins to gather specific metrics (e.g., CPU usage, memory, network traffic) and other plugins to write or dispatch this data to storage systems or other hosts. This makes it highly extensible and efficient.

Why Incorrect

B. This describes a pull-based model. While possible, collectd's primary data gathering is done locally via plugins, not initiated by a master.
C. This describes the data flow but omits the core mechanism. The way it "collects its own information" is through plugins.
D. collectd can use an SNMP plugin to query other devices, but this is just one of many plugins and not its fundamental operating mechanism.

References

1. collectd(1) Linux man page. "collectd is a daemon which collects system performance statistics periodically... Its modular design is orientation on simplicity and makes it extendable, and portable."

2. collectd.conf(5) Linux man page. "The main daemon is written in C and its functionality is kept small. The actual work is done by plugins."

3. Official collectd Wiki. "First Steps" page. "collectd is very modular and is built around the concept of plugins. Plugins are used to add support for a certain application or technology to collectd." (collectd.org/wiki/index.php/Firststeps)

Scroll to Top