Community discussions

MikroTik App
 
redbullsteve
just joined
Topic Author
Posts: 22
Joined: Wed Feb 02, 2011 12:37 am

Export Map interval

Thu Aug 04, 2016 8:51 pm

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
 
krisjanis
MikroTik Support
MikroTik Support
Posts: 432
Joined: Tue Feb 05, 2013 5:00 pm

Re: Export Map interval

Mon Aug 08, 2016 11:25 am

As far as I know this action can only be done manually.
 
redbullsteve
just joined
Topic Author
Posts: 22
Joined: Wed Feb 02, 2011 12:37 am

Re: Export Map interval

Tue Aug 09, 2016 6:01 pm

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
 
krisjanis
MikroTik Support
MikroTik Support
Posts: 432
Joined: Tue Feb 05, 2013 5:00 pm

Re: Export Map interval

Wed Aug 10, 2016 11:27 am

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.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: Export Map interval

Wed Aug 10, 2016 7:54 pm

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.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Export Map interval

Fri Aug 12, 2016 5:24 am

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.
 
krisjanis
MikroTik Support
MikroTik Support
Posts: 432
Joined: Tue Feb 05, 2013 5:00 pm

Re: Export Map interval

Fri Aug 12, 2016 4:08 pm

@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.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: Export Map interval

Fri Aug 12, 2016 6:37 pm

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.
 
User avatar
JavierTF
just joined
Posts: 13
Joined: Thu Nov 19, 2015 12:15 pm
Location: Santa Cruz de Tenerife
Contact:

Re: Export Map interval

Mon Mar 06, 2017 2:56 pm

It seems to me a very useful option, for my part, add me to the request.
 
User avatar
manuzoli
Frequent Visitor
Frequent Visitor
Posts: 90
Joined: Mon Oct 03, 2016 6:47 pm

Re: Export Map interval

Sat Mar 11, 2017 7:32 pm

i absolutely need this feature. pls return :)
 
jo2jo
Forum Guru
Forum Guru
Posts: 1007
Joined: Fri May 26, 2006 1:25 am

Re: Export Map interval

Fri Oct 13, 2017 2:19 am

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
Last edited by jo2jo on Mon Dec 04, 2017 5:33 am, edited 1 time in total.
 
JDSurfnet
just joined
Posts: 11
Joined: Fri Mar 09, 2012 2:49 am

Re: Export Map interval

Sun Dec 03, 2017 11:35 pm

I would also like this feature to make a comeback.
 
vdiago
just joined
Posts: 1
Joined: Wed Mar 28, 2018 2:32 pm

Re: Export Map interval

Wed Mar 28, 2018 2:33 pm

I need this feature too. Thanks.
 
excession
Member Candidate
Member Candidate
Posts: 122
Joined: Mon May 11, 2015 8:16 pm

Re: Export Map interval

Thu Sep 06, 2018 7:34 pm

+1 Please add
 
tssthrowaway
just joined
Posts: 2
Joined: Sun Nov 11, 2018 4:28 am

Re: Export Map interval

Sun Nov 11, 2018 4:31 am

+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?
 
mobilemanic
just joined
Posts: 2
Joined: Sat Dec 29, 2018 11:03 am

Re: Export Map interval

Sat Dec 29, 2018 11:26 am

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...
 
User avatar
ofendt
just joined
Posts: 23
Joined: Mon Jun 20, 2011 10:17 pm

Re: Export Map interval

Sun Aug 18, 2019 2:05 pm

I would like a Auto-Snapshot as well. It was realy a intressting feature. You could show status on Website.
 
alidamji
just joined
Posts: 13
Joined: Sat Jul 25, 2009 1:54 pm

Re: Export Map interval

Tue Oct 01, 2019 10:44 pm

+1 Please add this feature
 
JohnnyMahoney
just joined
Posts: 1
Joined: Wed Jul 03, 2019 6:11 pm

Re: Export Map interval

Mon Oct 21, 2019 12:38 pm

+1!

Sent from my ZUK Z2121 using Tapatalk

 
maxmanus
just joined
Posts: 4
Joined: Tue May 01, 2012 11:31 pm

Re: Export Map interval

Tue Oct 29, 2019 12:38 pm

