Simple Zabbix Map

After setting up the router monitoring, I decided to create a simple map in order to be able to have a nice view and make an impression on the higher-ups.

My original idea was to create a geographic map, like the one shown here but unfortunately, the documentation on this point is a bit lacking so I couldn’t see how I could make it use my own background image. I decided to let this be a project for later.

To create a simple map, I first scribbled my desired layout in a piece of paper so that can have an easy reference. First was the Backbone router, the one connecting everything together. Connected to that were the two other Critical Routers (one for each geographic location) and the internet (used to connect to VPN nodes). Finally, from each of those three formed a tree of links to the minor routers.

Once the layout was complete, I got to implementing it.

You can access the Map Creation by going to
Configuration -> Maps -> Create Map
I used the name “Routers & Nodes” so that I know what kind of map this is in case I create more.
I initially used a big height and width in order to give me ample space to design and I later reduced to fit. My current size for example is 800×1150. I left the rest of the options as is.

By pressing the Edit button, I entered the map design page.
I initially placed the main backbone on the top and was planning to create a tree like view of the routers but unfortunately it soon became apparent that this was not doable. So I decided to place the backbone router in the middle and then connect the other nodes in star forms.

I started by placing the backbone in the middle, in the position 350×550, planning to put the internet above and the WAN/LAN below it.
The Backbone link

I then created more such map elements for the routers, in the appropriate locations as well as two elements related to the internet and the internet firewall. Those last two were initially just simple images but I then created appropriate hosts groups for each (the firewall tested the ping on his internal ip while the internet host checked my ISP’s DNS server)

Once all the items were in place, I started creating the links by using the Create Connection button. I connected the elements together accordingly to how the network is set up. I used the Router Connection Lost trigger of each host to understand when a link is up or down and then show it on the map. I used bold lines for Critical connections and simple lines for the rest. You can use whatever else you think is appropriate

.The Map Link

After finishing all the links, this is how the final map looked like
The Full Map

You can’t see the whole map, but you get the idea. This not only serves to show to layout to any interested staff, but you can quickly see any failing nodes and by clicking on them, check out what trigger activated (granted, they only use one trigger at the time but if you start to monitor servers with the agent, it gets much more interesting)

Now I need to find out how to use my own images in the maps because the pre-installed ones are very limited. Unfortunately, the Zabbix homepage does not go into detail on how to do that. The relative sentence for map design is

“Click on the “MAPS” link to set up a network map. A map will help you quickly identify any problems with your monitored machines.”

And so I need to fiddle and ask a bit before I make it. Stay tuned for progress on that front.

PS: This did make an impression on the IT Director and a Shareholder that was around at the time. If you implement this on your own company you’ll definitely raise a few eyebrows 😉

Time to extend the map

Comments are closed | comments rss [?] | trackback uri [?]
  1. Gene 02.10.08 / 11am

    Mate that was awesome. You totally helped me set out my maps and gave me an awesome understanding of how to do so in the process. *sigh* If only you wrote the zabbix manual 😛

  2. db0 02.10.08 / 11am

    It's telling how much the manual sux from the sheer number of people visiting these old posts 🙂

  3. Gene 05.10.08 / 7am

    mmm the manual is pretty terrible and i'd say it needs to be totally re-written. ive been though so many websites that are so much more helpful (this one included ofcourse!).

  4. docryan 07.01.09 / 1am

    You can find the images in Configuration -> General -> Images

  5. business become 01.06.19 / 8pm

    business owners

    Simple Zabbix Map | A Division by Zer0