collectd-unixsock.cr
collectd-unixsock
TODO
- PUTVAL
- GETVAL
- LISTVAL
- PUTNOTIF
- FLUSH
Installation
-
Add the dependency to your
shard.yml
:dependencies: collectd-unixsock: github: bit4bit/collectd-unixsock.cr
-
Run
shards install
Usage
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
Development
- See Contributing
- Start docker environment with make docker-setup
- Do changes and test with make test
- Do changes and test with make test-integration
Contributing
- 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
Contributors
- Jovany Leandro G.C - creator and maintainer
Repository
collectd-unixsock.cr
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 2 years ago
- October 21, 2021
License
MIT License
Links
Synced at
Wed, 06 Nov 2024 23:46:50 GMT
Languages