Hi Eric,

On Wed, Jan 03, 2007 at 09:56:14PM -0500, Eric Newton wrote:
> for the device, as you have seen.  I don't know why you are getting 
> these phantom pings, nor do I know why they would be failing the checksum.

Ah, yes. "Destination Host Unreachable" can be a valid response from the
last hop before the device. I presume AsyncPing.py doesn't understand
the format:

36 bytes from bsu.cba.cork.novanetworks.ie (84.203.146.8): Destination
Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 6800 0acf   0 0000  3d  01 c1f3 91.142.110.3  84.203.146.138

> If you change:
> 
>    icmppkt = icmp.Packet(ipreply.data)
> 
> to:
> 
>   icmppkt = icmp.Packet(ipreply.data, 0)
> 
> In $ZENHOME/Products/ZenStatus/AsyncPing.py, then it won't fail the 
> checksum and log the error, but you will still get "unexpected" log 
> messages.

Thanks, that cleans up the zenping output. I've done the same for Ping.py
for zendisc - that unmasked something else:

DEBUG:zen.Ping:morepkts=True jobqueue=0
DEBUG:zen.Ping:incount=0 outcount=0
INFO:zen.Ping:ping cycle complete Thu Jan  4 11:56:26 2007
INFO:zen.Ping:pinged 4094 devices in 41.92 seconds
Error: 'NoneType' object has no attribute 'id'

cheers,
Sascha Luck
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to