I want to configre my 2821 router for scripting, so that when ever interface increases certain threshold, i will get a email about notification.
I put the wan_load_alarm.tcl in flash and configure the mail server etc according to the cisco doc, but when i try to associate TCL script with policy i got the following error
event manager policy wan_load_alarm.tcl
Register event failed:can't read "wan_load_interval": no such variable
"::cisco::eem::event_register_timer watchdog name wan_load_timer time $wan_load_interval queue_priority low nice 1
Tcl policy execute failed: can't read "wan_load_interval": no such variable
Embedded Event Manager configuration: failed to retrieve intermediate registration result for policy wan_load_alarm.tcl: Unknown error 0
event manager environment _email_server 172.28.32.23
event manager environment _email_from [email protected]
event manager environment _email_to [email protected]
Kindly help me how to configure it.