From collectd Wiki
Revision as of 17:02, 11 March 2016 by Rubenk (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Interface plugin
Type: read
Callbacks: config, init, read
Status: supported
First version: 1.0
Copyright: 2005–2008 Florian octo Forster
2009 Manuel Sanmartin
License: GPLv2
Manpage: collectd.conf(5)
List of Plugins


The Interface plugin collects information about the traffic (octets per second), packets per second and errors of interfaces (of course number of errors during one second). If you're not interested in all interfaces but want to exclude some, or only collect information of some selected interfaces, you can select the “interesting” interfaces using the plugin's configuration.


<Plugin "interface">
  Interface "lo"
  Interface "sit0"
  IgnoreSelected true

Example graphs

Plugin-traffic.png Plugin-traffic-if packets.png Plugin-traffic-if errors.png


  • Linux
    • /proc-file system
  • Solaris
    • kstat_read(3KSTAT)
  • Mac OS X / Dawin, possibly others
    • getifaddrs
  • AIX
    • libperfstat(3)
  • FreeBSD
    • none
  • Other

See also