Forum Discussion

flupe_183924's avatar
flupe_183924
Icon for Nimbostratus rankNimbostratus
Jan 23, 2015

TCL error

Hi , What I try to do is show the putput of the command show pem stats subscriber .....This command is executed when typing tmsh.....

 

How do I have to execute this command in TCL in the right dir ???? the polling itself works via snmpwalk but I get tcl callback pemconnection return string: couldn't execute "show": no such file or directory

 

thanks for the help

 

register_mib ".8" pem string

 

proc pem {} { set result [exec tmsh] set status [catch {exec show pem stats subscriber | grep Unknown | grep -v Maximum} result] return $result }