Difference between revisions of "Plugin:capabilities"

From collectd Wiki
Jump to: navigation, search
(Created page with "{{Infobox Plugin | Name=Capabilities | Type=read | Callbacks={{Callback|init}}, {{Callback|config}}, {{Callback|shutdown}} | Status={{supported}} | FirstVersion={{Ve...")
 
m (Update capabilities page with info on accessing the stats)
Line 25: Line 25:
 
* [http://www.digip.org/jansson/ libjansson]  
 
* [http://www.digip.org/jansson/ libjansson]  
 
* libmicrohttpd
 
* libmicrohttpd
 +
 +
== Caveats ==
 +
 +
=== Accessing the stats ===
 +
The capabilities plugin doesn't operate like a regular read plugin. Since it exposes static information, there is no need to constantly sent the information to collectd. The information is exposed through a webserver and available by cURLing the Host:Port from the configuration.
 +
 +
    curl localhost:9104
  
 
== See also ==
 
== See also ==
  
*  
+
* {{Plugin|capabilities/tests}}
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
{{DEFAULTSORT:Capabilities}}
 
{{DEFAULTSORT:Capabilities}}

Revision as of 14:22, 13 March 2020

Capabilities plugin
Type: read
Callbacks: init, config, shutdown
Status: supported
First version: 5.11
Copyright: 2019 Intel Corporation
Kamil Wiatrowski
License: MIT license
Manpage: collectd.conf(5)
List of Plugins

The capabilities plugin collects platform capabilities decoded from hardware subsystems, for example from SMBIOS using dmidecode. The static platform data is exposed through a micro embedded webserver and returned by the plugin in json format.

Synopsis

<Plugin capabilities>
  Host "localhost"
  Port "9104"
</Plugin>

Example graph

None yet. Add one now!

Dependencies

Caveats

Accessing the stats

The capabilities plugin doesn't operate like a regular read plugin. Since it exposes static information, there is no need to constantly sent the information to collectd. The information is exposed through a webserver and available by cURLing the Host:Port from the configuration.

   curl localhost:9104

See also