Ad Widget

Collapse

Time Zone support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #1

    Time Zone support

    As I know time zone support in Zabbix 2.0/2.2 is somewhat "limited" I like to share my ideas.

    Current state:
    - zabbix utilizes UTC, that means all clock values in the DB are time zone adjustable
    - time zone is set via a PHP variable and is valid per frontend
    - some users suggest to have several frontends (virtual web servers, that is) with different set PHP values for time zone. That would lead to a bunch of distinct URLs, but is doable (e.g. /zabbix-CEST, /zabbix-GMT, /zabbix-PST and so on). For us this is no option.

    Suggestion:
    Zabbix devs would like to implements a time zone variable assignable to each individual host. If it is not set, simply use frontend's timezone variable (current behaviour).
    - whenever an item belonging to this host is displayed/returned, a (defined) timezone variable is to be applied for TZ correction.

    Any comments on that?
    Thanks for your ideas!
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Originally posted by steveboyson
    Any comments on that?
    Thanks for your ideas!
    You don't need probably to change even single line of zabbix code.
    Just try to prepare multiple apache vhost entries pointong to the same DocumebtRoot but with lines like:
    Code:
    php_value date.timezone         <timezone>
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    • steveboyson
      Senior Member
      • Jul 2013
      • 582

      #3
      Isn't that what I wrote before?

      Imagine you have agents in 12 time zones. It is simply not usable to install 12 different frontends and switch the frontend whenever you need to switch to a different monitored agent.
      SIMPLY.NOT.USABLE.

      Comment

      • LeoCombes
        Member
        • Mar 2011
        • 32

        #4
        Originally posted by steveboyson
        Suggestion:
        Zabbix devs would like to implements a time zone variable assignable to each individual host. If it is not set, simply use frontend's timezone variable (current behaviour).
        - whenever an item belonging to this host is displayed/returned, a (defined) timezone variable is to be applied for TZ correction.

        Any comments on that?
        Thanks for your ideas!
        Good idea!
        I'm now working with hosts in differents timezones and its a problem.
        Maybe could be a setting for each user or hostgroup.

        Comment

        • steveboyson
          Senior Member
          • Jul 2013
          • 582

          #5
          pushing up ...

          Comment

          • Tec_Technician
            Member
            • Dec 2015
            • 39

            #6
            Hello!!

            Is there any new information about this threat?Looks very interesting.

            Comment

            • steveboyson
              Senior Member
              • Jul 2013
              • 582

              #7
              Unfortunately, nothing at all. It is probably due to the lack of paid support for this feature request.

              Comment

              • BrianNguyen
                Junior Member
                • Jan 2016
                • 1

                #8
                Hi guys,
                I also stuck with this issue.
                Currently I monitor the Server in EST/EDT time zone, but i want Action for sending email provide the time in GMT.
                Is there any possible way to doing that ?

                Comment

                Working...