Re: [tkined] scotty-2.1.8 available

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 3 Feb 1998 08:41:42 +0100

>>>>> lamaster writes:

lamaster> I have had some problems with the FreeBSD tkined 2.1.6 port
lamaster> release doing network and route discover, so, I thought I
lamaster> would try 2.1.8. It compiles and runs OK so far, but, it
lamaster> seems to have an annoying new bug: if a view contains a
lamaster> stripchart with interface load displayed, you get the
lamaster> following periodic message:

lamaster> divide by zero while executing "expr ( 8.0 * $delta / $secs
lamaster> ) / $speed * 100" (procedure "ShowIfLoadProc" line 39)
lamaster> invoked from within "ShowIfLoadProc stripchart0 noError
lamaster> "{1.3.6.1.2.1.1.3.0 TimeTicks {0d 2:17:36.47}}
lamaster> {1.3.6.1.2.1.2.2.1.10.3 Counter32 0} {1.3.6.1.2.1.2.2.1.16.3
lamaster> Counte..." (snmp callback)

I guess that $speed is 0, which probably means that the ifSpeed value
for this interface is 0 too. The source of snmp_monitor.tcl shows
that the script skips interfaces with ifSpeed 0. Did you set the
SNMP-Monitor:IfSpeed attribute to 0? If not, please try to set the
SNMP-Monitor:IfSpeed value to the real speed.

I can't reproduce this problem because it simply works with our SNMP
agents.
Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3283)
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.