Hi,
I've created the following trigger, however it doesn't work. What I want is to make this trigger become TRUE when last 2 values of status is not 'OK:'. Excluded from this is when the time is between 03.59 AM and 04.15 AM. Now that works perfectly fine, but as soon as I add the first three lines to also exclude the first Saturday of the month, it fails:
So basically removing the first three lines gives a working trigger. Does anyone know what I'm doing wrong from here?
Thanks.
I've created the following trigger, however it doesn't work. What I want is to make this trigger become TRUE when last 2 values of status is not 'OK:'. Excluded from this is when the time is between 03.59 AM and 04.15 AM. Now that works perfectly fine, but as soon as I add the first three lines to also exclude the first Saturday of the month, it fails:
Code:
(
({Template_Firebird:firebird.status[127.0.0.1,zabbix].dayofmonth(0)}<8 &
{Template_Firebird:firebird.status[127.0.0.1,zabbix].dayofweek(0)}#6) |
{Template_Firebird:firebird.status[127.0.0.1,zabbix].dayofmonth(0)}>7
) &
{Template_Firebird:firebird.status[127.0.0.1,zabbix].str(OK:,#2)}=0 &
({Template_Firebird:firebird.status[127.0.0.1,zabbix].time(0)}<035900 |
{Template_Firebird:firebird.status[127.0.0.1,zabbix].time(0)}>041500) &
{Zabbix server:system.uptime.last(0)}>600
Thanks.