Problems with history
Horvath Tamas
zsitfa at axelero.hu
Fri Jul 9 21:35:55 CEST 2004
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!
> >>>
> >>
> >
> >
> >
> >
> >
> >
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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