small patch for scotty-0.9

Juergen Schoenwaelder (schoenw@diana)
Thu, 10 Mar 94 13:33:55 +0100

Hi!

Last night I wrote:

- running monitoring jobs can be restarted when loading
a previously saved tkined map

Perhaps you have already found that this is not working. I made one of
those cosmetic changes and it was late in the evening yesterday...

Anyway, here is the patch that really makes running ip monitors
reappear. I already fixed the tar file on our ftp server, so if you
get scotty now, there is no need to apply this patch. Sorry for any
inconvenience.

Juergen

*** tkined/ip_monitor.tcl Thu Mar 3 22:03:14 1994
--- tkined/ip_monitor.tcl Thu Mar 10 13:06:44 1994
***************
*** 293,299 ****
if {[info exists ids]} {
ined_create_job [list reachability $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {check reachability} $rsids"
}
}

--- 293,299 ----
if {[info exists ids]} {
ined_create_job [list reachability $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {Check Reachability} $rsids"
}
}

***************
*** 359,365 ****
if {[info exists ids]} {
ined_create_job [list pingtime $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {round trip time} $rsids"
}
}

--- 359,365 ----
if {[info exists ids]} {
ined_create_job [list pingtime $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {Round Trip Time} $rsids"
}
}

***************
*** 432,438 ****
if {[info exists ids]} {
ined_create_job [list sysload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {system load} $rsids"
}
}

--- 432,438 ----
if {[info exists ids]} {
ined_create_job [list sysload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {System Load} $rsids"
}
}

***************
*** 508,514 ****
if {[info exists ids]} {
ined_create_job [list cpusplit $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {cpu activity} $rsids"
}
}

--- 508,514 ----
if {[info exists ids]} {
ined_create_job [list cpusplit $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {CPU Activity} $rsids"
}
}

***************
*** 584,590 ****
if {[info exists ids]} {
ined_create_job [list diskload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {disk activity} $rsids"
}
}

--- 584,590 ----
if {[info exists ids]} {
ined_create_job [list diskload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {Disk Activity} $rsids"
}
}

***************
*** 660,666 ****
if {[info exists ids]} {
ined_create_job [list ifload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {interface activity} $rsids"
}
}

--- 660,666 ----
if {[info exists ids]} {
ined_create_job [list ifload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {Interface Activity} $rsids"
}
}

***************
*** 731,737 ****
if {[info exists ids]} {
ined_create_job [list etherload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {ethernet load} $rsids"
}
}

--- 731,737 ----
if {[info exists ids]} {
ined_create_job [list etherload $ids] $intervall
foreach id $ids { append rsids "\$$id " }
! ined restart "restart {Ethernet Load} $rsids"
}
}