+1 we need this for our dashboard
 
User avatar
ofendt
just joined
Posts: 23
Joined: Mon Jun 20, 2011 10:17 pm

Re: Export Map interval

Fri Sep 04, 2020 6:37 pm

+1 please make it work again
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: Export Map interval

Fri Sep 04, 2020 7:21 pm

Maybe when or if Dude comes to life again, but who knows when that might be. I still use old Dude v4 because of this.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Export Map interval

Fri Sep 04, 2020 11:11 pm

Really? I can not imagine to return to that times...

In such rare emergency cases I use Web access to dude to get an overview.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: Export Map interval

Sat Sep 05, 2020 12:40 am

Yep. Maybe my grief over death of Windows Dude clouded my perception, but I don't remember seeing much difference in newer versions. I'll check again some time, if I perhaps missed something. But as I wrote in this thread four years ago (oh how the time flies...), being able to export maps was great feature. I could put them somewhere to have a quick look myself, or show them to someone else who doesn't need full access to Dude.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Export Map interval

Sun Sep 06, 2020 8:08 am

Definitely true. I would like to get that feature back too. But there have been other things I would like to see in dude for ages. And you know how the dude development goes...
 
peakabootoast
just joined
Posts: 2
Joined: Wed Aug 19, 2020 8:15 am

Re: Export Map interval

Thu Oct 29, 2020 11:08 pm

Is there any news regarding this? I need this feature to come back.
 
craigxau
just joined
Posts: 6
Joined: Sat Apr 17, 2021 6:48 am

Re: Export Map interval

Sat Jul 03, 2021 12:02 pm

Hello @mikrotik would you please respond to this thread. I too have a need for this feature if it has not yet returned.

Thanks.
 
User avatar
ilunne
just joined
Posts: 16
Joined: Fri Sep 30, 2016 3:14 am

Re: Export Map interval

Thu Oct 27, 2022 5:11 pm

I also look forward to the return of this function.

Another possibility would be a function that generates a snapshot of the map, this would be utl for example to send the image in a telegram alert. Or even a way to generate the image in the CLI.

Or a direct URL that can be used to access the map.
 
User avatar
ilunne
just joined
Posts: 16
Joined: Fri Sep 30, 2016 3:14 am

Re: Export Map interval

Thu Oct 27, 2022 5:14 pm

@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.
Hello, the Dude project is stopped?
 
foraster
newbie
Posts: 29
Joined: Tue Oct 01, 2019 5:31 pm

Re: Export Map interval

Fri Oct 28, 2022 1:48 pm

Did someone manage to export the Dude viewable map (with the url posted previously) to an image, for example every 10 minutes?

I saw that the svg is embedded into the html code of the page, but can't find a straight way to get it to integrate with another tool into a general dashboard.
 
warfy
just joined
Posts: 4
Joined: Fri Aug 19, 2022 7:20 am

Re: Export Map interval

Mon May 22, 2023 5:44 am

+1 for this feature. Would use it to cycle through different maps on a signage device.
 
User avatar
nisse
newbie
Posts: 28
Joined: Sun Jun 11, 2006 7:34 pm
Location: Malaga, Spain
Contact:

Re: Export Map interval

Wed Jul 05, 2023 6:23 pm

+1 - really need this to re-appear!
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4327
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Export Map interval

Wed Jul 05, 2023 7:10 pm

The Dude maps show up in webfig as SVG, but that doesn't help with exporting either. I take being able to download the map via REST HTTPS, but AFAIK that it isn't possible either. But given Dude map's SVG is already in webfig... one would think it be trivial to implement some URL via REST HTTP to get it programatically...
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4327
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Export Map interval

Wed Jul 05, 2023 8:16 pm

@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.
We're at 17K views on this topic and 7+ years. Is that sufficient feedback for some minor fixes in the Dude? ;)
 
User avatar
mcponcall
just joined
Posts: 13
Joined: Sun Dec 31, 2023 5:33 pm

Re: Export Map interval

Sun Mar 03, 2024 6:05 pm

I am obviously holding my mouth incorrectly. I simply cannot get any svg file into dude/files/default/images :-(

Who is online

Users browsing this forum: No registered users and 4 guests