MAJA: koukal sem dnes do auditka o zabbixu a dost intenzivne sem premyslel, jestli se mi to nezdalo ;-)
takze item (uprav si jak potrebujes)
name: Host time-diff
type: Calculated
key: system.localtime.fuzzytime
formula: fuzzytime(system.localtime,65)
type of information: Numeric (unsigned)
update interval: 1m
trigger mam takto (mam to jako template i s tim itemem)
name: Time-diff on {HOST.NAME}
expression: {Template App Time:system.localtime.fuzzytime.avg(#10)}=0
dependencies: Template OS Linux: Zabbix agent on {HOST.NAME} is unreachable
ta zavislost tam je kvuli tomu, at to nehlasi problem, kdyz je host offline