Simple Dashboard function for Zabbix via the Zabbix php api.
Cloned from https://github.com/incama/Zabbix-Dashboard and updated to work with Zabbix 6.4.
Features/requirements:
- Gets triggers from hosts which are nested in hostgroups
- Need user (within Zabbix) with read only rights
- Screens are optimized for 1920px capable monitors
- Masonry js library is used to align host blocks tightly
- Requires create user login, password with read-only rights AND token also created for this user!
- Requires Zabbix php api v3.0.0+ which is included in this build
- Requires PHP 8 or later
Host block features:
- Each host block displays a maximum of 3 triggers
- In case of multipe triggers fired on a host, the highest priority trigger will adjust the color and or size of the hostblock
- There are 5 stages defined in which a block is displayed based upon trigger severity
- Triggered host blocks will get the state normal when the trigger state is "OK" (via acknowledgment of trigger or threshold level is normal)
I have tested the dashboard on Zabbix 6.4 but I think it will work fine in 6.x later, although you might need a newer php api version (maybe). Since we use the Zabbix php api, which is installed via composer, all license and component files are included in this repository and are located in the vendor directory.