I need to be able to monitor traffic when I want to and not when TrafficMonitor does. It only executes scripts when the threshold is past.
I need to be able to pull a monitor-traffic ether1 once then take the usage on the tx or rx and record that to a variable that I manipulate and compare.
rx-bits-per-second: 29.3kbps
or
tx-bits-per-second: 54.4kbps
I need these as
29300
and
54400
I have tried a few things but none seem to work.
example
[admin@PteraOffice] /interface> :set monitors {/monitor-traffic Office once}
[admin@PteraOffice] /interface> :put $monitors
[admin@PteraOffice]
Any one already done this or know how?