Problems with history

Tomáš Macek maca02 at atlas.cz
Thu Jul 8 07:33:20 CEST 2004


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