NLS Setup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NLS Setup

Post by tmcdonald »

I have not tested that (currently trying to find a more permanent fix to the root problem) but in theory that should work. I have offset my graphs in a similar way by saying something like "24 hours ago to 1 hour ago" and they line up.
Former Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NLS Setup

Post by tmcdonald »

Jake, one of our developers, to the rescue!

Everyone who is having this problem, please check your /etc/sysconfig/clock file. Make sure the ZONE= is set to your proper timezone. Also, check your /etc/php.ini and make sure your date.timezone setting is correct as well. Restart the httpd service for good measure and you should be good to go!
Former Nagios employee
OptimusB
Posts: 146
Joined: Mon Oct 27, 2014 10:08 pm
Location: Canada
Contact:

Re: NLS Setup

Post by OptimusB »

Perfect! This worked. It was both the timezone and php.ini. Thanks and great response!
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: NLS Setup

Post by cmerchant »

Great! Is this fix working for everyone else? I'll leave this open for comments.
Locked