Ok, did some changes, and got some more info
Looks like there is several things going wrong, and a part of these is probably me doing the wrong things.
Onsdag 6. januar 2010, skrev Nils Olav Fossum:
Hi,
Something must have stopped over night as I have gaps in cricket graphs and all lines in netmap have gone grey. Im not sure if this has was the case at previous nights.
Some lock files in temp do not get removed, this might be a part of my problem.. :
nav:/etc/nav/cricket-config/switches# sudo -u navcron /usr/share/cricket/collect-subtrees normal Subtree normal is currently being processed. If this is a mistake, use "rm /tmp/navcron-subtree-normal" to unlock it.
While writing this I switched to singeluser mode, cleaned /tmp and rebooted. The time stamps on rrd's is updated, but the graphs are staying blank.
Im trying to kickstart some of the processes, obviously Im not doing it very well. Are there some guides on how to kick-start the different processes?
Im using the lenny-test packages on Debian Lenny.
Switched to the "just lenny" archive and installed the sun-java6-jre package, made sure it is used with "update-alternatives --config java"
Running "/usr/share/cricket/collect-subtrees normal" as navcron I get these messages:
--- snip --- Error and the lines leading up to it: [06-Jan-2010 11:45:17 ] Retrieved data for 10.0.20.2 (): 0,0,45486572,20045736,17856320 [06-Jan-2010 11:45:17 ] Retrieved data for 10.7.0.11 (): 0,0,0,0,48601868,6105112,2442848594 [06-Jan-2010 11:45:18 ] Retrieved data for 10.7.0.9 (): 9,8,81827916,35395284,1346517318,26 Use of uninitialized value in split at /usr/share/cricket/collector line 274. [06-Jan-2010 11:45:18*] Could not find any datasources for target type 10.7.0.10. [06-Jan-2010 11:45:18*] No data retrieved. Skipping RRD update. --- snip ---
All the boxes that is failing is procurve switches.. All the Cisco boxes are OK. I have some older catalyst switches i can lab on, but all our newer infrastructure use Procurves :-/ Any help here i greatly appreciated.
Also, /etc/nav/cricket-config/switches/Defaults looks incomplete/corrupt:
graph cpu1min units = % color = dark-green draw-as = AREA y-axis = "Percent CPU utilization" legend
The file ends after the tab where the "=" sign should be.
I tried to fix it with some copy/paste, but I really dont know what should be there. What generates this file and where do the settings come from?
So, I will let this installation go like this for the rest of the weekend. I do not expect to find that much is fixed by it self on Monday :-/ A more structured approach is what I need to come up with. Suggestions are very welcome!
:-D
mvh Nils Olav Fossum