<just to clarify my last message> 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 report on a service or host state history it parses every daily file in the archive folder that falls within the date range of your query.
--- 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 new service name if you really want to maintain that history. -----Original Message----- From: Ales Rikovsky [mailto:ales.rikov...@upol.cz] Sent: Monday, November 15, 2010 4:52 AM To: Nagios Users List Subject: [Nagios-users] Another Nagios Historical Data Question Hi, when I change name of the host or service, I'll lose history for them. Has anyone found the solution for that problem? Probably some script, that will replace names of of the host and/or service in the log files....???? Thank you. Ales -- Ales Rikovsky +420 585631826 ales.rikov...@upol.cz Biskupske nam. 1 Palacky University Computer Center 771 11 Olomouc ---------------------------------------------------------------------------- -- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users@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 ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users@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