V-Shell reports incorrect Last Check time

Information and discussions relating to the Nagios V-Shell web interface.

V-Shell reports incorrect Last Check time

Postby ruffy01 » Wed Jun 01, 2016 7:08 pm

Hi guys :)

As the title suggests, V-Shells reported 'Last Check' time is EXACTLY 10 hours behind that reported by Nagios.
All other data fields are correct.

Nagios Core, vers. 4.1.1, is hosted on Centos 7 and using the latest version of V-Shell.

Any ideas greatly appreciated.

Thanks,
Andrew.
ruffy01
 
Posts: 24
Joined: Wed Mar 23, 2016 4:59 pm

Re: V-Shell reports incorrect Last Check time

Postby Box293 » Wed Jun 01, 2016 7:12 pm

Can you check the timezone is correctly configured in the system and apache.

This guide is for XI, by it's essentially the same.

https://assets.nagios.com/downloads/nagiosxi/docs/Changing_The_XI_System_Time.pdf

Does this help?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

ALL of my Projects on the Nagios Exchange

Check out my Nagios website
User avatar
Box293
Too Basu
 
Posts: 4764
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: V-Shell reports incorrect Last Check time

Postby eloyd » Wed Jun 01, 2016 7:23 pm

I just installed the latest V-shell onto a Nagios 4.1.1 Core box and have no issues with time. Can you screenshot what's not right, assuming that @box's time fix doesn't solve the problem?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
User avatar
eloyd
Cool Title Here
 
Posts: 1981
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY

Re: V-Shell reports incorrect Last Check time

Postby ruffy01 » Wed Jun 01, 2016 10:38 pm

Box293 wrote:Can you check the timezone is correctly configured in the system and apache.

This guide is for XI, by it's essentially the same.

https://assets.nagios.com/downloads/nagiosxi/docs/Changing_The_XI_System_Time.pdf

Does this help?


Thanks for your replies guys :)
The guide provided by Box293 (above) did the trick.
Oddly, " /etc/sysconfig/clock" didn't exist and "nano /etc/php.ini" revealed "date.timezone = " was commented out with no timezone entered.
So I created "/etc/sysconfig/clock" , uncommented "date.timezone = " and entered the correct timezone and DONE!

Thanks heaps,
Andrew
ruffy01
 
Posts: 24
Joined: Wed Mar 23, 2016 4:59 pm

Re: V-Shell reports incorrect Last Check time

Postby mcapra » Thu Jun 02, 2016 9:43 am

Glad you were able to find a solution! Closing this thread
Former Nagios employee
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3460
Joined: Thu May 05, 2016 3:54 pm


Return to Nagios V-Shell

Who is online

Users browsing this forum: No registered users and 1 guest