Re: Cricket crashing on network timeout
"Simon Allard" <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
[06-Oct-2006 15:10:40*] No response from "sw01-h.akl1" [203.89.191.38].161 [06-Oct-2006 15:10:40 ] Retrieved data for chassis-catalyst (0): U,U,U,U [06-Oct-2006 15:10:40 ] Some data is missing for chassis-catalyst (0). [06-Oct-2006 15:11:05*] No response from "sw01-h.akl1" [203.89.191.38].161 - Skipping. [06-Oct-2006 15:11:05 ] Retrieved data for device-traffic (): U,U [06-Oct-2006 15:11:05 ] Some data is missing for device-traffic (). [06-Oct-2006 15:11:05 ] Retrieved data for switch-cpu (9): U [06-Oct-2006 15:11:05 ] Some data is missing for switch-cpu (9). [06-Oct-2006 15:11:05 ] Walking ciscoMemoryPoolName for sw01-h.akl1:161:5.0:5:1.0:2c to resolve mem-stats mapping Use of uninitialized value in hash element at /usr/share/cricket/lib/Common/Map.pm line 159. [06-Oct-2006 15:11:05*] Failed to map instance for switch-mem. Instance is now set to nothing. [06-Oct-2006 15:11:05 ] Retrieved data for switch-mem (): U,U [06-Oct-2006 15:11:05 ] Some data is missing for switch-mem (). [06-Oct-2006 15:11:05 ] Retrieved data for switch-mem (1): U,U [06-Oct-2006 15:11:05 ] Some data is missing for switch-mem (1). [06-Oct-2006 15:11:05 ] Walking ifName for sw01-h.akl1:161:5.0:5:1.0:2c to resolve module-port mapping Use of uninitialized value in hash element at /usr/share/cricket/lib/Common/Map.pm line 159. [06-Oct-2006 15:11:05*] Failed to map instance for port1_1. Instance is now set to nothing. [06-Oct-2006 15:11:05 ] Retrieved data for port1_1 (): U,U,U,U,U,U [06-Oct-2006 15:11:05 ] Some data is missing for port1_1 (). [06-Oct-2006 15:11:05 ] Retrieved data for port1_1 (4): U,U,U,U,U,U [06-Oct-2006 15:11:05 ] Some data is missing for port1_1 (4). [06-Oct-2006 15:11:05*] Failed to map instance for This are the logs I get when I run cricket without debug mode enabled. Also, interesting to note, that if I run cricket by hand in a shell, it works fine. Simon Allard Maxnet - AS9889 P: +64 9 913 9997 M: +64 21 622 717 E: [email protected] ________________________________________ From: Simon Allard [mailto:[email protected]] Sent: Friday, 6 October 2006 2:35 p.m. To: '[email protected]' Subject: Cricket crashing on network timeout Hi Guys I am using cricket 1.0.5 on Ubuntu edgy. It works really well but when I have a network event which causes the SNMP to timeout, the polling dies, which means the other appliances dont get graphed until I notice and delete the lock file, which really sucks when trying to debug why your network is dead :P Currently I am trying to graph about 20 devices, and using genRtrConfig to generate the config files. This is what I am seeing with debug enabled. [06-Oct-2006 13:06:37 ] Retrieving data for target port2_4 (14) (standard-interface) [06-Oct-2006 13:06:37 ] ds0 is: //[email protected]:161:5.0:5:1.0:2c/ifInOctets.14 [06-Oct-2006 13:06:37 ] ds1 is: //[email protected]:161:5.0:5:1.0:2c/ifOutOctets.14 [06-Oct-2006 13:06:37 ] ds2 is: //[email protected]:161:5.0:5:1.0:2c/ifInErrors.14 [06-Oct-2006 13:06:37 ] ds3 is: //[email protected]:161:5.0:5:1.0:2c/ifOutErrors.14 [06-Oct-2006 13:06:37 ] ds4 is: //[email protected]:161:5.0:5:1.0:2c/ifInUcastPkts.14 [06-Oct-2006 13:06:37 ] ds5 is: //[email protected]:161:5.0:5:1.0:2c/ifOutUcastPkts.14 [06-Oct-2006 13:06:37 ] ds6 is: //[email protected]:161:5.0:5:1.0:2c/1.3.6.1.2.1.31.1.1.1.1.14 [06-Oct-2006 13:06:37 ] Getting from [email protected]:161:5.0:5:1.0:2c 1.3.6.1.2.1.2.2.1.10.14 1.3.6.1.2.1.2.2.1.16.14 1.3.6.1.2.1.2.2.1.14.14 1.3.6.1.2.1. 2.2.1.20.14 1.3.6.1.2.1.2.2.1.11.14 1.3.6.1.2.1.2.2.1.17.14 1.3.6.1.2.1.31.1.1.1.1.14 [06-Oc[ It almost looks like the SNMP lib is causing the problem but I have no idea how to fix it. root@acidmonkey:/var/log/cricket# dpkg -l | grep snmp ii libnet-snmp-perl 5.2.0-1 Script SNMP connections ii libsnmp-base 5.2.2-5ubuntu1 NET SNMP (Simple Network Management Protocol ii libsnmp-perl 5.2.2-5ubuntu1 NET SNMP (Simple Network Management Protocol ii libsnmp-session-perl 1.08-1 Perl support for accessing SNMP-aware device ii libsnmp9 5.2.2-5ubuntu1 NET SNMP (Simple Network Management Protocol ii snmp 5.2.2-5ubuntu1 NET SNMP (Simple Network Management Protocol root@acidmonkey:/var/log/cricket# dpkg -l | grep cricket ii cricket 1.0.5-4 Program for collection and display of time-s Does anyone have any ideas on what could be causing this problem? I ran into exactly the same problem with Ubuntu dapper, hence why I upgraded to edgy to see if an upgrade in the SNMP libs would fix the problem. Would appreciate any help! Simon Allard Maxnet - AS9889 P: +64 9 913 9997 M: +64 21 622 717 E: [email protected] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV