Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobey/storj-collectd-plugin
A collectd exec plugin to monitor your Storj.io nodes
https://github.com/bobey/storj-collectd-plugin
Last synced: about 2 months ago
JSON representation
A collectd exec plugin to monitor your Storj.io nodes
- Host: GitHub
- URL: https://github.com/bobey/storj-collectd-plugin
- Owner: bobey
- License: mit
- Created: 2017-05-10T18:43:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T16:46:52.000Z (almost 7 years ago)
- Last Synced: 2023-12-27T08:07:34.358Z (12 months ago)
- Language: JavaScript
- Homepage: http://blog.overnetcity.com
- Size: 777 KB
- Stars: 12
- Watchers: 5
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Storj collectd plugin
This nodejs command is meant to be used with collectd exec plugin to monitor your [Storj.io](https://storj.io) nodes along with some
Grafana/influxdb like solution.![Grafana dashboard built with influxdb + collectd + storj-collectd-plugin](assets/storjio-monitor-collectd-plugin-grafana.png)
## Setup
Using yarn:
```
yarn global add storj-collectd-plugin
```Using npm:
```
npm install -g storj-collectd-plugin
```Then you need to add the following lines in your collectd config:
```
# /etc/collectd/collectd.confLoadPlugin exec
Exec "youruser" "collectd-storj-exec-plugin"
```
Finally, add the following lines in `/usr/share/collectd/types.db`:
```
peers value:GAUGE:0:U
shared value:GAUGE:0:U
restarts value:GAUGE:0:U
contracts value:GAUGE:0:U
delta value:GAUGE:0:U
percentused value:GAUGE:0:100
datareceived value:GAUGE:0:U
resptime value:GAUGE:0:U
reputation value:GAUGE:0:U
timeoutrate value:GAUGE:0:U
lastseen value:GAUGE:0:U
lasttimeout value:GAUGE:0:U
```