Re: [Nagios-users] Another Nagios Historical Data Question

2010-11-15 Thread Marc Powell
On Nov 15, 2010, at 8:12 AM, Ales Rikovsky wrote: > I know. It's stored in /var/log/nagios/archives/x.log > > But I'm not hunger for rewriting the tons of files manually. > Can anyone help me with the script or something like that, maybe if it > could ask for old and new names and rewrites

Re: [Nagios-users] Another Nagios Historical Data Question

2010-11-15 Thread Ales Rikovsky
On 15.11.2010 13:22, Keith Bastin wrote: > I am referring to a search and replace > within each of the history files, not the names of those files. The Nagios > Archives all of the state change data for hosts and services within a flat > text file that is rolled daily. Those files are stored in t

Re: [Nagios-users] Another Nagios Historical Data Question

2010-11-15 Thread Keith Bastin
I am referring to a search and replace within each of the history files, not the names of those files. The Nagios Archives all of the state change data for hosts and services within a flat text file that is rolled daily. Those files are stored in the archives folder and whenever you run a trend re

Re: [Nagios-users] Another Nagios Historical Data Question

2010-11-15 Thread Keith Bastin
When you run the history reports they build the historical data by parsing for the service name in the files in the archives folder. The reason the history isn't there is because the name has changed. You could do a search and replace on all the files in the archive folder to stamp them with the ne