- Notifications
You must be signed in to change notification settings - Fork0
exporter for the scriptable widget that shows storj node data and earnings
License
bjoerrrn/storjScriptableWidgetExporter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a fork ofStorjWidgetExporter with minor modifications: it just adds trash disk space to the disk space calculation to show a more accurate space used.
StorjScriptableWidgetExporter starts a python Flask server which pulls information from storj node api fornode,satellite andpayout metrics and aggregates the data. The endpoint is returning the totalingress andegress over all nodes, theestimated daily earnings and thecurrent months earnings,total space used andtotal space available,total number of queried nodes andonline count of queried nodes.
The Exporter's endpoint will be available athttp://localhost:3123/bandwidth
Tested with storj node version1.84.1
- StorjWidget-Exporter can be installed as a docker container or run as a standalone script
- Make sure you have
-p 127.0.0.1:14002:14002in your storagenode container docker run command to allow local connections to your node's api
docker volume create --name snwidgetgit clone https://github.com/dusselmann/storjScriptableWidgetExportercd storjScriptableWidgetExporter/sudo docker build -t storjwidget .docker run -d --restart always --privileged -p 3123:3123 -e NODES_LIST=192.168.188.59:14002,myNodesIp.com:14002 -v storjWidgetVolume:/var/www/storjWidgetVolume --name snwidget storjwidgetWhen your storjWidget-Exporter is up, running and returning stats of your node(s) athttp://localhost:3123/bandwidth, you can continue and set up yourstorjScriptableWidget.
issues andpull requests are welcome. for major changes, please open anissue first to discuss what you would like to change.
if you want to contact me directly, feel free to do so via discord:https://discordapp.com/users/371404709262786561
About
exporter for the scriptable widget that shows storj node data and earnings
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Languages
- Python89.3%
- Dockerfile6.2%
- Shell4.5%
