you can use the $ZENHOME from the zenoss user shell to point you to the correct 
zenoss install location.

Exp:

[zen...@rebelde share]$ echo $ZENHOME
/usr/local/zenoss/zenoss

also looking in to the mysql events database there is a age_events store 
procedure. Second using mysql administrator you can view the tables data length 
that specified the size of the history table. Mine was 1.5 GB before i set the 
"Delete Historical Events Older Than (days)" to 15 days. Now the size of the 
event database is 100 MB.

you can install mysql administrator or mysql query browser to make custom sql 
delete statements that fits your needs


remotesyslog wrote:
> 
> rebelinux wrote:
> > you can specified the deleted history time on Event Manager under Delete 
> > Historical Events Older Than (days) this can automatically delete the old 
> > events that you specified in the day variable
> > 
> 
> 
> It is currently set at 45 days. I do not think that is the same thing. 
> Regardless, I have set it to 30 and see no difference in the disk space used 
> by the zenoss database.
> 
> 
> rebelinux wrote:
> > 
> > or you can manually delete the events using the python script
> > 
> > /usr/local/zenoss/zenoss/Products/ZenUtils/ZenDeleteHistory.py --numDays=15
> > 
> 
> 
> /usr/local/zenoss does not exsist.
> 
> Since there is no "locate" on this zenoss appliance, I am unable to search 
> the drive for this script. Any other ideas where it might be?




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=35202#35202

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to