Hello,
I am trying to do some hobbit house keeping by using the trimhistory tool, however it is not working as expected.
I have run the following command and expected no action to be taken as the server was only built in November 2007
[root at xxx01x $] /var/hobbit/server/bin/trimhistory --debug
--env=/var/hobbit/server/etchobbitserver.cfg --cutoff=date +%s --date="1 Oct 2004"
However it looks to be trimming logs from many hosts: 2008-01-09 15:30:31 Processing xxx04x.conn 2008-01-09 15:30:31 Processing xxx01x.conn 2008-01-09 15:30:31 Processing xxx01x.conn 2008-01-09 15:30:31 Processing xxx01x.conn 2008-01-09 15:30:31 Processing xxx03x.conn ..........
When i then look at the conn tests on the above servers, i have different lengths of history left, days or hours, so not consistent for each one.
It is as if the --cutoff option is not working, does this have to be the 1st command after trimhistory?
Server in question has correct date set [root at xxx01x etc]# date Wed Jan 9 17:03:50 GMT 2008
looking at another server that it has yet to get too shows that there are no logs older than Nov 2007.
Any pointers would be appreciated running the latest stable version of hobbit 4.2.0.
Thanks
Dominic
Protected by Websense Messaging Security ? www.websense.com