HI,
I have one problem with my trigger I read the doc: 1 Supported trigger functions [Zabbix Documentation 5.0] but I don't get why doesn't work.
So I'm using Zabbix 5.0 and Host is the Switch DELL.
I have the script to check the FANs, so after the script SH run, the return will be:
When is OK = OK: All fans are OK.
When is NOT OK = will be different of OK.
Then I create a trigger like this:
I tried change to:
My item runs every 5 min, then I want to trigger after 3 attempts. The first one I understand that will trigger after 3 attempts and second will trigger after 15min or 3 attempts.
Thanks a lot.
I have one problem with my trigger I read the doc: 1 Supported trigger functions [Zabbix Documentation 5.0] but I don't get why doesn't work.
So I'm using Zabbix 5.0 and Host is the Switch DELL.
I have the script to check the FANs, so after the script SH run, the return will be:
When is OK = OK: All fans are OK.
When is NOT OK = will be different of OK.
Then I create a trigger like this:
Code:
{BemobiBemobi - TimBR - Switch PowerConnect:Check_PowerConnectSwitch["{$HOST_IP}","{$SNMP_COMMUNITY}","fans"].count(#3,"^(?!OK).+","regexp")}=3
Code:
{BemobiBemobi - TimBR - Switch PowerConnect:Check_PowerConnectSwitch["{$HOST_IP}","{$SNMP_COMMUNITY}","fans"].count(15m,"^(?!OK).+","regexp")}=3
Thanks a lot.