charlie-haley / omada_exporter

Prometheus Exporter for TP-Link Omada Controller SDN.
MIT License
87 stars 14 forks source link

Feature request: Fork and create Netdata collector #51

Closed lucianor closed 1 year ago

lucianor commented 1 year ago

Netdata is another monitoring tool that is widely used, and allow collector modules built in Go. Would it possible to fork this into a Netdata collector by reusing most of the code?

https://github.com/netdata/go.d.plugin/tree/master/modules/example

An example on how to setup?

charlie-haley commented 1 year ago

Unfortunately the scope of this exporter will only extend to Prometheus. I don't use netdata but you're more than welcome to fork the project if you'd like to create a netdata collector

jcouzy commented 1 year ago

I am using Prometheus as well, I am trying to use it with Prometheus. This is how I deploy the Omaha_exporter docker container:

omada_exporter: image: chhaley/omada_exporter container_name: omada-exporter restart: unless-stopped ports:

Container starts, no weird stuff in the container logs. All seems to work well.

time="2022-12-08T14:47:47Z" level=info msg="not logged in, logging in with user: prometheus" time="2022-12-08T14:47:48Z" level=info msg="listening on :9202"

But, when I go to https://dockerhost:9202/metrics, I get this in my browser:

An error has occurred while serving metrics:

144 error(s) occurred:

Met vriendelijke groet / Kind regards,

Johan Couzy

tel: +31 6 11 00 04 02 e-mail: @.***

On 29 Nov 2022, at 19:00, Charlie Haley @.***> wrote:

Unfortunately the scope of this exporter will only extend to Prometheus. I don't use netdata but you're more than welcome to fork the project if you'd like to create a netdata collector

— Reply to this email directly, view it on GitHub https://github.com/charlie-haley/omada_exporter/issues/51#issuecomment-1331079275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMIQPXEJPTHJGWZD3FJCIXTWKZAFLANCNFSM6AAAAAARFK34BM. You are receiving this because you are subscribed to this thread.