Hello,
I have Linux clients running the ntpd service to synchronize time with NTP server.
Currently, I'm able to monitoring and made trigger fired when the time on my Linux client is different with time on the Zabbix server for 5 seconds with this expression
{Linux by Zabbix agent:system.localtime.fuzzytime(5)}=0
My goal is, let's say I'm OK to let the Linux client has system.localtime 5 seconds different with time on the Zabbix server for a period of time (for example, 10 minutes) to waiting for ntpd service to synchronize the time back.
If my Linux client is able to synchronize the time within 10 minutes, then this trigger not have to fire.
But if the client can't synchronize the time within 10 minutes, then this trigger should be firing.
How can I achieve this?
Was check at https://www.zabbix.com/documentation...gers/functions and https://www.zabbix.com/documentation...ers/expression
But can't find a way to mixing 2 functions in one expression, or using an operator between two or more expressions to achieve this one.
I have Linux clients running the ntpd service to synchronize time with NTP server.
Currently, I'm able to monitoring and made trigger fired when the time on my Linux client is different with time on the Zabbix server for 5 seconds with this expression
{Linux by Zabbix agent:system.localtime.fuzzytime(5)}=0
My goal is, let's say I'm OK to let the Linux client has system.localtime 5 seconds different with time on the Zabbix server for a period of time (for example, 10 minutes) to waiting for ntpd service to synchronize the time back.
If my Linux client is able to synchronize the time within 10 minutes, then this trigger not have to fire.
But if the client can't synchronize the time within 10 minutes, then this trigger should be firing.
How can I achieve this?
Was check at https://www.zabbix.com/documentation...gers/functions and https://www.zabbix.com/documentation...ers/expression
But can't find a way to mixing 2 functions in one expression, or using an operator between two or more expressions to achieve this one.
Comment