This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
Shell HTML Ruby
Clone or download
Pull request Compare This branch is 26 commits ahead, 52 commits behind cloudfoundry-community:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.final_builds
ci
config
jobs
packages
releases/collectd
src
templates
.gitignore
README.md
Rakefile

README.md

BOSH Release for collectd

A super basic release for collectd. This fork renables the write_riemann plugin which is not enabled in the original release

With basic config

properties:
  collectd:
    hostname_prefix: cf.collectd.warden.
    config: |
      LoadPlugin "df"
      LoadPlugin "disk"
      LoadPlugin "cpu"
      LoadPlugin "load"
      LoadPlugin "write_graphite"
      <Plugin "write_graphite">
        <Node "">
          EscapeCharacter "."
          Host "localhost"
          Port "2003"
        </Node>
      </Plugin>

You will end up with metrics that looks like

cf.collectd.warden.collectd_z1.0.cpu-1.cpu-steal 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-user 0.799932 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-nice 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-system 0.199982 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-idle 98.791028 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-wait 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-interrupt 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-softirq 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.cpu-2.cpu-steal 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.disk-sda1.disk_ops.read 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.disk-sda1.disk_ops.write 0.000000 1446825506
cf.collectd.warden.collectd_z1.0.disk-sda1.disk_time.read 0.000000 1446825506

Try in bosh light

To use this bosh release, do the normal bosh dance

bosh target 192.168.50.4 lite
git clone https://github.com/cloudfoundry-community/collectd-boshrelease.git
cd collectd-boshrelease
./templates/make_manifest warden
bosh create release --force ; bosh -n upload release ; bosh -n deploy

The default manifest emits cpu, disk, df and load data every 5 sec to graphite on localhost. If you wanna see this data simply

bosh ssh collectd_z1/0
nc -l -p 2003