Hello
I have quite a few servers which work 24/7. They work normally along the day but there is database backup running between 4:00AM and 6:00AM. This causes disk IO delay about 40% and there is HIGH trigger raised. Not funny
So I came up with editing trigger expression by adding time() function to it. Unfortunately now the trigger is not working at all because probably I'm an idiot. There is no error or something. Zabbix just never raise trigger with no difference what time and IO delay is.
There is my original expression:
And this is my gorgeous modification:
This thing:
is my macro which works perfectly in first expression (is set to 20 in this host).
Can anybody spot an error in my syntax?
I have quite a few servers which work 24/7. They work normally along the day but there is database backup running between 4:00AM and 6:00AM. This causes disk IO delay about 40% and there is HIGH trigger raised. Not funny

So I came up with editing trigger expression by adding time() function to it. Unfortunately now the trigger is not working at all because probably I'm an idiot. There is no error or something. Zabbix just never raise trigger with no difference what time and IO delay is.
There is my original expression:
Code:
{MyHost:system.cpu.util[,iowait].avg(15m)} > {$IO_WAIT}
Code:
{MyHost:system.cpu.util[,iowait].avg(15m)} > {$IO_WAIT} and ({MyHost:system.cpu.util[,iowait].time(0)} < 040000 or {MyHost:system.cpu.util[,iowait].time(0)} > 060000)
Code:
{$IO_WAIT}
Can anybody spot an error in my syntax?