A few days ago, I wrote:
Juergen> I removed this feature because some users did not like to see
Juergen> their syslog files filled up with messages about unreachable
Juergen> hosts.
On Fri, 24 Feb 1995 18:22:24 -0500,
"John P. Rouillard" <rouilj@cs.umb.edu> said:
John> shouldn't the set options/syslog button enable the syslog feature?
Below is a diff that turns syslog messages on when your enable the
syslog threshold option.
John> Also shouldn't the set options intervals and notification method in
John> the ip_monitor be a per job rather than a per monitor issue?
Yes, but this is hard to implement. The current handling of monitoring
jobs was a bad idea and I am thinking about a more flexible mechanism
that will separate data acquisition from data processing. I will move
some of the functionality currently coded in the monitoring jobs (like
threshold checking etc.) into the Tkined editor. This will hopefully
make the implementation of monitoring jobs much simpler and it will
allow you to switch between presentations easily.
Juergen
*** ../../scotty-1.2.3/tkined/ip_monitor.tcl Fri Dec 9 11:52:47 1994
--- ip_monitor.tcl Mon Feb 27 11:34:51 1995
***************
*** 182,188 ****
ined -noupdate attribute $id \
"round trip time" "[ined name $id]\nunreachable"
ined -noupdate label $id "round trip time"
! # syslog warning "[ined name $id] \[$ip\] unreachable"
} else {
if {$reachability_color($id) != ""} {
ined -noupdate color $id $reachability_color($id)
--- 182,190 ----
ined -noupdate attribute $id \
"round trip time" "[ined name $id]\nunreachable"
ined -noupdate label $id "round trip time"
! if {[lsearch [MoJoThresholdAction] syslog] >= 0} {
! syslog warning "[ined name $id] \[$ip\] unreachable"
! }
} else {
if {$reachability_color($id) != ""} {
ined -noupdate color $id $reachability_color($id)
***************
*** 265,271 ****
ined values $id 0
ined -noupdate attribute $id \
"round trip time" "[ined name $id]\nunreachable"
! # syslog warning "[ined name $id] \[$ip\] unreachable"
} else {
ined values $id [expr {$rtt/10}]
ined -noupdate attribute $id \
--- 267,275 ----
ined values $id 0
ined -noupdate attribute $id \
"round trip time" "[ined name $id]\nunreachable"
! if {[lsearch [MoJoThresholdAction] syslog] >= 0} {
! syslog warning "[ined name $id] \[$ip\] unreachable"
! }
} else {
ined values $id [expr {$rtt/10}]
ined -noupdate attribute $id \