Page 1 of 1

Export Map interval

Posted: Thu Aug 04, 2016 8:51 pm
by redbullsteve
Guys,

I may be missing something obvious but hope someone can help.
I want to export a network map to an image file, now this I can do on a one off but i'm im sure I use to be able to set an interval time so it would be exported aver 5min, 10min etc.
Am I going mad or has this disappeared or has it been moved?

Thanks in advanced.

Steve

Re: Export Map interval

Posted: Mon Aug 08, 2016 11:25 am
by krisjanis
As far as I know this action can only be done manually.

Re: Export Map interval

Posted: Tue Aug 09, 2016 6:01 pm
by redbullsteve
Many thanks,

It was available not that long ago but appears to have vanished, it is however still showing as a setting in your wiki.

Export
It is possible to configure automatic scheduling of map image export:

Type - image format to use (bmp, png, ps, jpg, pdf, svg)
Interval - how often to save the map image

http://wiki.mikrotik.com/wiki/Manual:Th ... Device_map

If it has been removed please please but it back as we us it to update a site status page.

Thanks

Re: Export Map interval

Posted: Wed Aug 10, 2016 11:27 am
by krisjanis
It was a legacy setting from v4. I had forgotten to remove it from reworked manual (corrected now).

This feature wont be making comeback in new versions as it was done on server side not the client.

Re: Export Map interval

Posted: Wed Aug 10, 2016 7:54 pm
by Sob
But it was very useful feature. I embed exported images of Dude maps in web page, to have quick overview of current status from anywhere. It's great, because it works even with the most stupid http client (e.g. on mobile phone).

With old Windows Dude, I could just point webserver on same machine to Dude's files directory and access exported images. With new RouterOS-only Dude it was not so easy, because files could not be accessed using http. But it was still possible to get to them using ftp or smb (probably sftp too, but I did not test that), so a script could download them to web server.

What can I do now? It looks like the only way to view maps is using Dude client, so it always requires some "big computer", no chance for simple phone.

Re: Export Map interval

Posted: Fri Aug 12, 2016 5:24 am
by changeip
yes, at the moment i cannot switch to new dude because all external access has been removed. Such a shame. Please add some type of API / HTTP / etc so that we can query things from other systems.

Re: Export Map interval

Posted: Fri Aug 12, 2016 4:08 pm
by krisjanis
@sob

If more users will request return of automated map image generation on server device then I'll check with DEV if we can get this feature returned.

@changeip

CLI support for The Dude is being worked on as we speak, so access over API will be an option when CLI side is finished. New web interface will come at some point after that.

Re: Export Map interval

Posted: Fri Aug 12, 2016 6:37 pm
by Sob
Ok, hopefully there will be more users who will want it back.

When/if that happens, I think it could be better to change it a little. Generating images over and over seems a little pointless, because most of the time, no one is looking at them. It's possible to use longer interval, but when someone needs to look (often when something "funny" starts happening), you need as fresh data as possible, so preferably very short interval. But one goes against the other.

The solution would be to make it work on-demand. Make maps accessible using e.g. http://dudeserver/dude/maps/<mapname>.<extension> and only generate new image when the request comes. Plus some simple caching, to protect router from too many requests at the same time, i.e. do not generate new image if the old one is not older than X seconds.

Re: Export Map interval

Posted: Mon Mar 06, 2017 2:56 pm
by JavierTF
It seems to me a very useful option, for my part, add me to the request.

Re: Export Map interval

Posted: Sat Mar 11, 2017 7:32 pm
by manuzoli
i absolutely need this feature. pls return :)

Re: Export Map interval

Posted: Fri Oct 13, 2017 2:19 am
by jo2jo
I also wish this feature would return, we use various programs to display maps/graphs of network stats, and they all allow embedding/placment of iFrame and other items.

Currently embeding a iframe for the WebFig based Dude map will work for a few minutes (via iframe) , but webfig login will time out, forcing user intervention (to login/pass into webfig).

we used to use the export map to jpg fuction (via cron/script) on the old dude, and really need this feature back on new dude. (or maybe a way to access a map directly via a http url)

tks

EDIT: also when viewing a large dude map in chrome via webfig, CPU utilization is SUPER high (on a fast pc).. could be chrome issue, but seems isolated to webfig, dude map. (i do have a 430kb PNG as my map background) -- all more reason that we need some type of timed .jpg or .png (or anyformat) map export option from dude directly (like it had before)
tks

Re: Export Map interval

Posted: Sun Dec 03, 2017 11:35 pm
by JDSurfnet
I would also like this feature to make a comeback.

Re: Export Map interval

Posted: Wed Mar 28, 2018 2:33 pm
by vdiago
I need this feature too. Thanks.

Re: Export Map interval

Posted: Thu Sep 06, 2018 7:34 pm
by excession
+1 Please add

Re: Export Map interval

Posted: Sun Nov 11, 2018 4:31 am
by tssthrowaway
+1 please re-add this feature.

Absolutely critical in building status pages for our clients.

Does anyone have a script that will do this via HTTP?

Re: Export Map interval

Posted: Sat Dec 29, 2018 11:26 am
by mobilemanic
I would also find a use for that functionality.

At the moment it is possible to show maps in WebFig like: http://IP/webfig/#Dude:Network_Maps.Network_Map.10159, but it cannot be embedded, you must have admin user with empty password and I still have a problem that not all images are being shown on the map (but some of device images are shown, usually 3 or 4 of them, no idea why).

Possibility to do an export of the map image sounds like a much better solution...

Re: Export Map interval

Posted: Sun Aug 18, 2019 2:05 pm
by ofendt
I would like a Auto-Snapshot as well. It was realy a intressting feature. You could show status on Website.

Re: Export Map interval

Posted: Tue Oct 01, 2019 10:44 pm
by alidamji
+1 Please add this feature

Re: Export Map interval

Posted: Mon Oct 21, 2019 12:38 pm
by JohnnyMahoney
+1!

Sent from my ZUK Z2121 using Tapatalk


Re: Export Map interval

Posted: Tue Oct 29, 2019 12:38 pm
by maxmanus
+1 we need this for our dashboard