[c-nsp] EEM Multiple Outputs

Mohammad Khalil eng_mssk at hotmail.com
Sun May 17 05:56:26 EDT 2015


I have tried to build a script that will view multiple outputs , but it did not work for me

R1#sh run | sec event manager
event manager applet MULTIPLE
 event none sync yes
 action 1.0 cli command "show interfaces fastEthernet 1/0 | inc broadcasts"
 action 1.1 cli command "show processes cpu sorted | inc CPU"
 action 1.2 set PAR1 "$_cli_result"
 action 1.3 set PAR2 "$_cli_result"
 action 1.4 puts "$PAR1 $PAR2"

R1#event manager run MULTIPLE
CPU utilization for five seconds: 7%/100%; one minute: 6%; five minutes: 3%
R1> CPU utilization for five seconds: 7%/100%; one minute: 6%; five minutes: 3%
R1>

BR,
Mohammad 		 	   		  


More information about the cisco-nsp mailing list