Volker> I am back with a new problem ... sorry !! The patch from
Volker> Juergen Schoenwaeder works good, this job wont be deleted, but
Volker> now I have a problem with CpuSplitProc. I sart the job for
Volker> some Linux-clients and after a while, I get this error mesage:
[snip]
Volker> Do someone know a patch, so that the job will work fine ???
Below is a more complete patch against tkined/apps/ip_monitor.tcl from
the scotty-2.1.8 distribution. BTW, you should also check whether you
can get a new rstat daemon on the monitored device because it seems to
report discontinuities quite frequently. ;-)
Juergen
*** /tmp/scotty-2.1.8/tkined/apps/ip_monitor.tcl Wed Oct 23 12:16:32 1996
--- ip_monitor.tcl Mon Mar 16 19:30:19 1998
***************
*** 442,447 ****
--- 442,449 ----
array set r [ComputeStatDelta $sysload_stat($id) $res]
set sysload_stat($id) $res
+ if {[array size r] == 0} continue
+
set load [format "%.2f" $r(avenrun_0)]
ined -noupdate values $id $load
***************
*** 515,520 ****
--- 517,524 ----
array set r [ComputeStatDelta $cpusplit_stat($id) $res]
set cpusplit_stat($id) $res
+ if {[array size r] == 0} continue
+
set load ""
foreach n $names {
lappend load $r($n)
***************
*** 593,598 ****
--- 597,604 ----
array set r [ComputeStatDelta $diskload_stat($id) $res]
set diskload_stat($id) $res
+ if {[array size r] == 0} continue
+
set load ""
foreach n $names {
lappend load [expr $r($n) * 2]
***************
*** 667,673 ****
}
array set r [ComputeStatDelta $ifload_stat($id) $res]
! set ifload_stat($id) $res
set load ""
foreach n $names {
--- 673,680 ----
}
array set r [ComputeStatDelta $ifload_stat($id) $res]
! set ifload_stat($id) $res
! if {[array size r] == 0} continue
set load ""
foreach n $names {
-- !! 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.