- PUTVAL
- GETVAL
- LISTVAL
- PUTNOTIF
- FLUSH
-
Add the dependency to your
shard.yml:dependencies: collectd-unixsock: github: bit4bit/collectd-unixsock.cr
-
Run
shards install
require "collectd-unixsock"
collectd = Collectd::Unixsock.open(socket_path)
status, message = collectd.putval("testval/cpu-0/cpu-idle",
[Collectd::Unixsock::ValueListOption::CurrentTime, 2323])
collectd.close()TODO: Write usage instructions here
- See Contributing
- Start docker environment with make docker-setup
- Do changes and test with make test
- Do changes and test with make test-integration
- Fork it (https://github.com/bit4bit/collectd-unixsock/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
- Jovany Leandro G.C - creator and maintainer