Hi,
I have added a new device (switch) in NAV. Unfortunately, I don't see any graph corresponding to this device in Cricket module (while I still see the different graphs for other devices that are also switches).
What can I do to get the graphs of this new device ?
I had a look everywhere in NAV, checked the documentation, but I did not see anything about that.
Thank you.. Cédric.
What is your nav version? It's installed by apt-get?
Check the directory /etc/nav/cricket-config/ports/ if there is a file named with the IP address of the switch. Paste the contents here plz.
2013/7/19 Orzakiewicz Cedric cedric.orzakiewicz@barilla.com
Hi,****
I have added a new device (switch) in NAV.****
Unfortunately, I don’t see any graph corresponding to this device in Cricket module (while I still see the different graphs for other devices that are also switches).****
What can I do to get the graphs of this new device ?****
I had a look everywhere in NAV, checked the documentation, but I did not see anything about that.****
Thank you..****
Cédric.****
Hi,
After waiting a couple of hours, the graph appeared. Do you know what process does that and how long it takes for it ?
Thank you. Cédric.
From: Bruno Galindro da Costa [mailto:bruno.galindro@gmail.com] Sent: giovedì 25 luglio 2013 02:02 To: Orzakiewicz Cedric Cc: Morten Brekkevold; nav-users@uninett.no Subject: Re: Cricket Graph missing
What is your nav version? It's installed by apt-get?
Check the directory /etc/nav/cricket-config/ports/ if there is a file named with the IP address of the switch. Paste the contents here plz.
2013/7/19 Orzakiewicz Cedric <cedric.orzakiewicz@barilla.commailto:cedric.orzakiewicz@barilla.com> Hi,
I have added a new device (switch) in NAV. Unfortunately, I don't see any graph corresponding to this device in Cricket module (while I still see the different graphs for other devices that are also switches).
What can I do to get the graphs of this new device ?
I had a look everywhere in NAV, checked the documentation, but I did not see anything about that.
Thank you.. Cédric.
-- Att. Bruno Galindro da Costa
It depends. You need to see when cricket runs (sudo -u navcron crontab -l | grep cric). The default is each 5 minutes, but if your device is very slow to respond snmp requests, this time must be increased.
By default cricket's monitor all interfaces of the the device. So, if the device is slow, the cricket will be slow too.
NAV uses a simple tool called mcc.py (make cricket config) that is called by navcron's crontab (sudo -u navcron crontab -l | grep mcc) to make the config files used by cricket. I've experienced similar problems with cricket...
Please, read the attached mail.
2013/7/25 Orzakiewicz Cedric cedric.orzakiewicz@barilla.com
Hi,****
After waiting a couple of hours, the graph appeared.****
Do you know what process does that and how long it takes for it ?****
Thank you.****
Cédric.****
*From:* Bruno Galindro da Costa [mailto:bruno.galindro@gmail.com] *Sent:* giovedì 25 luglio 2013 02:02 *To:* Orzakiewicz Cedric *Cc:* Morten Brekkevold; nav-users@uninett.no *Subject:* Re: Cricket Graph missing****
What is your nav version? It's installed by apt-get?
Check the directory /etc/nav/cricket-config/ports/ if there is a file named with the IP address of the switch. Paste the contents here plz.****
2013/7/19 Orzakiewicz Cedric cedric.orzakiewicz@barilla.com****
Hi,****
I have added a new device (switch) in NAV.****
Unfortunately, I don’t see any graph corresponding to this device in Cricket module (while I still see the different graphs for other devices that are also switches).****
What can I do to get the graphs of this new device ?****
I had a look everywhere in NAV, checked the documentation, but I did not see anything about that.****
Thank you..****
Cédric.****
-- Att. Bruno Galindro da Costa****
Thank you very much.
Why all this information are not stored into a forum or a document that each one could download ? That would be so helpful for everybody, no ? :)
From: Bruno Galindro da Costa [mailto:bruno.galindro@gmail.com] Sent: giovedì 25 luglio 2013 12:15 To: Orzakiewicz Cedric Cc: Morten Brekkevold; nav-users@uninett.no Subject: Re: Cricket Graph missing
It depends. You need to see when cricket runs (sudo -u navcron crontab -l | grep cric). The default is each 5 minutes, but if your device is very slow to respond snmp requests, this time must be increased.
By default cricket's monitor all interfaces of the the device. So, if the device is slow, the cricket will be slow too.
NAV uses a simple tool called mcc.py (make cricket config) that is called by navcron's crontab (sudo -u navcron crontab -l | grep mcc) to make the config files used by cricket. I've experienced similar problems with cricket...
Please, read the attached mail.
2013/7/25 Orzakiewicz Cedric <cedric.orzakiewicz@barilla.commailto:cedric.orzakiewicz@barilla.com> Hi,
After waiting a couple of hours, the graph appeared. Do you know what process does that and how long it takes for it ?
Thank you. Cédric.
From: Bruno Galindro da Costa [mailto:bruno.galindro@gmail.commailto:bruno.galindro@gmail.com] Sent: giovedì 25 luglio 2013 02:02 To: Orzakiewicz Cedric Cc: Morten Brekkevold; nav-users@uninett.nomailto:nav-users@uninett.no Subject: Re: Cricket Graph missing
What is your nav version? It's installed by apt-get?
Check the directory /etc/nav/cricket-config/ports/ if there is a file named with the IP address of the switch. Paste the contents here plz.
2013/7/19 Orzakiewicz Cedric <cedric.orzakiewicz@barilla.commailto:cedric.orzakiewicz@barilla.com> Hi,
I have added a new device (switch) in NAV. Unfortunately, I don't see any graph corresponding to this device in Cricket module (while I still see the different graphs for other devices that are also switches).
What can I do to get the graphs of this new device ?
I had a look everywhere in NAV, checked the documentation, but I did not see anything about that.
Thank you.. Cédric.
-- Att. Bruno Galindro da Costa
-- Att. Bruno Galindro da Costa
On Fri, 26 Jul 2013 08:28:05 +0000 Orzakiewicz Cedric cedric.orzakiewicz@barilla.com wrote:
Thank you very much.
Why all this information are not stored into a forum or a document that each one could download ? That would be so helpful for everybody, no ? :)
We are painfully aware that our documentation is woefully incomplete. We are working on improving it, but our resources are constrained.
The documentation we do have is available at the wiki pages on https://nav.uninett.no/ . We are moving more of the official documentation into Sphinx; these documents should be available on your local NAV installation at the /doc/ URL, while the latest version should always be available at https://nav.uninett.no/doc/ .
If there are specific lapses in the documentation you would like to point out, we would be happy to improve it! We've spent so much time hacking on NAV that we may have become blind to the issues that outsiders are struggling with, but whose solutions we take for granted.
On Thu, 25 Jul 2013 07:14:49 -0300 Bruno Galindro da Costa bruno.galindro@gmail.com wrote:
NAV uses a simple tool called mcc.py (make cricket config) that is called by navcron's crontab (sudo -u navcron crontab -l | grep mcc) to make the config files used by cricket. I've experienced similar problems with cricket...
There are two delay factors one needs to be aware of when adding new devices to NAV:
1. `mcc.py` is by default only run as a cron job once a day, at 5am. If you want immediate statistics collection, `mcc.py` must be run manually after adding devices.
2. Once a datasource is configured, Cricket needs to collect at least two values to produce a meaningful graph. With the default 5 minute collection interval, one cannot expect a graph to be rendered until 10 minutes have passed.
Yeah you are right. I forgot to mention this...
2013/7/26 Morten Brekkevold morten.brekkevold@uninett.no
On Thu, 25 Jul 2013 07:14:49 -0300 Bruno Galindro da Costa < bruno.galindro@gmail.com> wrote:
NAV uses a simple tool called mcc.py (make cricket config) that is called by navcron's crontab (sudo -u navcron crontab -l | grep mcc) to make the config files used by cricket. I've experienced similar problems with cricket...
There are two delay factors one needs to be aware of when adding new devices to NAV:
`mcc.py` is by default only run as a cron job once a day, at 5am. If you want immediate statistics collection, `mcc.py` must be run manually after adding devices.
Once a datasource is configured, Cricket needs to collect at least two values to produce a meaningful graph. With the default 5 minute collection interval, one cannot expect a graph to be rendered until 10 minutes have passed.
-- Morten Brekkevold UNINETT