Hello,
This patch allows to reduce amount of displayed triggers on overview screen.
If we have several triggers with the same name but different expressions and different priorities, they grouped to one line in overview screen. Sadly, the color of trigger displayed is random (in fact it is order of trigger creation). This patch fixes this situation by performing sort of such overlapping triggers by severity. For example, we have three triggers with name 'Lack of disk space on /' and the following keys and priorities:
In overview screen we will see only one of these triggers. But when free disk space percentage drops to 30%, we will see Information's color brick. If this value drops to 20%, this brick changed color to Warning and so on.
This patch touches only overview screen, on other parts of zabbix these triggers remain different (notification sent as usual, etc).
Patch against 1.4.4.
This patch allows to reduce amount of displayed triggers on overview screen.
If we have several triggers with the same name but different expressions and different priorities, they grouped to one line in overview screen. Sadly, the color of trigger displayed is random (in fact it is order of trigger creation). This patch fixes this situation by performing sort of such overlapping triggers by severity. For example, we have three triggers with name 'Lack of disk space on /' and the following keys and priorities:
- INFORMATION: {host:vfs.fs.size[/,pfree].last(0)}<30
- WARNING: {host:vfs.fs.size[/,pfree].last(0)}<20
- HIGH: {host:vfs.fs.size[/,pfree].last(0)}<10
- DISASTER: {host:vfs.fs.size[/,pfree].last(0)}<5
In overview screen we will see only one of these triggers. But when free disk space percentage drops to 30%, we will see Information's color brick. If this value drops to 20%, this brick changed color to Warning and so on.
This patch touches only overview screen, on other parts of zabbix these triggers remain different (notification sent as usual, etc).
Patch against 1.4.4.
Our patches are almost identical. Sorry, I didn't see your post.

Comment