How monitoringartist/zapix works
Zapix is a browser-based Zabbix API query tool. Users connect to a Zabbix instance, compose a method and parameters, execute the request, and view the response; the README also describes version-aware method autocomplete and browser-only credential storage. The source excerpts show JSON-RPC login, version detection, and API calls, plus a standalone JSON linter. The UI wiring is only partially sampled, so some relationships are documented rather than confirmed in the excerpts.
Main entry points: js.js UI and query state · jsonrpc.js JSON-RPC client · index.html Query interface · jsonlint.js JSON linter
Components 7
Browser interface
- Query interface
index.html - UI and query state
js/js.js
Query assistance
- Versioned method catalogue
js/js.js - JSON linter
js/jsonlint.js
API connection
- JSON-RPC client
js/jsonrpc.js
Other components
- User
- Zabbix API
Connections 10
- User → Query interface: uses
README.md - Query interface → UI and query state: provides query UI
- UI and query state → Versioned method catalogue: offers methods
js/js.js - User → UI and query state: enters query
- UI and query state → JSON linter: validates parameters
- UI and query state → JSON-RPC client: executes request
- JSON-RPC client → Zabbix API: sends JSON-RPC
js/jsonrpc.js - Zabbix API → JSON-RPC client: returns response
js/jsonrpc.js - JSON-RPC client → Versioned method catalogue: detects API version
js/jsonrpc.js - UI and query state → User: shows result