Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agalue/graphite-sender
A simple Go app to send random numbers via Graphite to OpenNMS
https://github.com/agalue/graphite-sender
docker golang grafana graphite opennms
Last synced: 25 days ago
JSON representation
A simple Go app to send random numbers via Graphite to OpenNMS
- Host: GitHub
- URL: https://github.com/agalue/graphite-sender
- Owner: agalue
- Created: 2020-07-10T14:54:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T19:13:43.000Z (almost 4 years ago)
- Last Synced: 2024-04-17T06:40:24.940Z (7 months ago)
- Topics: docker, golang, grafana, graphite, opennms
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Graphite Playground with OpenNMS
====## Requirements
All you need is having Docker up and running on your machine.
When using Docker for Mac or Docker for Windows, make sure to have at least 4GB of RAM and 2 CPUs assigned to the Docker VM.
## Build and Run
```bash
docker-compose up -d --build
```## Configuration
Create a requisition and add a node that represents the generator:
```
docker-compose exec opennms bash
```Then,
```bash
GENERATOR_IP=$(getent hosts generator | awk '{print $1}')
provision.pl requisition add Docker
provision.pl node add Docker generator generator
provision.pl interface add Docker generator $GENERATOR_IP
provision.pl interface set Docker generator $GENERATOR_IP snmp-primary N
provision.pl requisition import Docker
exit
```## Visualization
There is ready to use dashboard available in Grafana, accessible through `http://localhost:3000`, called "Graphite Playground".