Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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".