Closed maelig closed 10 years ago
Hmm thats odd. Can you tell me what happens if you also change the end date to 20th ? (so that it only displays logs from that day)
Additionally, what does the querystring part of the url look like after doing the search.
Thanks for your quick reply !! If we change the end date to the 20th of March as well we simply have no logs that are visible at all. this problem is also visible on your demo site http://demo.adagios.org/status/log?start_time_picker=2014-03-20&start_hours=1%3A00&end_time_picker=2014-03-20&end_hours=23%3A59&search=&submit=&start_time=1395273600&end_time=1395356399#tab_all
Here is our query url http://server_icinga/adagios/status/log?start_time_picker=2014-03-20&start_hours=1%3A00&end_time_picker=2014-03-20&end_hours=23%3A59&search=&submit=&start_time=1395273600&end_time=1395356399#tab_all
Thanks
Ok, i can reproduce the problem in the demo environment. Will take a look at it. Thanks!
Ok the problem was actually in pynag, where log entries where not always returned in the correct order, on platforms where archivelogs where rotated in a weird manner.
Should be fixed as of pynag commit pynag/pynag@8c7a838b1010f5261d73a63f72a0333d926a3219
If we wish to analyse logs that were created on a previous day we naturally try to use the date field to see the logs created before. the problem is that when we change the date on this page it has no effect. So when we change from the 21st of March (today's date) to the 20th march (yesterdays' date) the logs do not change to the 20th but remain on the 21st. In Icinga the logs are rotated correctly everyday and the previous logs can be visualised.