Difference between revisions of "Plugin:Interface"

From collectd Wiki
Jump to: navigation, search
(Created initial page.)
 
(Description)
Line 2: Line 2:
  
 
The <em>Interface</em> plugin collects information about the traffic (octets), packets and errors of interfaces. 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.
 
The <em>Interface</em> plugin collects information about the traffic (octets), packets and errors of interfaces. 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.
 +
 +
This plugin also is necessary for seeing collectd's debug information on syslog.
  
 
= Synopsis =
 
= Synopsis =

Revision as of 21:18, 3 March 2009

Description

The Interface plugin collects information about the traffic (octets), packets and errors of interfaces. 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.

This plugin also is necessary for seeing collectd's debug information on syslog.

Synopsis

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

Example graphs

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

Dependencies

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