collecting packets from arduino

I want to collect data or dropped packets when two arduino nodes comnucate with each other.
Does anybody know about tools which are able to handle this issue? something like pakcet analyzer or spectrum analyzer

I think you need to be a little more specific.

How are your Arduinos comunicating ? serial ? Ethernet ? wireless ? Xbee?

What packages are you talking about ?

With more detailed info we can better answer your question(s)

xbee is used to communicate with other nodes.
Arduino duemilanove with atmega328, xbee shield v1.0 and xbee series2 are used.

The xbee protocol handles packaging data, checksums, retransmissions, etc. by being built on top of the tcp/ip protocol. There should not be dropped packets.