Difference between revisions of "Plugin:Table"

From collectd Wiki
Jump to: navigation, search
(Synopsis: Section added.)
(Synopsis: Apparently <Table /> is interpreted by MediaWiki.)
Line 14: Line 14:
 
== Synopsis ==
 
== Synopsis ==
  
  <Plugin table>
+
  <Plugin "table">
   <Table "/proc/slabinfo">
+
   &lt;Table "/proc/slabinfo"&gt;
 
     Instance "slabinfo"
 
     Instance "slabinfo"
 
     Separator " "
 
     Separator " "
Line 30: Line 30:
 
       ValuesFrom 4
 
       ValuesFrom 4
 
     </Result>
 
     </Result>
   </Table>
+
   &lt;/Table&gt;
 
  </Plugin>
 
  </Plugin>
  

Revision as of 10:36, 12 July 2009

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

Description

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

None yet. Add one now!

Dependencies

  • none