Hello, I’m new in RouterOS API. I’m copied and modified a script from the manual to obtain information of transfer of the interface of my Mikrotik. Casually i include a name incorrect and script returns values anyway. I think that my script has a error. The query is:
<<< /interface/monitor-traffic
<<< ?name=etherx-nameincorrect
=once=
And the return:
!re
=rx-packets-per-second=2626
=rx-bits-per-second=12127232
=fp-rx-packets-per-second=0
=fp-rx-bits-per-second=0
=rx-drops-per-second=0
=rx-errors-per-second=0
=tx-packets-per-second=2301
=tx-bits-per-second=5805240
=fp-tx-packets-per-second=0
=fp-tx-bits-per-second=0
=tx-drops-per-second=0
=tx-errors-per-second=0
But the interface etherx-nameincorrect not exist !