Juniper / open-nti

Open Network Telemetry Collector build with open source tools
Apache License 2.0
232 stars 93 forks source link

Multiple IP Addresses on Server #243

Open mnanduri opened 5 years ago

mnanduri commented 5 years ago

If you have multiple IP addresses on open-nti running server, is there a way to specify which source interface/ip address to use?

psagrera commented 5 years ago

Hi ,

you mean to specify inside OC telegraf file a source ip address ?

mnanduri commented 5 years ago

Yes and in general how does it figure out which one to use.

On Fri, Oct 5, 2018 at 2:16 AM psagrera notifications@github.com wrote:

Hi ,

you mean to specify inside OC telegraf file a source ip address ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Juniper/open-nti/issues/243#issuecomment-427257756, or mute the thread https://github.com/notifications/unsubscribe-auth/AcT0O74pSuKnd0uJZlF-0boxc-jWKX4fks5uhvlNgaJpZM4XAzMe .

mnanduri commented 5 years ago

Any ideas?

brahmastra2016 commented 5 years ago

try this ...

make change under opennti.prama file and specify the ip address to bind to.

Example: From: export LOCAL_PORT_INFLUXDB_API=8086
To: export LOCAL_PORT_INFLUXDB_API=1.1.1.1:8086

mnanduri commented 5 years ago

Will try it out but not sure this does what I am looking for. I want open-nti to use a specific IP address to source when it communicates with the router. Say 1.1.1.1 and 2.2.2.2 are the IP addresses assigned to the host. I want to use 2.2.2.2 to be used to communicate with the routers.

On Wed, Oct 10, 2018 at 3:11 PM brahmastra2016 notifications@github.com wrote:

try this ...

make change under opennti.prama file and specify the ip address to bind to.

Example: From: export LOCAL_PORT_INFLUXDB_API=8086 To: export LOCAL_PORT_INFLUXDB_API=1.1.1.1:8086

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Juniper/open-nti/issues/243#issuecomment-428695858, or mute the thread https://github.com/notifications/unsubscribe-auth/AcT0O3meDkqyRmfvUTASu02jkcXnjKWOks5ujkZmgaJpZM4XAzMe .

psagrera commented 5 years ago

Hi @ mnanduri

At this time it is not supported. I'm exploring some approaches so I'll keep you informed.

Regards

Pablo

mnanduri commented 5 years ago

Thanks Pablo.

Cheers, -Mohan On Tue, Oct 16, 2018 at 6:39 AM psagrera notifications@github.com wrote:

Hi @ mnanduri

At this time it is not supported. I'm exploring some approaches so I'll keep you informed.

Regards

Pablo

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mnanduri commented 5 years ago

Any update/ideas on this?