Problems with history

Tomáš Macek maca02 at atlas.cz
Mon Jul 26 14:19:40 CEST 2004


Hello,
I'm really sorry, but it doesn't work. I did not noticed three files *-23 (last yesterday) because of my inattention. Excude me, false alarm.

You are writing that it works for you with the ntpdate scheduled once a day. I will try your method - I'm assured it will work perfectly ;-)


Bye, Tomas



On Sat, 24 Jul 2004, Horvath Tamas wrote:

> Hello!
>
> I've just come back from holiday. I'm glad that it works.
>
> Maybe the key point is "the 55 minutes" because - as I mentioned - I
> scheduled nptdate on every 3 hours (01:00, 04:00, etc.) but this didn't
> work. Now I ran ntpdate once ebvery day and my installation works too,
> but I'll try your method.
>
> Bye, Tamas!
>
>
>
> 2004-07-19, h keltezéssel Tomáš Macek ezt írta:
>> Hi,
>> on 2004-07-08 we sheduled the ntpdate on every second hour and 55 minutes and it still works without mistake... (hopefully it will work in the future ;-)  )
>>
>> This is our line from contab of ntpdate:
>>
>> 55 */2 * * * root /usr/sbin/ntpdate -s our.host.cz
>>
>> So the difference is, that we shedulled the ntpdate about once per 2 hours, that's 50% less than it was before (it was once per hour), and this could be why nagios could be confused...
>>
>> By, Tom
>>
>>
>>
>> On Fri, 9 Jul 2004, Horvath Tamas wrote:
>>
>>> Hello!
>>>
>>> I think this won't help you. As I mentioned I ran ntpdate 01:00, 04:00,
>>> ... 22:00. About every two or three days the "-23.log" files appear.
>>>
>>> I saw Nagios info about time change. Did you see this too? The FAQ says
>>> that too many time change confuses Nagios.
>>>
>>> If I'm wrong please write it to me.
>>>
>>> Bye, Tamas!
>>>
>>>
>>> 2004-07-08, cs keltezéssel Tomáš Macek ezt írta:
>>>> Hi,
>>>> I asked our administrator about the FAQ 0093 and he told me, that the time synchronization is sheduled on 00:00 in cron, so maybe this could cause the problem. We scheduled the synchronization at the every hour and 50 minutes (1:50, 3:50, ...) and I'm very curious what will happen...
>>>>
>>>> Thank you very much for the tip!
>>>>
>>>> Tom
>>>>
>>>>
>>>> On Wed, 7 Jul 2004, Horvath Tamas wrote:
>>>>
>>>>> Hi Tom!
>>>>>
>>>>> I've thought it already, but I wanted a working solution as soon as
>>>>> possible. If I have enough time I'll be ad this capability to the script
>>>>> too.
>>>>>
>>>>> I found the cause also: see FAQ 0093:
>>>>> http://www.nagios.org/faqs/viewfaq.php?faq_id=93
>>>>>
>>>>> I use ntpdate which was run by root crontab in every 3 hours. Now I run
>>>>> it just once a day, when my nagios is not running. It seems that the
>>>>> problem gone! (I use it from 3 July, so its not a big time period to be
>>>>> anbsolutely secure.)
>>>>>
>>>>> Have a nice day, Tamas!
>>>>>
>>>>>
>>>>> 2004-07-07, sze keltezéssel Tomáš Macek ezt írta:
>>>>>> Hi Tamas!
>>>>>> sorry, for the delay of my answer, we had a 2 days free in Czech Republic...
>>>>>>
>>>>>> Thank you very much for the script, I will test it as early as possible. Nowaday
>>>>>> s I do not have enaught time to do that, but I will test it surely when I finish current project I'm working on.
>>>>>> You are writing, that you are not a programmer -> you wrote this script, so you
>>>>>> are the programmer! ;-)
>>>>>>
>>>>>> I looked into the script and I think you always go through the whole directory, it would be better to do move only one file according to the current date and this script would be run at 00:01 every day. I would like to add this to the script.
>>>>>>
>>>>>> Have a nice day
>>>>>>
>>>>>> Tom
>>>>>>
>>>>>>
>>>>>> On Fri, 2 Jul 2004, Horvath Tamas wrote:
>>>>>>
>>>>>>> Hi Tom!
>>>>>>>
>>>>>>> I couldn't manage to figure out why nagios creates *-23.log files.
>>>>>>>
>>>>>>> I wrote a little shell script for our problem. I use it via root
>>>>>>> crontab. I tested it in every scenario which I can imagine and it seemed
>>>>>>> to me that it works.
>>>>>>>
>>>>>>> Please note that I am not a programmer so the code may be not as
>>>>>>> compact, fast, etc. as would be.
>>>>>>>
>>>>>>> Two important notes:
>>>>>>> 1. Please replace MAGYAR_DATUM with DATUM. The first one create
>>>>>>> Hungarian date format from the original one.
>>>>>>> 2. Sorry for Hungarian textparts. I've no enough time to translate them
>>>>>>> to English.
>>>>>>>
>>>>>>> Congratulations for your football team. I'm a fun of them and I terrible
>>>>>>> sorry that they aren't in the final!:(
>>>>>>>
>>>>>>> Have a nice weekend, Tamas!
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>
>
>


More information about the Users mailing list