Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rtradeltd/cafe-mgmt

go-textile cafe management tools
https://github.com/rtradeltd/cafe-mgmt

go-textile ipfs libp2p monitoring sysadmin textile textileio zabbix

Last synced: 24 days ago
JSON representation

go-textile cafe management tools

Awesome Lists containing this project

README

        

# cafe-mgmt

Tooling to management and monitor textile cafes in production

# Contents

This repository is broken into a few different directories, namely scripts and configs. In the future automatic tooling will be included in appropriately named directories

## Configs (systemd)

`textile.service` is a basic systemd service to start a textile node

`textile_watcher.service` is a basic systemd service to restart a textile node whenever it goes offline

* Starts after `textile.service`
* Whenever shutting down a textile node, the recommended way is to do `sudo systemctl stop textile_watcher && sudo systemctl stop textile`

## Configs (zabbix)

`textile_template.xml` is a zabbix template and does the following:

* Retrieves peer count
* Retrieves daemon status (trigger fires when daemon is offline)
* Retrieves thread count

`userparameter_textile.conf` is a zabbix agent.d config file

## Scripts

`textile_install.sh` is a script used to install a textile cafe

* Installs zabbix
* Installs `go-textile` and initializes a cafe

`textile_management.sh` is used to manage a textile node

* start daemon
* set display name
* set avatar image
* add/delete contacts
* create thread invites
* create/delete client token
* get profile

`textile_monitor.sh` is a monitoring script for use with zabbix

* Retrieve peer count
* Retrieve daemon status
* Retrieve thread count

`textile_watcher.sh` is a script used to restart a textile node whenever it goes offline