Is there a feature to allow PRTG Maps to dynamically scale to the browser size. I've been looking and can't seem to find anything like that. Maps are all a specific width x height. I don't mind the scrolling up and down but I'd like to have it be 100% of the width of the viewing browser. If this isn't a feature is it on the roadmap somewhere?
Thanks, Doug
Article Comments
I saw the the link to that answer, but the 3rd party plugin that Grafana uses to communicate with PRTG is no longer supported by the author. I did give it a try but could not get the plugin to communicate with my PRTG installation.
Thanks, Doug
Dec, 2018 - Permalink
That's a real shame, I gotta mark it accordingly. Did you use /api with the URL and the passhash instead of the password? Restarting Grafana after installing the plugin also helps.
PRTG Scheduler |
PRTGapi |
Feature Requests |
WMI Issues |
SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Dec, 2018 - Permalink
Did I miss something here? Isn't that what you want?
https://prtg.accriva.info/help/maps_settings.htm#maplayout
Automatic Scaling Define if you want the map to automatically adapt to your screen size. Choose between: Scale map view to fit browser size: The size of the map automatically adapts to the size of your screen. Choose this method if the map is shown on various screens with different resolutions so that it uses the available space in the browser window in the best possible way. Do not auto-scale map view: The map uses always the size that you define above.
It won't always do the 100% width, but it does the height. Having said this - it would be nice if you could chose to use either the height or the width - but that's a different story. It still scales for sure. Using that all the time myself.
Regards
Florian Rossmark
Dec, 2018 - Permalink
I did play with this setting so maybe my question wasn't as straightforward as I should have been. I need it to autoscale to fit width but not height. The current map I'm using doesn't work well autoscaled height.
Thanks, Doug
Dec, 2018 - Permalink
So - it would be nice if Paessler would let you chose the scale...
As a work-around this might help:
https://stackoverflow.com/questions/11382473/resize-external-website-content-to-fit-iframe-width
Did not test it - but my basic idea was to create a web-site / html file that holds a IFRAME and this iframe loads the map. You then scale the content in the iframe to your needs.
In theory that could work - you sometimes can transform this stuff on the fly - just never tried it.
If you aren't familiar with HTML I might be able to play a bit with that stuff... just let me know...
Florian
Dec, 2018 - Permalink
Thanks for the hint to use the passhash. The docs say it and I just saw the word password. That made Grafana connect. Thanks!
Dec, 2018 - Permalink
As of now, maps in PRTG are always of a fixed size. If you require dynamic scaling, Grafana might be an alternative for you?
Edit As mentioned by Florian, Scale map view to fit browser size might be what you're looking for.
PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Dec, 2018 - Permalink