Difference between revisions of "Plugin:Interface"

From collectd Wiki
Jump to: navigation, search
(See also: Add SSC Serv.)
Line 37: Line 37:
** ''libperfstat(3)''
** ''libperfstat(3)''
* FreeBSD
** none
* Other
* Other
** [http://www.i-scream.org/libstatgrab/ libstatgrab]
** [http://www.i-scream.org/libstatgrab/ libstatgrab]

Latest revision as of 16:02, 11 March 2016

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