[tkined] Flashing icon

From: philippe mounier (mounier@enac.fr)
Date: Fri Nov 30 2001 - 09:39:06 MET


Hi,

Is it possible to stop flashing icon when we receive trap to acknowledge it ?

For example, in file snmp_monitor.tcl :

proc TrapSinkProc {s src vbl} {

..........

  ForeachIpNode id ip host [ined -noupdate retrieve] {
         if {$ip == $src} {
             set trap [lindex [lindex $vbl 1] 2]
             set name "[$s cget -version] Trap"
             ined -noupdate attribute $id $name "$trap at [clock format
[clock seconds]]"
             ined -noupdate label $id $name
++ ined -noupdate flash $id 1000
-- ined -noupdate flash $id 10
         }
     }
............

thanks

Philippe

--
!! 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.



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:28 MET