Currently there is only online state checking by /tools netwarch and print terse can display status:
Code: Select all
0 comment=host1 host=192.168.1.101 timeout=1s interval=1m since=apr/27/2009 17:09:00 status=up up-script="" down-script=""
1 comment=host2 host=192.168.1.102 timeout=1s interval=1m since=apr/26/2009 08:59:44 status=down up-script="" down-script=""
2 comment=host3 host=192.168.1.103 timeout=1s interval=1m since=apr/26/2009 08:59:44 status=down up-script="" down-script=""
3 comment=host4 host=192.168.1.104 timeout=1s interval=1m since=apr/27/2009 09:28:00 status=up up-script="" down-script=""
...
Anyway second way could be make own netwatch using scripting engine if it is possible at all. But where to start. It is possible to create own script and upload it to routerboard and set scheduler to run it every second. Routerboard have ping command too which display latency but can it be used by script to get latency, I hope so.
Code: Select all
[admin@router] > /ping 192.168.0.1
192.168.0.1 64 byte ping: ttl=63 time=1 ms
192.168.0.1 64 byte ping: ttl=63 time<1 ms
Is it possible?
Or have somebody similar solution already?
Thanks in advance.