12-05-2016 09:12 PM
I don't know Why is not running tclsh on cisco IOS XR
My system is running with Check_CRC script.
I want to running another Check_load script on my system.
But, The load_check script is not running, because the system is already running crc_check script.
Let me know, How can I use load_chek script on this system with Check_CRC scripts?
Below CLIs are already configuration on my system.
event manager policy Check_CRC_next.tcl username sunny persist-time 3600 type user
event manager policy Check_CRC_first.tcl username sunny persist-time 3600 type user
RP/0/0/CPU0:IOS-XRv-1#show users
Tue Dec 6 13:58:48.920 UTC
Line User Service Conns Idle Location
* con0/0/CPU0 sunny hardware 0 00:00:00
vty100 Fault Manager 0 00:00:50 0.0.0.0
RP/0/0/CPU0:IOS-XRv-1#more disk0:Check_CRC_first.tcl
Tue Dec 6 14:01:30.259 UTC
::cisco::eem::event_register_timer countdown time 1 name crc_first maxrun 86400
~~~~~ omit ~~~~~
RP/0/0/CPU0:IOS-XRv-1#more disk0:Check_CRC_next.tcl
Tue Dec 6 14:01:22.389 UTC
::cisco::eem::event_register_timer watchdog time 86400 name crc_next maxrun 86400
~~~~~ omit ~~~~~
Below CLI is new configuration on my system, But not executed.
--> If already two CLIs deleted then below CLI is normal operating.
event manager policy Check_load.tcl username sunny persist-time 3600 type user
RP/0/0/CPU0:IOS-XRv-1#more disk0:/Check_load.tcl
Tue Dec 6 13:59:50.815 UTC
::cisco::eem::event_register_timer watchdog time 60 name loadcheck maxrun 60
~~~~~ omit ~~~~~
12-06-2016 06:43 AM
IOS-XR only has one Tcl thread, so two Tcl policies can't run at the same time. But if you stagger your timers, say with subtle offsets, you should be okay. For example, change your 60 second watchdog to 82 seconds. Just make sure that two timers don't always overlap.
12-07-2016 04:21 AM
Thanks for your very good support !^^
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide