Joshaven Potter

WISP Consulting, Software Integrations, and Network Security

Cambium Fiber OLT Zabbix Template

This is a Zabbix 7.x template for monitoring Cambium Fiber OLTs by pulling the OLT’s native JSON over SSH. It is designed to replace SNMP/OID polling with a single master fetch and dependent items.


Install

Run this on your Zabbix server console as root (or with sudo). The installer assumes the Zabbix frontend is available locally at the standard Zabbix web root (http://localhost/zabbix) and will use the local API automatically.

Before you paste: replace the placeholder token below.

  • REPLACE-ME-WITH-YOUR-API-TOKEN — your Zabbix API token (see next section).

If your Zabbix UI is not at /zabbix on localhost: re-run with --zbx-url set to the same URL you open in your browser. Example:

curl -fsSL https://joshaven.com/cambium-fiber-olt-zabbix/install.py | sudo bash -s -- \
  --api-token YOURTOKEN \
  --zbx-url https://zabbix.yourdomain.com/zabbix

Step testing / troubleshooting (optional):

  • --step auth_check — verify API URL + token work.
  • --step ensure_group — only create the template group if missing.

After install:

  1. Add your OLT as a host in Zabbix (Data collection → Hosts → Create host).
  2. Link the template named Cambium Fiber OLT by SSH v1.3.0.
  3. Set the required macros for the host (e.g., {$OLT.PASS}).
  4. Save the host.

If you prefer manual import, download the YAML below and import it in Zabbix UI. The installer is just a convenience.


Required Macros

  • {$OLT.PASS} — admin SSH password for the OLT

The host interface / connection should be the OLT management IP or DNS name.


Optional Macros

These are not required, but let you tune behavior if needed.

  • {$OLT_CACHE_TTL} — Cache TTL in seconds. Default: 60 use 0 to disable cache.

How it works

  • A master external check fetches full OLT JSON.
  • Dependent items use JSONPath preprocessing to read individual metrics.
  • Optional low-level discovery can create per-interface items automatically.
  • The cache fetches the full OLT JSON once and reuses that snapshot for the TTL (default 60s) before refresh.

Downloads (Optional)

These files are installed automatically by the command above; links here are for manual download.