[hobbit] back to the future .. help on history
John Glowacki
johng at idttechnology.com
Fri Feb 2 17:26:44 CET 2007
The data/hist/allevents file.
John
Gianluca Rossi - Acantho wrote:
> no one has an hint ?
> i am thinking on this procedure:
> - stop hobbit
> - remove Nov 1 entry from the history
> cd /data/hist
> grep -v 'Wed Nov 1 00:00:..' for every file
> - delete histlogs
> cd /data/histlog
> find . -type f -name 'Wed_Nov_1_00:00:??_2006' -exec rm {} \;
>
> - start hobbit
>
> I am missing something?
>
> --
> Gianluca
>
>
>
> Gianluca Rossi - Acantho wrote:
>> An unlucky "date" command on the hobbit server has changed the time
>> from jan 12 to nov 1 for about 10/15 minutes :(
>> Now almost all histories look like this:
>>
>> Mon Jan 29 00:09:59 2007 green 10:32:48
>> Sun Jan 28 23:55:01 2007 red 0:14:58
>> Wed Nov 01 00:00:32 2006 green 88 days 23:54:29
>> Wed Nov 01 00:00:17 2006 purple 0:00:15
>> Fri Jan 12 11:21:29 2007 green none
>> Fri Jan 12 09:55:20 2007 red 1:26:09
>>
>> is there a way to clean the history removing the wrong "Nov 01" lines?
>> thank you
>> --
>> Gianluca
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
More information about the Xymon
mailing list