Ad Widget

Collapse

1.8.5 Trigget time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pengu1n
    Junior Member
    • Jun 2011
    • 8

    #1

    1.8.5 Trigget time

    Hello,

    I have some dummy question about trigger time in Zabbix 1.8.5 - simply it differs from a system time for about +3 hours, so the question is how to synchronize this time with system time?

    Or may be it is specific PHP setting?
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    Try to check this:
    "Frontend timezone is set to Europe/Riga, Zabbix home (this can be modified in /etc/php5/apache2/php.ini);"
    BR
    Erik

    Comment

    • pengu1n
      Junior Member
      • Jun 2011
      • 8

      #3
      Hello,

      Yeah, thank you! But it was my bad - I didn't explain my problem correctly - there is a time difference between trigger time and time which I see in graph / values / last 500 values table. Trigger time is good - I is taken from php.ini file (I've checked it by editing), but from what time in graphs / values is taken?

      Thx in advance.
      Last edited by pengu1n; 16-08-2011, 10:30.

      Comment

      • eskytthe
        Senior Member
        Zabbix Certified Specialist
        • May 2011
        • 363

        #4
        Sorry... I do not know how help you with that.
        But how/where do you see the "trigger time"?

        Comment

        • pengu1n
          Junior Member
          • Jun 2011
          • 8

          #5
          Hello,

          The thing is that zabbix uses php.ini settings to get a time settings and also timezone and local time values (in OS) to set it up a trigger time. So, in my case, here is a solution (I'm using Debian OS):

          Ensure a php.ini timezone setting here (I've build up a php from source):

          Code:
          /usr/local/lib/php.ini
          Then set up a correct timezone with this command:

          Code:
          dpgk-reconfigure tzdata
          Echo date and time:

          Code:
          date -u
          You must remember that UTC is not your local time. If local time is not correct (you can see it, when you will set up a timezone, or with date -R command), edit it with this command:

          Code:
          date --set hh:mm:ss
          Restart a server. Profit!

          Thred can be closed.
          Last edited by pengu1n; 19-08-2011, 08:35.

          Comment

          Working...