Question

Could not collect traffic on grafana

  • 26 February 2019
  • 2 replies
  • 105 views

I want to use grafana with netq . I have added to datasource as an InfluxDB and create a graph according to documentation but there is no data on graph.

2 replies

Userlevel 1
Can you check to see the influxdb database itself is actually populating?
My suspicion is that your agents may not be streaming data to the influxdb instance correctly.
https://docs.cumulusnetworks.com/display/NETQ/Collect+Interface+Statistics

Are you enabling the statsd functionality:
cumulus@ts:~$ sudo systemctl enable netq-stats-pushd.service
cumulus@ts:~$ sudo systemctl start netq-stats-pushd.service

followed by:
cumulus@spine01:~$ netq config add agent stats
cumulus@spine01:~$ netq config restart agent

You can check the influxdb entries by using the following command within influxdb:
cumulus@ts:~$ sudo docker exec -it 9bb544d9bb1b /bin/bash
bash-4.3# influx -precision rfc3339
> SHOW FIELD KEYS ON "netq"
> SHOW SERIES
https://docs.cumulusnetworks.com/display/NETQ/Collect+Interface+Statistics#CollectInterfaceStatistics-Example:VerifyingInfluxDBStatus
Hi Rama ,

Thanks for your answer , problem was solved. I have updated the query only for one swtch and can see the traffic before added 3 switches to "where" section with "AND"

Reply