-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fresh install - Grafana graphs empty (MX routers, Junos 17.4, Ubuntu server) #249
Comments
Try chronograf and see if you can see telem data in there….
http://192.168.254.58:8888
click “Data Explorer” in the left pane/column
click “juniper.four_weeks”
click “juniperNetworks.jnpr_interface_ext”
… > device – (some number)
Do you see your devices listed there?
- Aaron
From: James [mailto:notifications@github.com]
Sent: Monday, December 17, 2018 6:35 AM
To: Juniper/open-nti
Cc: Subscribed
Subject: [Juniper/open-nti] Fresh install - Grafana graphs empty (MX routers, Junos 17.4, Ubuntu server) (#249)
Hi there
I have followed the instructions (https://open-nti.readthedocs.io/en/latest/install.html) which are a tad out of date, but basically on my Ubuntu 14.04 server I ran the usual apt updates, then:
$ git clone https://github.com/Juniper/open-nti.git
$ cd open-nti
$ make start
Everything starts up as it should.
Docker PS
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fd84fc77e8ca opennti_input-snmp "/source/start-inp..." 4 minutes ago Up 4 minutes 0.0.0.0:162->162/udp opennti_input_snmp
214ca3966a9d juniper/open-nti-input-jti:latest "/bin/sh -c /fluen..." 4 minutes ago Up 4 minutes 0.0.0.0:50000->50000/udp, 24284/tcp, 40020/udp, 0.0.0.0:50020->50020/udp opennti_input_jti
e5cd0f02cc31 quay.io/influxdb/chronograf:1.5.0.1 "/usr/bin/chronogr..." 4 minutes ago Up 4 minutes 0.0.0.0:8888->8888/tcp chronograf_con
d164ebbfc4da juniper/open-nti-input-syslog:latest "/bin/sh -c /home/..." 4 minutes ago Up 4 minutes 5140/tcp, 24220/tcp, 24224/tcp, 0.0.0.0:6000->6000/udp opennti_input_syslog
d5111e0671b4 kapacitor:1.5.0 "/entrypoint.sh ka..." 4 minutes ago Up 4 minutes 0.0.0.0:9092->9092/tcp kapacitor
aaf81a1a0be0 opennti_input-oc "/entrypoint.sh /s..." 4 minutes ago Up 4 minutes 8092/udp, 8125/udp, 8094/tcp, 0.0.0.0:50051->50051/udp opennti_input_oc
580c44001075 juniper/open-nti:latest "/sbin/my_init" 4 minutes ago Up 4 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:3000->3000/tcp, 0.0.0.0:8083->8083/tcp, 0.0.0.0:8086->8086/tcp, 0.0.0.0:8125->8125/udp opennti_con
When I tcpdump, I can see udp traffic coming in from my MX routers (MX960s, MX480s, MX204s, on a variety of Junos versions, 4/5 of them on 17.4, one on 15.1F6):
me@lab-docker:~/open-nti$ sudo tcpdump -i eth1.999 udp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1.999, link-type EN10MB (Ethernet), capture size 262144 bytes
12:28:23.077599 IP 192.168.254.1.50000 > 192.168.254.58.50000: UDP, length 1304
12:28:23.082022 IP 192.168.254.1.50000 > 192.168.254.58.50000: UDP, length 1073
12:28:23.894927 IP 192.168.254.4.50000 > 192.168.254.58.50000: UDP, length 549
12:28:23.895002 IP 192.168.254.4.50000 > 192.168.254.58.50000: UDP, length 157
12:28:23.896354 IP 192.168.254.4.50000 > 192.168.254.58.50000: UDP, length 180
12:28:23.899546 IP 192.168.254.4.50000 > 192.168.254.58.50000: UDP, length 1145
My Juniper config is like so:
me@mx5> show configuration services analytics | no-more
streaming-server open-nti-lab-docker {
remote-address 192.168.254.58;
remote-port 50000;
}
export-profile open-nti-lab {
local-address 192.168.254.9;
local-port 50000;
reporting-rate 10;
format gpb;
transport udp;
}
sensor phy-interfaces {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/system/linecard/interface/;
}
sensor log-interfaces {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/system/linecard/interface/logical/usage/;
}
sensor cpu-mem {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/system/linecard/cpu/memory/;
}
sensor pfe-lsp-usage {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/services/label-switched-path/usage/;
}
sensor firewall-stats {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/system/linecard/firewall/;
}
sensor pfe-fabric {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/system/linecard/fabric/;
}
sensor npu-memory {
server-name open-nti-lab-docker;
export-name open-nti-lab;
resource /junos/system/linecard/npu/memory/;
}
In influx, when I switch to the 'Juniper' database and run 'show measurements' I get the following:
name
juniperNetworks.cpu_memory_util_ext
juniperNetworks.fabricMessageExt
juniperNetworks.jnprLogicalInterfaceExt
juniperNetworks.jnpr_firewall_ext
juniperNetworks.jnpr_interface_ext
juniperNetworks.jnpr_lsp_statistics_ext
However, I see nothing in any of the graphs in Grafana. Has something changed in one of the tools and not updated in another?
I can give any other details required, happy to share screens etc if useful.
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#249> , or mute the thread <https://github.com/notifications/unsubscribe-auth/Am_xaJt-n0e_WRPtHfe55Ujyqt96cW6nks5u5492gaJpZM4ZWRLs> . <https://github.com/notifications/beacon/Am_xaJ44vT_NtWTav9t0eiq1SY9ekZ0eks5u5492gaJpZM4ZWRLs.gif>
|
Thanks @agould123 - I have just been reading older closed issues (I am quite bad at using github it seems!) and saw that Cronograf is the replacement for InfluxDB's front end, even though the latter still seems present. I do see some telemetry graphs by clicking around in there, yes. I see 4 of my 5 hosts present. From this, I take it that the Grafana dashboards that Open-NTI comes with are no longer valid? The queries don't seem to work any longer - did I miss some documentation update somewhere? Thanks for your reply |
There is certain need of the document update. It seems that the old DB root for InfluxDB has been changed to juniper.four_weeks. The queries needs to be updated like this |
Hi there, [EDIT] |
Thanks for the suggestions. I am not really that well versed in the nuts and bolts here.. Is it likely this will be updated and I can just pull the containers down in a working order? :) |
Hi @cylmad - I'm hitting this issue also, I can see data in Chronograf but nothing in Grafana - can you tell me how to update the Grafana dashboards to take into account the four_weeks policy? |
I also had more success with displaying telemetry data using Chronograf.
While at Juniper NXTWORK 2019 in Vegas, I was in a session on telemetry and a very knowledge presenter on the material showed my later how to make Grafana work.
It was simple as you just have to select the proper data source (influxdb, or perhaps whatever data source you are using) and then select field and time and grouped by and format.
…-Aaron
From: lwbnet [mailto:notifications@github.com]
Sent: Saturday, April 11, 2020 4:01 PM
To: Juniper/open-nti
Cc: Aaron Gould; Mention
Subject: Re: [Juniper/open-nti] Fresh install - Grafana graphs empty (MX routers, Junos 17.4, Ubuntu server) (#249)
Hi there,
I'm facing the same issue with grafana not showing any data points in the dashboards (but it works fine using Chronograf). Any idea to solve this grafana pb ? I tried many queries adjustments (including the one provided above) but nothing helps. Thx for your help.
[EDIT]
I finally succeed in graphing something in grafana. The provided dashboard has to be update to take in account the four_weeks retention policy.
Hi @cylmad <https://github.com/cylmad> - I'm hitting this issue also, I can see data in Chronograf but nothing in Grafana - can you tell me how to update the Grafana dashboards to take into account the four_weeks policy?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#249 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJX7C2COTUKK2JVMMRZXZ5LRMDLABANCNFSM4GKZCLWA> . <https://github.com/notifications/beacon/AJX7C2DWV3GMTXKSE7WJAATRMDLABA5CNFSM4GKZCLWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESBDHEA.gif>
|
Hi there
I have followed the instructions (https://open-nti.readthedocs.io/en/latest/install.html) which are a tad out of date, but basically on my Ubuntu 14.04 server I ran the usual apt updates, then:
$ git clone https://github.com/Juniper/open-nti.git
$ cd open-nti
$ make start
Everything starts up as it should.
Docker PS
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fd84fc77e8ca opennti_input-snmp "/source/start-inp..." 4 minutes ago Up 4 minutes 0.0.0.0:162->162/udp opennti_input_snmp
214ca3966a9d juniper/open-nti-input-jti:latest "/bin/sh -c /fluen..." 4 minutes ago Up 4 minutes 0.0.0.0:50000->50000/udp, 24284/tcp, 40020/udp, 0.0.0.0:50020->50020/udp opennti_input_jti
e5cd0f02cc31 quay.io/influxdb/chronograf:1.5.0.1 "/usr/bin/chronogr..." 4 minutes ago Up 4 minutes 0.0.0.0:8888->8888/tcp chronograf_con
d164ebbfc4da juniper/open-nti-input-syslog:latest "/bin/sh -c /home/..." 4 minutes ago Up 4 minutes 5140/tcp, 24220/tcp, 24224/tcp, 0.0.0.0:6000->6000/udp opennti_input_syslog
d5111e0671b4 kapacitor:1.5.0 "/entrypoint.sh ka..." 4 minutes ago Up 4 minutes 0.0.0.0:9092->9092/tcp kapacitor
aaf81a1a0be0 opennti_input-oc "/entrypoint.sh /s..." 4 minutes ago Up 4 minutes 8092/udp, 8125/udp, 8094/tcp, 0.0.0.0:50051->50051/udp opennti_input_oc
580c44001075 juniper/open-nti:latest "/sbin/my_init" 4 minutes ago Up 4 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:3000->3000/tcp, 0.0.0.0:8083->8083/tcp, 0.0.0.0:8086->8086/tcp, 0.0.0.0:8125->8125/udp opennti_con
When I tcpdump, I can see udp traffic coming in from my MX routers (MX960s, MX480s, MX204s, on a variety of Junos versions, 4/5 of them on 17.4, one on 15.1F6):
My Juniper config is like so:
In influx, when I switch to the 'Juniper' database and run 'show measurements' I get the following:
name
juniperNetworks.cpu_memory_util_ext
juniperNetworks.fabricMessageExt
juniperNetworks.jnprLogicalInterfaceExt
juniperNetworks.jnpr_firewall_ext
juniperNetworks.jnpr_interface_ext
juniperNetworks.jnpr_lsp_statistics_ext
However, I see nothing in any of the graphs in Grafana. Has something changed in one of the tools and not updated in another?
I can give any other details required, happy to share screens etc if useful.
Cheers
The text was updated successfully, but these errors were encountered: