Giter Site home page Giter Site logo

MPLS LSP stats @ grafana about open-nti HOT 9 CLOSED

juniper avatar juniper commented on May 29, 2024
MPLS LSP stats @ grafana

from open-nti.

Comments (9)

hz2102 avatar hz2102 commented on May 29, 2024

I think i found the answer.
Issue #106 @dgarros wrote "LSP should work but I have done little testing on it"

@dgarros Let me know if you have any results on this :)

from open-nti.

3fr61n avatar 3fr61n commented on May 29, 2024

Hi @hz2102

Are you still seen the issue?

Regards
Efrain

from open-nti.

hz2102 avatar hz2102 commented on May 29, 2024

Hi Efrain,

Yes, I have just checked now again with lsp ping, routing-instance ping.
On both cases interface counter and grafana counts up.
But no change in LSP graph of grafana.
By the way, show "mpls lsp statistics" also counts up @ vMX

Regards

from open-nti.

3fr61n avatar 3fr61n commented on May 29, 2024

Could you please check through influxdb web ui and check if there is any value in this measurement?

(Something like 'SELECT "*" FROM "jnpr.jvision" WHERE "type" = 'lspstata.packet_rate' , if this fails, try to check single/double quotes (this is a tricky thing in influxdb))

Regards

from open-nti.

hz2102 avatar hz2102 commented on May 29, 2024

Thanks.

[SELECT "*" FROM "jnpr.jvision" WHERE "type" = 'lspstata.packet_rate'] works well,
But influxdb replies "Success! (no results to display)".
So fluentd may be doing something wrong here?

from open-nti.

3fr61n avatar 3fr61n commented on May 29, 2024

If you tried with others queries changing the "type" and it returns values (so the single/double quotes and query string is valid), then we can confirm that the issue is in fluentd

from open-nti.

hz2102 avatar hz2102 commented on May 29, 2024

I have tried [SELECT "*" FROM "jnpr.jvision" WHERE "type" = 'egress_stats.if_octets'] but the output was same "Success! (no results to display)".
Can you please provide me, what output influxdb should show?

from open-nti.

3fr61n avatar 3fr61n commented on May 29, 2024

For instance in my setup I executed
select * from "jnpr.jvision" where "type"= 'egress_stats.if_pkts' limit 10 and got the following result (remember to pay attention to single/double quotes are kind of tricky)

screen shot 2017-01-26 at 13 05 10

If you want to check which 'types' do you have in your db, you can execute
SHOW TAG VALUES FROM "jnpr.jvision" WITH KEY = "type"

Please check if any of mpls lsp stats are on that result.

from open-nti.

hz2102 avatar hz2102 commented on May 29, 2024

Thanks again.

I have got some the following results.

SHOW TAG VALUES FROM "jnpr.jvision" WITH KEY = "type"
===>
key value
type "egress_stats.if_octets"
type "egress_stats.if_packets"
type "ingress_stats.if_mcast_packets"
type "ingress_stats.if_octets"
type "ingress_stats.if_packets"
type "ingress_stats.if_ucast_packets"
type "lsp_stats.byte_rate"
type "lsp_stats.bytes"
type "lsp_stats.packet_rate"
type "lsp_stats.packets"

select * from "jnpr.jvision" where "type"= 'egress_stats.if_packets' limit 10
and
select * from "jnpr.jvision" where "type"= 'lsp_stats.byte_rate' limit 10
shows counters

So the problem was in Grafana's defination
Before->
SELECT "value"*8 FROM "jnpr.jvision" WHERE "type" = 'lsp_stata.byte_rate' AND "device" =~ /$host_regex$/ AND $timeFilter GROUP BY "device", "lspname", "type"

after I change this to ->
SELECT "value"*8 FROM "jnpr.jvision" WHERE "type" = 'lsp_stats.byte_rate' AND "device" =~ /$host_regex$/ AND $timeFilter GROUP BY "device", "lspname", "type"
Graph are shown now :)

Thank you so much for your time troubleshooting this.
I will read carefully next time :)

from open-nti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.