• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

SpamAssassin/H20-Jul-2020-225107

aix/H20-Jul-2020-156114

collection3/H20-Jul-2020-4,9653,693

curl_jolokia/H03-Sep-2020-758585

curl_json/H20-Jul-2020-2826

docker/H20-Jul-2020-14789

examples/H20-Jul-2020-398191

iptables/H20-Jul-2020-3015

oracle/H20-Jul-2020-321266

php-collection/H03-May-2022-3,6363,128

postgresql/H20-Jul-2020-235148

python/H20-Jul-2020-225

redhat/H31-Aug-2020-3,4002,872

sles10.1/H20-Jul-2020-308234

solaris-smf/H20-Jul-2020-432330

99-storage-collectd.rulesH A D31-Aug-2020647 1611

GenericJMX.confH A D20-Jul-20206.5 KiB246142

READMEH A D20-Jul-20204.8 KiB11999

add_rra.shH A D20-Jul-20201.1 KiB6856

collectd2html.plH A D20-Jul-20205.9 KiB259161

collectd_network.pyH A D20-Jul-20209.4 KiB338249

collectd_unix_sock.rbH A D20-Jul-20203.6 KiB13649

collectd_unixsock.pyH A D20-Jul-20207.9 KiB244174

collection.cgiH A D03-May-2022103 KiB3,5163,169

collection.confH A D03-May-202269 42

cussh.plH A D20-Jul-20209 KiB513313

exec-ksm.shH A D20-Jul-20201.9 KiB5422

exec-munin.confH A D20-Jul-202098 74

exec-munin.pxH A D20-Jul-20206.2 KiB273140

exec-nagios.confH A D20-Jul-2020266 1610

exec-nagios.pxH A D20-Jul-202011.1 KiB530339

exec-smartctlH A D20-Jul-20201.7 KiB4723

format.shH A D20-Jul-2020522 2213

migrate-3-4.pxH A D20-Jul-202011.5 KiB388271

migrate-4-5.pxH A D20-Jul-20206.8 KiB254202

network-proxy.pyH A D20-Jul-20201.6 KiB4721

rrd_filter.pxH A D20-Jul-202018.1 KiB875636

snmp-data.confH A D20-Jul-202012.5 KiB525460

snmp-probe-host.pxH A D20-Jul-20209.1 KiB440279

systemd.collectd.serviceH A D20-Jul-20201.3 KiB4236

upstart.collectd.confH A D20-Jul-20201.9 KiB5212

wiki2changelog.plH A D20-Jul-20201.2 KiB7647

README

1The files in this directory may be used to perform common tasks that aren't
2exactly `collectd's job. They may or may not require in-depth knowledge of RRD
3files and/or `collectd's inner workings. Use at your own risk.
4
5add_rra.sh
6----------
7  Before version 3.9.0 collectd used to create a different set of RRAs. The
8most detailed of these old RRAs had a one minute resolution. This script can
9be used to add three more RRAs: minimum, maximum and average with a ten second
10resolution and 2200 rows (~6 hours). This will make hourly statistics much more
11interesting. Please note that no sanity- checking whatsoever is performed. You
12can seriously fuck up your RRD files if you don't know what you're doing.
13
14collectd-network.py
15-------------------
16  This Python module by Adrian Perez implements the collectd network protocol
17in pure Python. It currently supports to receive data and notifications from
18collectd.
19
20collectd.service
21----------------
22  Service file for systemd. Please ship this file as
23  /lib/systemd/system/collectd.service in any linux package of collectd.
24
25collectd-unixsock.py
26--------------------
27  This Python module by Clay Loveless provides an interface to collect's
28unixsock plugin.
29
30collectd2html.pl
31----------------
32  This script by Vincent Stehlé will search for RRD files in
33`/var/lib/collectd/' and generate an HTML file and a directory containing
34several PNG files which are graphs of the RRD files found.
35
36collection.cgi
37--------------
38  Sample CGI script that creates graphs on the fly. The Perl modules `RRDs'
39(Debian package `librrds-perl'), `URI:Escape' (package liburi-perl),
40`HTML::Entities' (package libhtml-parser-perl) and a CGI capable web server
41(e.g. apache2 or boa) are needed. Simply install the script to a place where
42the webserver will treat it as a CGI script (/usr/lib/cgi-bin/ by default) and
43visit that page in a browser (http://localhost/cgi-bin/collection.cgi by
44default). Please refer to your webserver's documentation for more details.
45
46  Starting with version 4, collection.cgi requires a small config file, which
47should look something like this:
48
49  datadir: "/var/lib/collectd/rrd/"
50  libdir: "/usr/lib/collectd/"
51
52docker/
53-------
54Sample docker setup using an LD_PRELOAD wrapper to redirect system calls
55accessing /proc and /sys to prefixed bind-mounts inside the container.
56
57Drop your collectd configuration snippets in the
58contrib/docker/collectd.conf.d/ directory, and build an image including them:
59 $ docker build -t my_collectd ./contrib/docker/
60
61Then run it with the required bind-mounts:
62 $ docker run -it --rm \
63    -v /proc:/rootfs/proc:ro -v /sys:/rootfs/sys:ro \
64    --name collectd my_collectd
65 $ docker exec -it collectd collectdctl listval
66
67exec-munin.px
68-------------
69  Script to be used with the exec-plugin (see collectd-exec(5) for details)
70which executes munin plugins, parses the output and translates it to a format
71the exec-plugin understands. The features are limited - changing the munin
72plugins to use the output format understood by the exec-plugin is recommended.
73See the embedded POD documentation for more details:
74 $ perldoc contrib/exec-munin.px
75
76exec-smartctl
77-------------
78  Sample script for the exec plugin. Please refer to the documentation in the
79file - you will have to adapt it to your needs anyway.
80
81extractDS.px
82------------
83  Creates a new RRD-file with only one data-source (DS) of the source-RRD-
84file. That is very handy when you realise that you have bundled up DSes in one
85RRD-file that should have been in multiple RRD-files instead. Is is used by
86`migrate-3-4.px' to split up the cpu-, nfs-, swap-files and possibly others.
87
88GenericJMX.conf
89---------------
90  Example configuration file for the ‘GenericJMX’ Java plugin. Please read the
91documentation at the beginning of the file for more details.
92
93migrate-3-4.px
94--------------
95  Migration-script to ease the switch from version 3 to version 4. Many
96RRD-files are expected in a different place, some have been changed (DSes have
97been renamed) and others have bee split up into multiple files. This script
98prints a bash-script to STDOUT which should do most of the work for you. You
99may still need to do some things by hand, read `README.migration' for more
100details.
101
102redhat/
103-------
104  Spec-file and affiliated files to build an RedHat RPM package of collectd.
105
106snmp-data.conf
107--------------
108  Sample configuration for the SNMP plugin. This config includes a few standard
109<Data ..> definitions that you can include in your own config using the
110`Include' statement (available since version 4.2.0). The config includes some
111data that is defined in the IF-MIB, e. g. octet or packet counters, UPS-MIB and
112whatever people have send in. If you have some more definitions please send
113them in, so others can profit from it.
114
115solaris-smf
116-----------
117  Manifest file for the Solaris SMF system and detailed information on how to
118register collectd as a service with this system.
119