Skip to content

Set Up Zabbix ​

This guide explains how to set up a Zabbix instance in InfraWatch.


Prerequisites ​

  • Access to a Zabbix installation (version 5.4 or later recommended)
  • A Zabbix user account with API access enabled
  • The Zabbix server must be reachable from your smartphone
  • The Zabbix web frontend must be accessible via HTTPS

Authentication in Zabbix ​

InfraWatch connects to Zabbix using the JSON-RPC 2.0 API. Authentication requires your username and password. InfraWatch exchanges these for a session token automatically and caches it for subsequent requests.

⚠️ Protect your credentials

InfraWatch stores your password exclusively in your device's secure storage. It never leaves your smartphone.


Step 1: Verify API Access for Your User ​

  1. Sign in to the Zabbix web interface
  2. Go to Administration → Users
  3. Click on your username

📸 Screenshot

Shows: The Zabbix administration area with the Users list and the current user selected.

  1. Make sure your user has one of the following roles that allows API access:
    • Super Admin
    • Admin
    • or a custom role with API access enabled

💡 Tip

If you are unsure whether your user has API access, ask your Zabbix administrator. The API must not be disabled at the user level.


Step 2: Determine the Server URL ​

The URL for InfraWatch is the base URL of your Zabbix web frontend — the same URL you use to log into Zabbix in the browser, without any path.

Examples:

  • https://zabbix.company.com
  • https://192.168.1.10
  • https://monitoring.intern.local

💡 Tip

If the Zabbix login page is at https://zabbix.company.com/zabbix/index.php, the base URL for InfraWatch is https://zabbix.company.com. InfraWatch automatically appends /api_jsonrpc.php for the API endpoint.


Step 3: Add the Instance in InfraWatch ​

  1. Open InfraWatch and tap the Settings icon (⚙️)
  2. Tap "+ Add Instance"
  3. Select type: Zabbix

Add Zabbix instance

  1. Fill in the fields:
FieldDescriptionExample
NameAny labelZabbix Production
TypeMonitoring systemZabbix
Server URLBase URL of the Zabbix web frontendhttps://zabbix.company.com
UsernameYour Zabbix usernameAdmin
PasswordYour Zabbix password••••••••
Ignore SSLOnly for self-signed certificates☐

Step 4: Test the Connection and Save ​

  1. Tap "Test Connection"
  2. On success, tap "Save"
  3. Activate the instance with the toggle switch

Zabbix connection successful

Possible error messages:

ErrorCauseSolution
Network errorZabbix server unreachableCheck URL and network connection
Zabbix RPC errorWrong username or passwordRe-enter your credentials
Not authorizedUser has no API accessCheck user role in Zabbix
Certificate errorSelf-signed SSL certificateEnable "Ignore SSL"

Status Mapping ​

InfraWatch maps Zabbix availability and severity levels as follows:

Hosts – based on the available field:

ZabbixInfraWatch
Available (1)🟢 Up
Unavailable (2)🔴 Down
Unknown (0)🟠 Unreachable

Services (Triggers) – based on trigger value and priority:

Zabbix TriggerInfraWatch
OK (value = 0)🟢 OK
Not classified / Information (priority 0–1)⚫ Unknown
Warning / Average (priority 2–3)🟡 Warning
High / Disaster (priority 4–5)🔴 Critical

Acknowledge and Downtime ​

InfraWatch fully supports Zabbix actions:

  • Set/remove Acknowledge: Available for hosts and services (requires Zabbix 5.4+ for removing acknowledgements)
  • Create/cancel Maintenance window: Available for hosts and services

ℹ️ Service maintenance in Zabbix

Zabbix does not support per-service maintenance windows natively. When you create a maintenance window for a service in InfraWatch, a host-level maintenance window is created for the corresponding host in Zabbix.

Learn more:


Frequently Asked Questions ​

Which Zabbix version is supported? InfraWatch works with Zabbix 5.4 and later. Removing acknowledgements requires Zabbix 5.4+.

Do I need admin rights? No. A regular user account with API access is sufficient for viewing hosts and services. For Acknowledge and Maintenance, your account needs the corresponding permissions in Zabbix.

Why do I see triggers instead of services? In Zabbix, monitoring checks are called "triggers". InfraWatch maps Zabbix triggers to services so the interface stays consistent with other monitoring systems (Checkmk, PRTG, Nagios XI).

The connection succeeds but I see no hosts. Make sure your Zabbix user has access to the relevant host groups. Check Administration → Users → your user → Permissions.

Maintenance windows are not being removed. Make sure the host has an active maintenance window in Zabbix. InfraWatch removes the first matching maintenance window found for the host.