Transferring Data between installs
Marc Powell
marc at ena.com
Tue Aug 9 21:18:45 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Formy-Duval Alan
> Sent: Tuesday, August 09, 2005 2:04 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Transferring Data between installs
>
> All,
>
> I want to transfer all logs and data from an older nagios install to a
> newer install on another server. What do I need to do? Can I just
copy
> the contents of the nagios/var directory?
Well, as long as your config's are the same and your log rotation period
is the same, all you really need for historical data is var/nagios.log
(log_file in nagios.cfg) and var/archives/* (log_archive_path in
nagios.cfg). If you have state retention enabled you might want to also
copy over your state_retention_file (probably var/status.sav).
--
Marc
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list