Comments (10)
root@gvision:~/open-nti# docker logs opennti_input_jti
2016-12-06 09:58:06 -0800 [info]: reading config file path="/tmp/fluent.conf"
2016-12-06 09:58:06 -0800 [info]: starting fluentd-0.12.26
2016-12-06 09:58:06 -0800 [info]: gem 'fluent-plugin-juniper-telemetry' version '0.2.11'
2016-12-06 09:58:06 -0800 [info]: gem 'fluentd' version '0.12.26'
2016-12-06 09:58:06 -0800 [info]: adding match pattern="jnpr." type="copy"
2016-12-06 09:58:06 -0800 [info]: adding match pattern="debug." type="stdout"
2016-12-06 09:58:06 -0800 [info]: adding match pattern="fluent.**" type="stdout"
2016-12-06 09:58:06 -0800 [info]: adding source type="forward"
2016-12-06 09:58:06 -0800 [info]: adding source type="udp"
2016-12-06 09:58:06 -0800 [info]: adding source type="udp"
2016-12-06 09:58:06 -0800 [info]: adding source type="monitor_agent"
2016-12-06 09:58:06 -0800 [info]: adding source type="debug_agent"
2016-12-06 09:58:06 -0800 [info]: using configuration file:
If I configure the Data Collection Agent Dashboard, I am able to see data using Grafana with no issues.
I am streaming from an MX as below:
swall@tinybud> show version invoke-on all-routing-engines | match Junos:
Junos: 16.1R3.10
Junos: 16.1R3.10
swall@tinybud> show configuration services analytics | display set
set services analytics streaming-server GV remote-address 172.17.250.2
set services analytics streaming-server GV remote-port 50000
set services analytics export-profile EXP local-address 1.0.0.41
set services analytics export-profile EXP local-port 30010
set services analytics sensor S1 server-name GV
set services analytics sensor S1 export-name EXP
set services analytics sensor S1 resource /junos/system/linecard/interface/
set services analytics sensor S3 server-name GV
set services analytics sensor S3 export-name EXP
set services analytics sensor S3 resource /junos/system/linecard/firewall/
set services analytics sensor S4 server-name GV
set services analytics sensor S4 export-name EXP
set services analytics sensor S4 resource /junos/system/linecard/cpu/memory/
set services analytics sensor S5 server-name GV
set services analytics sensor S5 export-name EXP
set services analytics sensor S5 resource /junos/system/linecard/npu/memory/
set services analytics sensor S6 server-name GV
set services analytics sensor S6 export-name EXP
set services analytics sensor S6 resource /junos/system/linecard/interface/logical/usage/
set services analytics sensor S2 server-name GV
set services analytics sensor S2 export-name EXP
set services analytics sensor S2 resource /junos/services/label-switched-path/usage/
from open-nti.
Hi @stevebwall
Thanks for looking into OpenNTI
Not all sensors are currently supported, sorry if this part is not clearly documented yet, I need to do that.
For now, I would recommend to keep:
- /junos/system/linecard/interface/logical/usage/
- /junos/system/linecard/interface/
- /junos/system/linecard/firewall/
LSP should work but I have done little testing on it
Also, to support Logical interface and Firewall you need to use a different code for JTI input plugin
it's very easy to upgrade
In the file docker-compose.yml, you need to update the second line and replace
juniper/open-nti-input-jtiwith
juniper/open-nti-input-jti:devel`, see example below
Before:
input-jti:
image: juniper/open-nti-input-jti
container_name: opennti_input_jti
After modification
input-jti:
image: juniper/open-nti-input-jti:devel
container_name: opennti_input_jti
Once done, you need to run make start
once again to reload the container.
This new version is under test right now and It will become the default version very soon.
Please let me know if it's working better
If it's still not better, you might have to increase the MTU between your junos device and the OpenNTI server. If you have too many interfaces, Junos will send fragmented packets ..
Thanks
Damien
from open-nti.
Documentation bug
from open-nti.
I made the change in docker-compose.yml:
input-jti:
image: juniper/open-nti-input-jti:devel
container_name: opennti_input_jti
Then I did 'make start'.
I also reduced my analytics config as below:
set services analytics streaming-server GV remote-address 172.17.250.2
set services analytics streaming-server GV remote-port 50000
set services analytics export-profile EXP local-address 1.0.0.41
set services analytics export-profile EXP local-port 30010
set services analytics sensor S1 server-name GV
set services analytics sensor S1 export-name EXP
set services analytics sensor S1 resource /junos/system/linecard/interface/
set services analytics sensor S3 server-name GV
set services analytics sensor S3 export-name EXP
set services analytics sensor S3 resource /junos/system/linecard/firewall/
set services analytics sensor S6 server-name GV
set services analytics sensor S6 export-name EXP
set services analytics sensor S6 resource /junos/system/linecard/interface/logical/usage/
Finally, I changed the mtu on my export interface:
set interfaces xe-0/0/0 mtu 4000
I am still not seeing any data for the Data Streaming Collector Dashboard.
I am running 16.1R3. Could it be that open-nti has not been fully tested with this new release?
swall@tinybud> show version invoke-on all-routing-engines | grep Junos:
Junos: 16.1R3.10
Junos: 16.1R3.10
from open-nti.
I tried downgrading to 15.1:
swall@tinybud> show version invoke-on all-routing-engines | grep Junos:
Junos: 15.1F6-S3.7
Junos: 15.1F6-S3.7
I restarted my docker. I see UDP data:
root@6a38a418a3bc:/# tcpdump -i eth0 -n dst port 50000
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
07:18:19.157940 IP 1.0.0.41.30010 > 172.17.250.2.50000: UDP, length 716
07:18:19.623563 IP 1.0.0.41.30010 > 172.17.250.2.50000: UDP, length 716
Grafana does not report any data and the influxdb/juniper DB is empty. Not sure what else I can check to troubleshoot further....
from open-nti.
Hi @stevebwall
sorry for the delay, I was traveling last week
do you have time this week for a live troubleshooting session ?
i'm based on the West coast (PDT)
from open-nti.
Yes, I am available today or tomorrow to take a look.... much appreciated.
from open-nti.
Today works for me, please send me an email dgarros _ juniper.net
from open-nti.
Thanks Damien, with your help this is working now. It appears that I need to stream telemetry data to the host interface IP address, not the docker IP address. This does not seem intuitive to me, but it is working. I think open-nti should be able to accept data if it makes it to the docker IP. In my case this was proven to be working via tcpdump from the docker cli.
from open-nti.
Related Issues (20)
- Open-nti with Kafka
- open-nti on MAC OSX HOT 1
- How to have two sets of commands with different cron run on the same set of hosts ?
- Error during processing: undefined method `juniperNetworks' for nil:NilClass HOT 4
- chrongraf graph stops at 1 million height
- JUNOS EVO support
- missing * 8 on JTI interface traffic output stats
- "Opennti_input-oc" Missing in docker
- OpenConfig Telemetry in Grafana HOT 1
- Ubuntu 18.04 - Issues all around. Does not work out of the box anymore. Installs Way more than 3 docker containers HOT 1
- Running the start script behind a proxy
- Graphing traffic on interface by interfaces description
- No jti telemetry data in grafana
- ERROR: Service 'input-oc' failed to build
- Documentation fixes HOT 1
- qfx5100 stops sending data after upgrading from junos version 17.x to18.x and later - before it was working fine HOT 2
- InfluxDB unavailable
- Error: "Docker-Compose Make" HOT 1
- ¿ Chronograf username & password?
- Cannot Log Into Chronograf UI: What is the Chronograf Username & Password after Merge Pull Request $277
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-nti.