Community discussions

MikroTik App
 
kiwistag
just joined
Topic Author
Posts: 16
Joined: Mon Jun 24, 2013 12:53 am
Location: New Zealand

Feature Request: Network Maps rotation

Sat Jun 17, 2017 11:42 am

Network Maps:
It would be handy to have a user-option that can rotate through the Network Maps on say a 10 second/predetermined cycle showing all the elements laid out.

For a visual output in a SysAdmin's office it could then bring to attention any devices down, especially where a Flash or Popup may lock to the Map a device has failed on.

In a few places we are looking at old refurbishing old WinXP Thin Clients (the type that erases an unsaved session on reset) to standalone Dude clients for this exact purpose. So far a static map of the main network is very handy but adding this would be one heck of a next step up!
 
Uwe
just joined
Posts: 6
Joined: Wed Jan 13, 2016 3:42 pm

Re: Feature Request: Network Maps rotation

Thu Aug 31, 2017 2:29 pm

I just found this request, before writing my own.

This is exactly what we need in our NOC.
Better than cycling through maps: cycle panels.
I'm sure this feature will be used extensively by anyone who manages more than one network.

As a consequence: save also pane settings (zoom, split view).

Uwe

Update: until this feature is implemented, you can use this AutoIt Script:
  • Mark starting map in Dude
  • Start script or compiled exe
  • Enter number of maps
  • Enter interval in seconds
  • Program stops after mouse-over on tray icon
New version 05.09.2017, now stops immediately on mouseover
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=dudecycle.exe
#AutoIt3Wrapper_Outfile_x64=dudecycle64.exe
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Res_Comment=See Mikrotik feature request
#AutoIt3Wrapper_Res_Description=Cycle Network Maps
#AutoIt3Wrapper_Res_Fileversion=1.0.0.13
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_LegalCopyright=Uwe
#AutoIt3Wrapper_Res_Language=1031
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

$nm=InputBox("DudeCycle","Number of Maps:",5)
$c=InputBox("DudeCycle","Hint: MouseOver Taskbar to Exit" & @crlf & "Seconds:",20)
global $i=0
$whdl=WinGetHandle("[CLASS:dude_top]")
$LOOP=True
AdlibRegister("go",$c*1000)
$n=$nm-1
while $LOOP
	Local $msg = TrayGetMsg()
    Select
		Case $msg = 0

		case else

			ExitLoop
	EndSelect
	sleep(200)
WEnd
AdlibUnRegister()

func go()
	if $i<$n Then
		ControlSend($whdl,"","routeros_dbl_canvas1","{DOWN}")
		ControlSend($whdl,"","routeros_dbl_canvas1","{ENTER}")
		sleep(200)
		$i+=1
	else
		for $j=1 to $n
			ControlSend($whdl,"","routeros_dbl_canvas1","{UP}")
			sleep(200)
		Next
		ControlSend($whdl,"","routeros_dbl_canvas1","{ENTER}")
		$i=0
		sleep(200)
	EndIf
EndFunc

Use and modify at your own risk.

Who is online

Users browsing this forum: No registered users and 15 guests