Coder Social home page Coder Social logo

Comments (8)

KnoAll avatar KnoAll commented on May 27, 2024

There is not another place that I'm aware of that I recall. I can go through and check though.

from cacti-template.

mottld avatar mottld commented on May 27, 2024

It turns out the graphs started populating after the difference in timezones. In this case after 3 hours.

You should think about making your ovf UTC time.

I will close the case.

from cacti-template.

KnoAll avatar KnoAll commented on May 27, 2024

Interesting. good to know the changes you made worked.

from cacti-template.

mottld avatar mottld commented on May 27, 2024

Turns out mysql is still pulling the wrong system timezone information. Looking in cacti->system utilities->Technical Support->Database Settings the variable time_zone was set to PST (Not sure where this is coming from)

logging into mysql and running SELECT @@global.time_zone; i get SYSTEM so it should have been pulling it from the system timezone. I ended up editing /etc/my.cnf and adding the line

default-time-zone='America/New_York'

restart mysql and all is right with the world now.

Any idea where it is getting the PST value from? Is there a environment variable set someplace?

from cacti-template.

KnoAll avatar KnoAll commented on May 27, 2024

Interesting. I'm not exactly sure where MYSQL would be pulling that from. Seems the SYSTEM setting should prevail there. I'll have to check around. Perhaps I'll add the line you indicated to my.cnf so that it is easier for others to find.

from cacti-template.

KnoAll avatar KnoAll commented on May 27, 2024

The MariaDB support docs indicate that the system_time_zone is pulled at OS startup....
https://mariadb.com/kb/en/server-system-variables/#system_time_zone
Did you reboot the system after TZ change? If not this could explain why that value did not update.

from cacti-template.

KnoAll avatar KnoAll commented on May 27, 2024

I did some testing and this is indeed the case. the System timezone setting does not take effect until reboot so MYSQL will not pick up the change

from cacti-template.

mottld avatar mottld commented on May 27, 2024

Yeah I rebooted a few times. I may try a second install. I'll close this ticket and will reopen if I find anything different.

from cacti-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.