Tomy2e / livebox-exporter

A prometheus exporter for Livebox
MIT License
8 stars 0 forks source link

Add variable for a different IP address #6

Closed Mika64 closed 1 year ago

Mika64 commented 1 year ago

Hello,

My lb4 have a different IP address than 192.168.1.1.

Can we have an environment variable to set livebox's ip address (like: LB_ADDRESS) ?

Regards,

Tomy2e commented 1 year ago

Hello,

Yes I can add support for using a different Livebox address.

This will first require some changes on livebox-api-client.

Tomy2e commented 1 year ago

I just released the v0.3.0 version of the exporter which includes the LIVEBOX_ADDRESS environment variable. It's set to http://192.168.1.1/ by default. Full documentation is here. I never tried the exporter on a lb4, do not hesitate to let me know how it goes.