Skip to main content

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:

  1. Right-click anywhere on the map canvas
  2. Select "Add Existing Host" from the context menu
  3. A list of hosts from your selected Zabbix server will appear in the sidebar
  4. Use the search bar to quickly find specific hosts by name
  5. Click on the host you want to add to the map

Add Existing Host Host Selection

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:

  1. Right-click on the map canvas
  2. Select "Add New Host"
  3. 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)
  4. Click "Add Host"

Add New Host Host Configuration

The new host will be added to both your MapZ map and your Zabbix server.

important

Make sure the host details you enter match the actual configuration of your infrastructure.

Understanding Host Nodes

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

Host Node Example

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:

  1. Right-click on a host node and select "Properties"
  2. Go to the "Hardware" tab
  3. Select the device type from the dropdown (data is originally sourced from NetBox Device Type Library)

Hardware Tab

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:

  1. Right-click on a host node and select "Properties"
  2. Go to the "General" tab
  3. Look for the "Monitored Items" section
  4. Click the "+" button to add a new item

Add Monitored Item

  1. Select the Zabbix item you want to display from the dropdown menu

Zabbix Items List Selected Item

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

Host with Data

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.

tip

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.