Hi,
I have 2 questions,
First:
I would like to add a statistic in the file /etc/nav/sortedStats.conf but nothing appears when I go to the page Ranked Statistics. Should we change something else? In the documentation we talk about Cricket but it seems to me that this one is no longer used
Example:
[trunkinerrors] name: Test trunk interface in path: ports dsdescr: ifinerrors modifier: * 1000 units: milliErrors / sec linkview: Errors
Second:
Is it possible to run a command line statistics without having to click on the button "Show statistics" in the Ranked Statistics page ?
Thank you for your help
Regards,
Biselx Nicolas
On 09. mai 2017 14:14, Biselx Nicolas wrote:
Hi,
Hi!
I have 2 questions,
First:
I would like to add a statistic in the file /etc/nav/sortedStats.conf but nothing appears when I go to the page Ranked Statistics. Should we change something else? In the documentation we talk about Cricket but it seems to me that this one is no longer used
Hm, why is that file still there? This configuration file is old and should have been removed. It refers to an old system of displaying ranked statistics using Cricket.
I am afraid the Ranked Statistics reports are very static and can not be easily changed. If you would like this to be configurable, let us know by registering an issue on Github:
https://github.com/UNINETT/nav/issues
I think it should be relatively easy but we need to know your requirements.
Second:
Is it possible to run a command line statistics without having to click on the button "Show statistics" in the Ranked Statistics page ?
If I understand you correctly: you can query Graphite directly from the command line using curl (https://curl.haxx.se/docs/manpage.html) or related software. It has a web api (https://graphite-api.readthedocs.io) that you use for queries.
Thank you for your help
Regards,
Biselx Nicolas
Thanks for your reply,
We wanted to have the same statistics as "Most errors on traffic in to interface" and "Most errors on traffic out to interface" but only for the uplink in the network. We arn't interested in user ports.
After that, we wanted to generated automaticly this report every weeks.
I thought I could easily resume the statistics "Most errors ....." and make a new one for the uplinks only?
Le 10. 05. 17 à 08:45, John Magne Bredal a écrit :
On 09. mai 2017 14:14, Biselx Nicolas wrote:
Hi,
Hi!
I have 2 questions,
First:
I would like to add a statistic in the file /etc/nav/sortedStats.conf but nothing appears when I go to the page Ranked Statistics. Should we change something else? In the documentation we talk about Cricket but it seems to me that this one is no longer used
Hm, why is that file still there? This configuration file is old and should have been removed. It refers to an old system of displaying ranked statistics using Cricket.
I am afraid the Ranked Statistics reports are very static and can not be easily changed. If you would like this to be configurable, let us know by registering an issue on Github:
https://github.com/UNINETT/nav/issues
I think it should be relatively easy but we need to know your requirements.
Second:
Is it possible to run a command line statistics without having to click on the button "Show statistics" in the Ranked Statistics page ?
If I understand you correctly: you can query Graphite directly from the command line using curl (https://curl.haxx.se/docs/manpage.html) or related software. It has a web api (https://graphite-api.readthedocs.io) that you use for queries.
Thank you for your help
Regards,
Biselx Nicolas