aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-20Use a more secure command line building methodPeter Wu1-1/+1
Previously, a command is built by string concatenation. Here, the distinction between a value and multiple params got lost. Solve this by using an array for shell arguments. As the escaping is now removed from the `rrd_gen_graph` function, the canvas style needs to manually add those quotes to make the JS code still work. That only supports double-quotes, so hopefully nobody creates a name with a double quote as that would break the fragile JS command line parser. Separate the rrdtool options from the rrdtool graph command to make the `$graph_type == 'canvas'` option work (it would otherwise not understand the `rrdtool graph - -a PNG` option). Merge the SVG and PNG cases as they are the same except for the Content-Type header. Fix a missing html escape in a debug style.
2014-06-23Add LVM pluginVincent Brillault1-0/+15
2014-06-04plugin/tcpconns: fix missing port number in rrd titlePim van den Berg1-1/+1
Closes #78
2014-05-21plugin: fix typo in temperature typeNicolas Iooss2-2/+2
2014-05-18Add base on all df pluginsPoil3-3/+6
2014-05-18Add base option (1GB=1024Mo)Poil1-1/+2
2014-05-17plugin/libvirt: show (v)CPU time in millisecondsPim van den Berg1-4/+6
2014-05-14plugin/uptime: fix legend format (.1lf -> %.1lf)Pim van den Berg1-1/+1
Closes: #72
2014-05-14plugin/memory: add cachePim van den Berg1-0/+4
Closes: https://github.com/pommi/CGP/issues/71
2014-05-12plugin/processes: add wait, idlePim van den Berg1-0/+8
Closes: https://github.com/pommi/CGP/issues/69
2014-05-12graph.php: use JSON plugins instead of including PHP plugin filesPim van den Berg92-2784/+1957
A couple of big changes here. A lot of logic moved to graph.php. The PHP plugin files have been rewritten to JSON. In these JSON files *everything* is optional. Also *NOT* having a JSON plugin file won't block you from having a graph. The JSON will just make the graphs prettier (by having a title, y-axis title, legend, colors, etc..). The Collectd types.db file is parsed and used to determine RRD content. When things are not defined in the JSON it will fallback to a default.
2014-05-03rename ds_names and dsname to legendPim van den Berg40-129/+129
This had nothing to do with an RRD data source.
2014-05-03move collectd_flush function to base classPim van den Berg50-103/+0
2014-05-03type/Default: don't depend on external function GETPim van den Berg50-66/+66
2014-05-01plugin/memory: add osx/bsd ds_names to order, set color of active to ff00ffPim van den Berg1-2/+2
Closes: https://github.com/pommi/CGP/issues/67
2014-04-28plugin/memory: add support for osx/bsdPim van den Berg1-0/+8
Closes: https://github.com/pommi/CGP/issues/67
2014-04-15plugin/df: fix support for collectd 4Pim van den Berg1-0/+1
Support for collectd 4 was broken since commit: v0.4.1-52-g0c50eff [Plugin/df: Add support for inode graphs] Closes: https://github.com/pommi/CGP/issues/64
2014-04-08fix: return operator prevents us from seeing a graphyoung-druid1-1/+1
2014-03-23plugin/aggregation: cpu: allow 4 digitsThomas Harold1-1/+1
2014-03-23plugin: add aggregation pluginPim van den Berg1-0/+48
2014-03-23plugin: add ipmi pluginThomas Harold1-0/+45
2014-03-03Create dbi.phpbobonlog1-0/+18
2014-02-10Plugin/nut: Add support for power graphsVincent Brillault1-0/+7
2014-02-10Plugin/df: Add support for inode graphsVincent Brillault1-3/+12
2014-01-02Nginx plugin changed DS typesOlaf Conradi1-0/+15
See https://github.com/collectd/collectd/pull/227
2014-01-02Time left is in seconds (plugin apcupsd)Olaf Conradi1-1/+1
2013-12-29plugin/tail: collectd < 5 backwards compatibilityPim van den Berg1-0/+15
Closes: https://github.com/pommi/CGP/issues/36
2013-07-03plugin/ping: improve descriptionsPim van den Berg1-3/+2
2013-06-26plugin/snmp: add missing instantiation of Type_GenericIO classPim van den Berg1-1/+3
This bug was introduced in commit: v0.3-64-gb5f789c [plugin/snmp: add support for if_octets]
2013-06-16plugin/nut: collectd 5 compatibility for frequency graphPim van den Berg1-1/+5
2013-06-16plugin/openvpn: add datasize supportPim van den Berg1-1/+2
2013-06-16plugin/openvpn: fix traffic graphPim van den Berg1-0/+1
2013-06-16plugin: add openvpn pluginConrad Kostecki1-0/+42
Source: http://pastebin.com/5vNDuKaZ
2013-06-01Changed name of value to Temperaturekostecki1-1/+1
2013-06-01Thermal Plugin addedConrad Kostecki1-0/+26
2013-05-29plugin/nut: collectd 5 compatibility for timeleft graphManuel CISSÉ1-1/+5
2013-05-13move width/heigth from plugins to type __constructPim van den Berg45-96/+0
2013-04-26plugin/nut: collectd 5 compatibility + Add frequency graphManuel CISSÉ1-3/+15
2013-04-06plugin: Add MD pluginManuel CISSÉ1-0/+24
2013-02-09plugin: remove php close tagsPim van den Berg2-4/+0
2013-02-09plugin: add iptables/ip6tables plugincisse@yahoo.fr2-0/+64
Signed-off-by: Manuel CISSÉ <manuel_cisse@yahoo.fr>
2012-12-16plugin/mysql: add support for cache_result, cache_size, threads, total_threadsPim van den Berg1-0/+47
Requested-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
2012-12-16plugin/ntpd: collectd 5 compatibilityPim van den Berg1-4/+8
2012-09-07plugin: add powerdns pluginPim van den Berg1-0/+18
This is a very basic PowerDNS plugin.
2012-09-07add support for varnish plugin categoriesPim van den Berg1-14/+3
Since commit collectd-4.10.0-88-g02e12db the varnish plugin groups collected values in categories. The collectd filestructure used for varnish is now: <plugin>-<category>-<plugin_instance>/<type>-<type_instance> Because this isn't distinguishable from a regular plugin like df, ... df-var-tmp/df_complex-free.rrd ("var" isn't the category here) ... the category is only set with the varnish plugin. Reported-by: Jonathan Huot <jonathan.huot@gmail.com>
2012-09-05plugin/snmp: add support for if_octetsPim van den Berg1-4/+22
The types used in the SNMP plugin aren't user defined, but defined in types.db. Because of the assumption that they were user defined, the patch supplied by Neptune Ning wasn't accepted. His patch has now been merged with this commit. A little fallback has been added to catch types that aren't defined in our code yet. Reference: https://github.com/pommi/CGP/pull/1 Contributed-by: Neptune Ning (Plan) <frostyplanet@gmail.com>
2012-09-05apply datasize (bytes/bits) only to network related dataPim van den Berg14-51/+33
As discussed in https://github.com/pommi/CGP/pull/1.
2012-08-12plugin: add snmp pluginPim van den Berg1-0/+19
This is a very basic SNMP plugin.
2012-08-10plugin: convert spaces to tabsPim van den Berg4-148/+147
2012-08-10introduce config option datasize to show graphs in bits or bytesPim van den Berg14-27/+51
Config setting $CONFIG['datasize'] can be set to bits or bytes to show graph data in bits or bytes. Inspired-by: Neptune Ning (Plan) <frostyplanet@gmail.com>