I suppose this topic would suit better on a cricket mailing list, but I'll give it a shot here.
Ever since I tweaked the cricket version in NAV to not log INFO level to /var/log/cricket/normal.log, my cricket has completely stopped drawing graphs. When I look at my apache error file, I get the following error(s) every time I try to reload or open the page:
[Fri Dec 12 09:46:13 2008] [error] [client 172.19.10.83] Name "Common::global::gEnableSearch" used only once: possible typo at /var/www/nav/cricket/index.cgi line 841., referer: https://nav.hn-ikt.no/cricket/?target=%2Frouter-interfaces%2Fgw1.domain.com%... [Fri Dec 12 09:46:13 2008] [error] [client 172.19.10.83] Name "Common::global::gEnableSearch" used only once: possible typo at /var/www/nav/cricket/index.cgi line 841., referer: https://nav.hn-ikt.no/cricket/?target=%2Frouter-interfaces%2Fgw1.domain.com%... [Mon Dec 15 08:07:14 2008] [error] [client 172.19.10.83] Name "Common::global::gEnableSearch" used only once: possible typo at /var/www/nav/cricket/index.cgi line 841., referer: https://nav.hn-ikt.no/cricket/?target=%2Frouter-interfaces%2Fgw1.domain.com [Mon Dec 15 08:07:14 2008] [error] [client 172.19.10.83] Name "Common::global::gEnableSearch" used only once: possible typo at /var/www/nav/cricket/index.cgi line 841., referer: https://nav.hn-ikt.no/cricket/?target=%2Frouter-interfaces%2Fgw1.domain.com%... [Mon Dec 15 08:07:14 2008] [error] [client 172.19.10.83] Name "Common::global::gEnableSearch" used only once: possible typo at /var/www/nav/cricket/index.cgi line 841., referer: https://nav.hn-ikt.no/cricket/?target=%2Frouter-interfaces%2Fgw1.domain.com%...
When I google the error, I get some bug from 2005 that doesn't seem too relevant with my version or setup. I don't even know if the error is related with my cricket not drawing anything, but as its classified as an "error" I suppose its worth mentioning. collect-subtrees and the other navcron initiated cronjobs seems to finish without significant errors (except some interface mapping issues) and I don't think the collector itself doesn't work. I just think it for some reason can't draw the graphs onto the default graph template. So in other words, I see the graph template but no data written onto it.
Can some cricket guru please tell me how I should proceed to make my cricket draw graphs again? :(
Thank you in advance.
------------------------------------------------------ Vidar Stokkenes Networking Consulant Dep. for networking og telecommunications HN IKT - Tromsø
Phone: (+47) 76 16 61 87 or (+47) 77 66 99 55 Cell: 95 87 99 42 e-mail: vidar.stokkenes@hn-ikt.nomailto:vidar.stokkenes@hn-ikt.no [cid:image001.png@01C95E8D.01C0C4E0] P Before printing, think about the environment