Adding Hosts
Now it's time to populate your map with hosts from your Zabbix server.
Adding Existing Hosts
To add hosts that already exist in your Zabbix server:
- Right-click anywhere on the map canvas
- Select "Add Existing Host" from the context menu
- A list of hosts from your selected Zabbix server will appear in the sidebar
- Use the search bar to quickly find specific hosts by name
- Click on the host you want to add to the map

The selected host will be placed on the canvas.
Adding New Hosts
You can also add new hosts directly from MapZ. This will also create the host in your Zabbix server:
- Right-click on the map canvas
- Select "Add New Host"
- Fill in the required host details:
- Hostname: The name of the host (as it will appear in Zabbix)
- IP Address: The IP address of the host
- Other details like host groups and templates (depending on the MapZ version)
- Click "Add Host"

The new host will be added to both your MapZ map and your Zabbix server.
Make sure the host details you enter match the actual configuration of your infrastructure.
Add Host Wizard
If you prefer a guided approach, you can use the "Add Host Wizard":
-
Right-click on the map canvas
-
Select "Add New Host"
-
Select 'Use Host Wizard'
-
Step through the wizard to configure the host:
- Step 2: Choose a template—a set of predefined configurations (metrics to be collected, conditions for generating alerts, etc.) designed for your monitoring target. If Using community templates, you can select from a list of available templates.
- Step 3: If community templates is selected, review the details of the selected community template before proceeding.
- Step 4: Set the hostname and select a group for your host.
- Step 5: Agent-based templates require installing Zabbix agent or agent 2 on your monitoring target. Fill in the details below and follow the instructions if you need to install an agent.
- Step 6: Add Host Interface
- Type: Select the type of interface (e.g., "Agent," "SNMP," "IPMI")
- IP Address: Enter the IP address of the host
- Port: Specify the port number (default is usually 10050 for Zabbix agent)
- DNS Name: Optionally, enter a DNS name for the host
- step 7: Configure Host.Some templates require additional configuration, such as defining host macros.
- Step 8: Click "Finish" to close the wizard and add the host.

Understanding Host Nodes
Each host on your map is represented by a "Host Node" that provides visual information about the host's status.

UI Elements
- Host Name: The name of the host (e.g., "Zabbix Server")
- Problems: An indicator (e.g., a red circle with a number) showing active problems or alerts
- Icons: Represent the type of device (e.g., server, router, switch)
- Colors: The color changes based on the severity of problems (green for "OK", yellow for "Warning", red for "Critical")
- Border: The border color can also reflect the problem status
Hardware Configuration
The Edit Host Properties form includes a "Hardware" tab that allows you to define the host's device type:
- Right-click on a host node and select "Appearance"
- Go to the "Hardware" tab
- Select the device type from the dropdown (data is originally sourced from NetBox Device Type Library)

Setting the hardware type ensures that the host is represented with the appropriate visual elements and can help in correctly identifying network device types within your infrastructure.
To Enable 'Winbox' functionality from the context menu , enable "Mikrotik RouterOS Device (Enables Winbox Tool)"
Adding Data to Hosts (Monitored Items)
You can display additional metrics directly on the host nodes:
- Right-click on a host node and select "Appearance"
- Go to the "General" tab
- Look for the "Monitored Items" section
- Click the "+" button to add a new item

- Select the Zabbix item you want to display from the dropdown menu

The selected item's value will now be displayed on the host node.

Monitored Item Options
When adding monitored items, you have several display options:
Hide from Node Display
Check the "Hide" checkbox to hide the item from the node content display. The item will only be visible in the host node's tooltip popup, not directly on the node itself.
This is useful for:
- Keeping the node clean and uncluttered
- Monitoring items that you want to track but don't need to see constantly
- Items that are only relevant when investigating issues
Display Graphs in Tooltips
You can display time-series graphs for monitored items directly in the host tooltip:
- In the "Monitored Items" section, find the item you want to graph
- Check the "Graph" checkbox next to the item

- Now when you hover over the host node, the tooltip will display a graph for that item

Graph Features:
- Time Range: Graphs show the last hour of data by default
- Multiple Graphs: You can enable graphs for multiple items - they will be displayed sequentially in the tooltip
- Combined with Hide: You can hide an item from the node display but still show its graph in the tooltip
- Real-time Updates: Graphs update automatically as new data is collected
Use graphs for metrics that change frequently and where trends are important:
- CPU usage
- Network bandwidth
- Memory utilization
- Temperature readings
- Response times
This allows you to quickly spot trends and anomalies without opening additional dialogs.
Monitoring Templates
You can also save and apply templates to the host nodes to quickly add multiple monitored items at once.
Saving Template: After you have configured the monitored items, you can save them as a template for future use. This allows you to quickly apply the same configuration to other hosts.
Applying Template: Simply Select a Monitoring Template from the list. This will automatically apply the selected template to the host, adding all the monitored items defined in that template.
Choose items that are relevant to the overall purpose of your map. Don't overload the host nodes with too much information. Keep it clean and focused for better readability.
Site Management
MapZ allows you to organize hosts by physical location using the Site Management feature. This helps you track which hosts are located at which data centers, offices, or other physical sites.
Linking a Host to a Site
- Right-click on a host node and select "Appearance"
- Go to the "General" tab
- Find the "Site" field
- Start typing a site name

- As you type, MapZ will show suggestions for existing sites
- Select from the dropdown to link to an existing site

Creating a New Site
If the site you need doesn't exist yet:
- Type the new site name in the Site field
- You'll see a message: "Site '[Name]' not found"
- Click the "Create Site" button that appears

- Confirm the creation when prompted
- The site will be created and the host will be automatically linked to it
What Happens:
- A new site is created with the name you specified
- The current host is added as an asset to that site
- The host is now linked to the site
- The site is available for other hosts to use
Viewing Site Information
When a host is linked to a site, you'll see:
- A green confirmation message: "Host linked to site: [Site Name]"
- The site name displayed in the Site field

Unlinking a Host from a Site
To remove a host from its site:
- Open the host properties (Appearance → General tab)
- In the Site field, click the "(Unlink)" button next to the site name
- The host will no longer be associated with that site
Unlinking a host from a site does not delete the site. The site remains available for other hosts.
Benefits of Site Management
Organization
- Group hosts by physical location
- Easily identify which hosts are at which site
- Better understanding of your infrastructure layout
Maintenance Planning
- Schedule maintenance by site
- Apply maintenance windows to all hosts at a location
- Track site-specific issues
Asset Tracking
- Know exactly which equipment is at each location
- Track hardware across multiple sites
- Generate site-specific reports
Filtering and Search
- Filter hosts by site in various dialogs
- Search for all hosts at a specific location
- Create site-specific maps
Site Management Best Practices
-
Use Consistent Naming
- Use a standard format for site names
- Example: "DC-NYC-01" for Data Center New York 01
- Or: "Office-London" for London Office
-
Create Sites Before Adding Hosts
- If you know your sites in advance, create them first
- This makes it easier to select from the dropdown when adding hosts
-
Link Hosts During Initial Setup
- Add site information when first creating hosts
- Saves time compared to updating later
-
Review Site Assignments Regularly
- Periodically check that hosts are linked to the correct sites
- Update when equipment is moved between locations