Enhancement: support more fields for zabbix widget

This commit is contained in:
Mitchell 2024-09-02 01:02:00 +02:00 committed by GitHub
parent 7b94ccb01f
commit e454ff06b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 4 deletions

View file

@ -3,13 +3,13 @@ title: Zabbix
description: Zabbix Widget Configuration
---
Learn more about [Zabbix](https://github.com/zabbix/zabbix).
Learn more about [Zabbix](https://github.com/zabbix/zabbix). The widget supports (at least) Zibbax server version 7.0.
See the [Zabbix documentation](https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/users/api_tokens) for details on generating API tokens.
---
The widget supports (at least) Zibbax server version 7.0.
Allowed fields: `["unclassified", "information", "warning", "average", "high", "disaster"]`.
Allowed fields: `["warning", "average", "high", "disaster"]`.
Only 4 fields can be shown at a time, with the default being: `["warning", "average", "high", "disaster"]`.
```yaml
widget:
@ -17,3 +17,5 @@ widget:
url: http://zabbix.host.or.ip/zabbix
key: your-api-key
```
See the [Zabbix documentation](https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/users/api_tokens) for details on generating API tokens.