Comments (3)
Can you try with the latest jtimon ?
from jtimon.
It's the same.
Here is the console output.
root@yangtze:~/hfzhang/ocst# ./jtimon-linux-amd64 --config mx2020.json --max-run 300
Version: 0f86b4a-master BuildTime 2018-09-04T16:28:56-0700
2018/11/18 22:15:29 logging in mx2020.log for goog-1-mx2020-geo:10162 [periodic stats every 2 seconds]
All done ... exiting!
And here is the log output.
root@yangtze:/hfzhang/ocst# cat mx2020.log/hfzhang/ocst#
2018/11/18 22:15:29
Running config of JTIMON:
{
"port": 10162,
"host": "host",
"user": "regress",
"password": "MaRtInI",
"vendor": "",
"cid": "cid-ocst-1-geo-d101-3",
"meta": false,
"eos": false,
"api": {
"port": 0
},
"grpc": {
"ws": 1048576
},
"tls": {
...
},
"influx": {
"server": "",
"port": 0,
"dbname": "",
"user": "",
"password": "",
"recreate": false,
"measurement": "",
"diet": false,
"batchsize": 1048576,
"batchfrequency": 2000,
"retention-policy": ""
},
"paths": [
...
],
"log": {
"file": "mx2020.log",
"periodic-stats": 2,
"verbose": false,
"drop-check": true,
"latency-check": false,
"csv-stats": false,
"FileHandle": null,
"Logger": {}
}
}
2018/11/18 22:15:29 Connecting to goog-1-mx2020-geo:10162
2018/11/18 22:16:13 gRPC headers from host goog-1-mx2020-geo:10162
2018/11/18 22:16:13 init-response: [response { subscription_id: 1 } path_list { path: "/interfaces/interface/state/" sample_frequency: 2000 } path_list { path: "/junos/services/segment-routing/interface/ingress/usage/" sample_frequency: 2000 } path_list { path: "/junos/system/linecard/intf-exp/" sample_frequency: 2000 } path_list { path: "/junos/services/segment-routing/interface/egress/usage/" sample_frequency: 2000 } path_list { path: "/junos/services/segment-routing/sid/usage/" sample_frequency: 2000 } path_list { path: "/interfaces/interface/subinterfaces/subinterface/state/" sample_frequency: 10000 } path_list { path: "/arp-information/ipv4/neighbors/neighbor/state/" sample_frequency: 30000 } path_list { path: "/components/component/properties/property/state/value/" sample_frequency: 30000 } path_list { path: "/components/component/state/" sample_frequency: 30000 } path_list { path: "/junos/alarm-information/" sample_frequency: 30000 } path_list { path: "/junos/cos-forwarding-class-information/" sample_frequency: 30000 } path_list { path: "/junos/krt-state-information/" sample_frequency: 30000 } path_list { path: "/junos/services/label-switched-path/usage/" sample_frequency: 30000 } path_list { path: "/junos/system/linecard/fabric/" sample_frequency: 30000 } path_list { path: "/junos/system/linecard/firewall/" sample_frequency: 30000 } path_list { path: "/junos/system/linecard/npu/memory/" sample_frequency: 30000 } path_list { path: "/junos/system/linecard/optics/" sample_frequency: 30000 } path_list { path: "/junos/system/linecard/packet/usage/" sample_frequency: 30000 } path_list { path: "/junos/task-memory-information/task-memory-overall-report/" sample_frequency: 30000 } path_list { path: "/lacp/interfaces/interface/members/member/state/" sample_frequency: 30000 } path_list { path: "/lldp/interfaces/interface/state/" sample_frequency: 30000 } path_list { path: "/lldp/state/" sample_frequency: 30000 } path_list { path: "/lldp/interfaces/interface/neighbors/neighbor/state/" sample_frequency: 30000 } path_list { path: "/nd6-information/ipv6/neighbors/neighbor/state/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/mpls/lsps/constrained-path/tunnels/tunnel/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/global/state/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/interface-attributes/interface/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/sessions/session/state/session-name/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/sessions/session/explicit-route-objects/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/protocols/protocol/bgp/neighbors/" sample_frequency: 30000 } path_list { path: "/network-instances/network-instance/protocols/protocol/isis/" sample_frequency: 31000 } ]
2018/11/18 22:16:13 content-type: [application/grpc]
2018/11/18 22:16:13 grpc-accept-encoding: [identity,deflate,gzip]
2018/11/18 22:16:13 Receiving telemetry data from goog-1-mx2020-geo:10162
2018/11/18 22:20:29 Streaming has been interruppted
root@yangtze:
from jtimon.
Sorry for the late reply, just got chance to work on this one. On top of JSON config for periodic-stats, you need to enable stats handler of grpc using the command line. Following should work.
$ ./jtimon --stats-handler --config d102.json
from jtimon.
Related Issues (20)
- scalar array not displayed properly
- Influx 2.0
- UDP server support
- Dialout Changes Broke Dockerfile
- Alias not working HOT 3
- build issue HOT 1
- ca-profile names are not matching HOT 1
- Couple of optimization in influx.go HOT 1
- grpc connection mux
- When running jtimon-linux-x86_64 without cvs-stats & logs option then its running double the time of max-run.
- question about the Juniper api
- Prometheus - metric has label dimensions inconsistent with previously collected metrics in the same metric family HOT 4
- UDP server support HOT 8
- Docker image size HOT 1
- compilation issue HOT 1
- New Release possible? HOT 2
- Cannot make docker image 'cannot load protobuf descriptor' HOT 2
- [Feature Request] convert string/enum values for prometheus exporter
- IPv6 Tests
- path_list not detected (thus, no telemetry data is shown) HOT 1
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 jtimon.