Page 1 of 1

Leap Year weirdness(?)

Posted: Mon Mar 02, 2020 11:10 am
by mbeebe
I don't know if this is a bug, a curiosity or just something that we're the only ones experiencing, but for -reasons-, there's no logs for 2/29/20:

ls -laSt | head
total 579424
drwxr-xr-x 6 nagios nagios 4096 Mar 2 08:04 ..
drwxrwxr-x 2 nagios nagios 36864 Mar 1 23:59 .
-rw-r----- 1 nagios nagios 418488 Mar 1 23:00 nagios-03-02-2020-00.log
-rw-r----- 1 nagios nagios 938066 Feb 29 23:01 nagios-03-01-2020-00.log
-rw-r----- 1 nagios nagios 531108 Feb 27 23:07 nagios-02-28-2020-00.log
-rw-r----- 1 nagios nagios 594461 Feb 26 23:34 nagios-02-27-2020-00.log
-rw-r----- 1 nagios nagios 570803 Feb 25 23:55 nagios-02-26-2020-00.log
-rw-r----- 1 nagios nagios 543567 Feb 24 23:00 nagios-02-25-2020-00.log
-rw-r----- 1 nagios nagios 510379 Feb 23 23:00 nagios-02-24-2020-00.log

Muh?

-- Mike Beebe

Re: Leap Year weirdness(?)

Posted: Mon Mar 02, 2020 12:41 pm
by scottwilkerson
I have one

Code: Select all

-rw-r--r-- 1 nagios nagios 8155821 Feb 25 00:00 nagios-02-25-2020-00.log
-rw-r--r-- 1 nagios nagios 8133809 Feb 25 23:59 nagios-02-26-2020-00.log
-rw-r--r-- 1 nagios nagios 8102396 Feb 26 23:59 nagios-02-27-2020-00.log
-rw-r--r-- 1 nagios nagios 8189515 Feb 27 23:59 nagios-02-28-2020-00.log
-rw-r--r-- 1 nagios nagios 8170503 Feb 28 23:59 nagios-02-29-2020-00.log
-rw-r--r-- 1 nagios nagios 8107868 Feb 29 23:59 nagios-03-01-2020-00.log
-rw-r--r-- 1 nagios nagios 8133538 Mar  1 23:59 nagios-03-02-2020-00.log
[root@localhost ~]#
Your nagios-03-01-2020-00.log does look about twice as big as the others, though, so you likely have them all in there, somehow nagios missed the rotation (maybe just happened to be down at that time?)

Re: Leap Year weirdness(?)

Posted: Mon Mar 02, 2020 12:53 pm
by mbeebe
Ok -- I'll write this off as a one-time thing. Not sure what happened, but apart from a few checks saying they can put up historical data for the 29th, everything else seems ok.

Thanks,

-- Mike Beebe

Re: Leap Year weirdness(?)

Posted: Mon Mar 02, 2020 12:58 pm
by scottwilkerson
mbeebe wrote:Ok -- I'll write this off as a one-time thing. Not sure what happened, but apart from a few checks saying they can put up historical data for the 29th, everything else seems ok.

Thanks,

-- Mike Beebe
Sounds good