-
Incident report
-
Resolution: Duplicate
-
Major
-
None
-
1.4.5
I use Zabbix for monitoring Windows services. Some services has a time, when it's mast be stopped. I create two triggers:
trigger 1 - Service state. f.e. MSSQL
{Template__MSSQL:service_state["MSSQLSERVER"].last(0)}#0
trigger 2 - this trigger change status to TRUE in defined time. f.e. down time of MSSQL from 3:25 to 10:45 (
>032500)&(
{SHEDULER:agent.ping.time(0)}<104500)
trigger 1 is depend on trigger 2. When service is down before defined time, trigger 1 change status to TRUE and I will see it on a map. It's a correct.
In defined time trigger 2 change status to TRUE, but trigger 1 don't change status to FALSE and I will see on a map an error, but it's not error.