Ad Widget

Collapse

Time drift on Zabbix host - How???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • velda
    Junior Member
    • Aug 2014
    • 5

    #1

    Time drift on Zabbix host - How???

    Both Zabbix server (2.2.5) and Zabbix agent (2.2.5) are on CentOS 6 hosts.
    Both are running OK.
    What I need is the difference in time on Zabbix server and Zabbix agent host.
    I have tried using the item system.localtime, and doing the calculation :
    last("proxy-10.10.10.95:system.localtime")-last("Zabbix server:system.localtime")
    It SHOULD be in seconds (not more than 3, since bots systems are on same NTP servers), BUT it gives NO value unless item "Type of information" is put on "Numeric (float)", and it gives a average of -11s, which it not correct.

    Also where can I see all the values, not only the last ones measured?

    Also I have since this post found an item system.localtime.fuzzytime which measures time drift of a host compared to Zabbix server. And it would solve my problem IF I could find it.
    Help
    Last edited by velda; 24-09-2014, 07:33.
  • velda
    Junior Member
    • Aug 2014
    • 5

    #2
    Solved!!

    Hmm yes.
    Took me 3 days (NOT counting the weekend).
    You can simply write the formula :
    {My.host:system.localtime.fuzzytime(2)}=1
    Or (better way) use the "Add" button on the left side.
    Blushes profoundly for the time it took me to find this out.

    Comment

    Working...