# README
mono-go
mono-go is a collection of tools that were previously written in Bash in the mono.sh repository. These tools are written in Go and provide a more efficient and faster alternative to the Bash scripts. The tools are cross-platform.Table of Contents
Tools
-
osHealth
- Checks OS health, including Disk, CPU and Memory usage.
- Sends alarm notifications to a Slack webhook.
- Opens issue in Redmine if disks are above the threshold.
- Config:
/etc/mono.sh/os.yaml
-
redmine
- Allows you to create, update and close issues in Redmine.
- Has a service system that keeps track of the issue ID.
- Config:
/etc/mono.sh/global.yaml
Usage
-
Configure by editing the config files in
/etc/mono/
. You can default values in theconfig
folder. Please keep in mind that to use any of the tools, you need to also configure/etc/mono.sh/global.yaml
file. -
Run the desired tool using the following command as root:
mono-go NAME
Replace NAME with the name of the tool you want to run (e.g. osHealth
).
A log file will be put on /var/log/mono-go.log
if you want to check the errors. They will also be printed to stdout.
Building
To build mono-go:
./build.sh
The resulting binaries will be in the bin
folder.
License
mono-go is licensed under GPL-3.0-only. See LICENSE file for details.