PRTG - Extending maps (EN)
Hi, my name is Benjamin Day, I'm a Senior Systems Engineer with Paessler.
Last time I was with you guys, we did a Creating Maps video with PRTG and I had a somewhat full head of hair. Now I have no hair, but let's expand on that map we created in that first video.
Let's start by opening the web interface of PRTG and logging in. Now let's click on "Maps" in the menu bar and then we want to look for our already created map "Network Diagram" in the list of available maps.
When we open up the map, we'll see on my side, there's been a few changes and that's ok. That's the great thing about maps, they are dynamic. They will change, and they should change.
Of course the size of your map heavily depends on the amount of devices you want to display in it and the information, that they have. The size of the map can be easily changed by accessing the Settings tab and then in the map layout section adjusting the map width and map height.
These numbers here are in pixels, so we'll set it to the resolution of whatever device you're looking to display the map on, be that a monitor, a tv, a tablet, smartphone - any device, that can access the web interface.
Let's bump this map up to 1440 by 900. Now that we've expanded our map, we can have a look at what else can be accomplished with some advanced map creation skills. Further, with the newly created space, we are able to add additional content.
Let's look and see what is missing here. We have the internet represented here with a nice icon. But we don't really know much about it in terms of how much bandwidth you're using and since that's a bottleneck to our communications network, we'd like to know how much bandwidth we're using.
Therefore let's select the WAN interface on our firewall and then on the right- hand side und properties let's find a graph for the interface and let's pull that out to the map.
Now we have a constantly up-to-date graph, that will refresh at given intervals and give us information about the bandwidth utilization on our WAN interface on our firewall.
As you can see, there's still enough space left on our map here. We got a lot of real estate left. So let's add another element here. Let's add the PRTG sunburst view. This is a custom map icon, that we've created for PRTG, that will dynamically rebuild itself as your device tree grows. Now, I want to see all my devices in the sunburst view. So, on the left-hand side I'm going to select my root to grab all probes and all devices. On the right-hand side I'm going to pull my sunburst out to the map and drop it. There we go. As you can see here, the sunburst gives me a nice high-level view of the network by showing my groups as circular pieces and the devices within those groups as perpendicular pieces. The devices are colour-coded, to show the lowest condition on them. Red for error, yellow for warning, green for ok, orange for unusual and blue for paused. And I can see that for everything. The great thing, too, is, that this is an interactive object. When I go to view the map, I can click on anyone of them, that will show the condition and it will instantly take me to them in PRTG.
Besides all the included icons, graphs, gauges and other sorted map elements, that we've included with PRTG, we give you one additional element, to really take your maps to the next level, that's the Custom HTML Element.
With the Custom HTML element we can bring in elements from the outside world or from our own intranet into our PRTG maps. Say, for instance, I wanted to display the current weather conditions in NYC, NY. By going one of the many weather providers on the internet and accessing their API, I can get a piece of code, that I would put on any web page. I have some code, that I got from weatherunderground and I paste that into the HTML before field of the custom HTML object, that I drag out. Once I click save, it will render it. Some things will render, some things will not render in the map preview. To see it fully render, click on View Map and it will attempt to render. Some objects will work, some objects may have issues with working. --- In addition to the map icons, the device icons, the gauges, the graphs, there's an additional element, that we have, called the Custom HTML Element. The Custom HTML Element allows us to bring in resources from your own network or the internet and show them on the map. These resources can be as simple as images or as complex as API calls. Let me start by bringing the Custom HTML Element out onto my map. You'll see at first it is blank. Now I want to populate it with something. You'll see on the right-hand side on the properties field, I have an HTML before and an HTML after field. This is where I paste in my HTML code. So, I have an API call to weatherunderground to give me the current information in NYC, NY. I'm going to take that code, I'm going to copy and I'm going to paste it into the HTML before field. You'll see, when I hit save, it renders the widget for me. I can now move this widget to anywhere I want to on my map and it will stay there and it will also update.
Let's say you wanted to do something a little simpler, like an image. I bring another Custom HTML Element out onto the map and I'll go and copy my image source and I'll paste that code into the HTML before and when you hit Save... Networking! It's kind of a big deal. With these elements, you'll have the tools to make some amazing maps. If you've made a map, that you think is good, please send us a screenshot. We're always happy ot see how creative our users can get.
Thanks so much for watching the video. As always you can reach out to us on our website, we have a new e-Learning section, that covers many different topics about PRTG, many other videos besides this one, that we're adding all the time. If you have any questions, feel free to reach out to us and have a great day.