Hello,
I have to configure a new XI servers and i already configure lot of hosts to another XI servers. I would know if i can export existing hosts from the old to the new XI servers without created once again all services etc ... if yes .. please can you tell me the procedure that i've to follow ...
Thx you very much.
Export > import
Re: Export > import
You can probably just download your most recent configuration snapshot tarball and import those config files onto the new server. There's probably be a few additional steps you'd have to take, for example, if you were monitoring VMware, but that'd probably get you 90% of the way.
Re: Export > import
Hello and thanks for your quick answer,
i will not have problem with Nagios server name and ip adress or something like that ?
i will not have problem with Nagios server name and ip adress or something like that ?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Export > import
You can choose which file you want to import if you untar the snapshot and place the configs in a subdirectory of /usr/local/nagios/etcpouda wrote:Hello and thanks for your quick answer,
i will not have problem with Nagios server name and ip adress or something like that ?
Then Configure -> CCM -> Tools -> Import Config Files
Re: Export > import
thanks for asking this question mate, I was curios about this too.
can I tag long on this and ask if I wanted to replicate nagios a on nagios b what files and directories would you say I should move?
and could I do this through a straight copy from filezilla, and would I have to shut down the nagios services first?
can I tag long on this and ask if I wanted to replicate nagios a on nagios b what files and directories would you say I should move?
and could I do this through a straight copy from filezilla, and would I have to shut down the nagios services first?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Export > import
If you want a complete copy, you should follow the following docbenhank wrote:thanks for asking this question mate, I was curios about this too.
can I tag long on this and ask if I wanted to replicate nagios a on nagios b what files and directories would you say I should move?
and could I do this through a straight copy from filezilla, and would I have to shut down the nagios services first?
http://library.nagios.com/library/produ ... -nagios-xi
Re: Export > import
we are ok that i don't want backup and restore the same server... but i would like to move hosts and services from one Nagios server to another one... 
Re: Export > import
thanks scott but could i do a straight copy of the files with filezilla? and would i have to shut down the services?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Export > import
benhank,benhank wrote:thanks scott but could i do a straight copy of the files with filezilla? and would i have to shut down the services?
Don't do this, not a good idea. They will not get imported into XI database and will get overwritten on the next apply configuration.
pouda,pouda wrote:we are ok that i don't want backup and restore the same server... but i would like to move hosts and services from one Nagios server to another one...
You can do this with the process outlined above:
scottwilkerson wrote:You can choose which file you want to import if you untar the snapshot and place the configs in a subdirectory of /usr/local/nagios/etc
Then Configure -> CCM -> Tools -> Import Config Files
Re: Export > import
thanks, man you guys save my job on a daily basis.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion