Header Ads

  • New Updates

    Time or date issue in zabbix (solved)

    First you need to check system time


    #date
    If it is not correct set the correct time
    # sudo date --set ="2017-07-31 15:30:00"


    Then check Hardware time ,


    # sudo hwclock --show


    If it is wrong then merge current system time to hardware time
    #sudo hwclock --systohc


    Then check Physical or Virtual machines bios time and time zone


    Restart PC or VM and enter to BIOS and change appropriate setup




    Then check php configuration, type correct time zone,


    #/etc/php5/apache2/php.ini    (879 th line approx.)


    Type correct time zone like Asia/Dubai


    Then check Linux  OS time zone


    #sudo dpkg-reconfigure tzdata
    Choose correct time zone


    At last check zabbix configuration


    #vi /etc/apache2/conf-enabled/zabbix.conf


    Cahnge time zone in under both field


    <IfModule Mode_PHP5.c>
    .............
    ..............
    ............
    ............
    php_value date.timezone  Asia/Dubai
    </IfModel>
    and


    <IfModule Mode_PHP7.c>
    .............
    ..............
    ............
    ............
    php_value date.timezone  Asia/Dubai
    </IfModel>



    No comments

    Post Top Ad

    Post Bottom Ad

    Ads