Difference between revisions of "Plugin:Table"

From collectd Wiki
Jump to: navigation, search
(Use the Version template.)
(Use the "Manpage" template.)
Line 7: Line 7:
 
   | Copyright=''2009'' Sebastian Harl
 
   | Copyright=''2009'' Sebastian Harl
 
   | License={{GPLv2}}
 
   | License={{GPLv2}}
   | Manpage=[http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_table collectd.conf(5)]
+
   | Manpage={{Manpage|collectd.conf|5|plugin_table}}
 
}}
 
}}
 
The '''Table plugin''' parses table-like structured plain text files. This allows to parse many files found under <code>/proc</code> on Linux systems.
 
The '''Table plugin''' parses table-like structured plain text files. This allows to parse many files found under <code>/proc</code> on Linux systems.

Revision as of 08:50, 18 September 2009

Table plugin
Type: read
Callbacks: config, init, read, shutdown
Status: supported
First version: 4.7
Copyright: 2009 Sebastian Harl
License: GPLv2
Manpage: collectd.conf(5)
List of Plugins

The Table plugin parses table-like structured plain text files. This allows to parse many files found under /proc on Linux systems.

Synopsis

<Plugin "table">
  <Table "/proc/slabinfo">
    Instance "slabinfo"
    Separator " "
    <Result>
      Type gauge
      InstancePrefix "active_objs"
      InstancesFrom 0
      ValuesFrom 1
    </Result>
    <Result>
      Type gauge
      InstancePrefix "objperslab"
      InstancesFrom 0
      ValuesFrom 4
    </Result>
  </Table>
</Plugin>

Example graph

Plugin-table.png

Dependencies

  • none