Ad Widget

Collapse

Identifying systems with time sync issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NE1Scott
    Member
    • Jan 2021
    • 49

    #1

    Identifying systems with time sync issues

    From reading through the forums it appears Zabbix had the ability to check and correct time issues prior to v4.0.

    Has any of that functionality been added back in 5.x ? (5.0.2 is what I am using)
    If Zabix would at least inform me that system time is out of sync then that would help. For ICMP monitored items and ZBX monitored items at least.

    i am setting up agents on hundreds of systems but know that ntp is only set up on some of them so if Zabbix could identify the ones with improper time and possibly the ones not running any kind of NTP it would help greatly.
  • NE1Scott
    Member
    • Jan 2021
    • 49

    #2
    Using "zabbix_get -s $HOST -k system.localtime && date +%s" I apparently see the Zabbix time and the host time in the EPOCH format but when I try to capture that info I only get the host time using a simple redirect like >/tmp/zdiff.

    I was trying to write a script to check all of my systems and report the difference in Zabbix server time and the local host vm time so I could target those systems as needing NTP/WindowsTime configured proplery first.

    Does anybody already have something written to make for this deficiency in Zabbix ?
    I have ZBX Linux, ZBX Windows, ZBX VMware, and ICMP templates in use at this time.

    I haven't figured out what to use yet for Cisco switches, HPE switches, 3PAR SAN, PaloAlto Firewalls, Checkpoint firewalls, etc so just using ICMP for now on anything not Linux/Windows/VMware or things I can't install the agent on due to library conflicts.
    Last edited by NE1Scott; 08-02-2021, 00:12.

    Comment

    Working...