Nagios "clock" way off

Justin Pryzby justinp at norchemlab.com
Sun Oct 11 17:24:21 CEST 2009


On Sun, Oct 11, 2009 at 10:49:15AM -0400, Kyle Tucker wrote:
> On Sun, Oct 11, 2009 at 07:34:39AM -0700, Justin Pryzby wrote:
> > On Sun, Oct 11, 2009 at 07:30:19AM -0400, Kyle Tucker wrote:
> > > 
> > > check until October of 2014!. I saw this for all services
> > > with the last check having been the same year. The system
> > > clock is definitely correct. Once I force a service check,
> > Can you check nagios.log and see if the wrong time exists there, and
> > when it started?  I wonder if your battery is dead, and nagios was
> > started (during the last boot) before NTP, or otherwise before NTP did
> > its "one time sync" (ntp -g).
> > 
> > Under linux, convert from "epoch" time like: date -d @1255244400
> 
> Thanks Justin,
> 
> All times in nagios.log convert to the current dates and the event log is current as well.
Just to be sure, is that true for the earliest lines at midnight the
day you discovered the problem?

[1255244400] LOG ROTATION: DAILY
justinp at charcoal:~$ date -d @1255244400
Sun Oct 11 00:00:00 MST 2009

Justin

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list