Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

giraffi/collectd-giraffi-smartos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collectd for Joyent SmartOS featuring Giraffi metrics.

Setup

clone from repository

git clone https://github.com/giraffi/collectd-giraffi-smartos.git /opt/collectd-giraffi -b master --depth=0
cp -n /opt/collectd-giraffi/usr/lib/librabbitmq.so* /opt/local/lib/

modify config

cp /opt/collectd-giraffi/etc/collectd.conf.sample /opt/collectd-giraffi/etc/collectd.conf

Replace account informations.

  -- snip --
    Host "GIRAFFI_ENDPOINT"
    Port 5672
    VHost "/"
    User "GIRAFFI_USER_ID"
    Password "GIRAFFI_API_KEY"
    Exchange "collectd.json.topic"
    RoutingKey "collectd.GIRAFFI_USER_ID"
    Persistent false
    StoreRates false
    Format "JSON"
  -- snip --

add smf manifest

svccfg import /opt/collectd-giraffi/share/smf/colelctd-giraffi.xml 

Start/Stop

svcadm enable colelctd-giraffi
svcadm disable colelctd-giraffi

Releases

No releases published

Packages

No packages published