this is a really simplified script of what I'm trying to do, but the first two lines don't work, and I can't figure out how to do a get on this figure... I don't care if I need to use a few extra lines to pull the tx/rx speeds, I simply can't figure out how to get just the rx/tx values into variables. Is there another way besides /interface monitor-traffic? the only thing I can think of is /interface ethernet print stats from=ether1 but that doesn't give current bits per second rate info...
:set ULSP [/interface monitor-traffic ether1 once get rx-bits-per-second]
:set DLSP [/interface monitor-traffic ether1 once get Tx-bits-per-second]
:log info "Current DL speed is $ULSP"
:log info "Current UL speed is $DLSP"