Differences

This shows you the differences between two versions of the page.

Link to this comparison view

usage:nagiospi-to-nems [2019/02/04 11:35] (current)
Line 1: Line 1:
 +====NEMS Migrator: Upgrade NEMS 1.0 or nagiospi to latest NEMS====
  
 +Thanks for being an early-adopter! Whether you're coming from NEMS 1.0 or its predecessor,​ nagiospi, I want to make it as easy as possible for you to get the latest and greatest, without having to reconfigure everything. It's been exciting to see the NEMS project really catching on, and I endeavor to make it the best it can be. Your suggestions along the way have helped me focus on some great features for as NEMS continues to evolve.
 +
 +NEMS 1.1+ has a nifty backup and export tool called NEMS Migrator. While it comes pre-packaged in 1.1+, I designed it specifically to run on legacy builds as well (NEMS 1.0 or nagiospi), giving you the opportunity to export your old configuration,​ deploy the latest version of NEMS, and then restore the configuration to NEMS. Easy peasy!
 +
 +Here's what you need to do:
 +
 +<WRAP center round important 60%>
 +Note: These instructions are for NEMS 1.0 or nagiospi only. Do not do this on NEMS 1.1+ as the tool is already built-in.
 +</​WRAP>​
 +
 +  - SSH into your legacy NEMS/​nagiospi server.
 +  - Become root: <code bash>​sudo su</​code>​
 +  - Update repository data. Type: <code bash>​apt-get update</​code>​
 +  - Install Git. Type: <code bash>​apt-get install git</​code>​
 +  - Install NEMS-Migrator in /tmp. Type: <code bash>cd /tmp && git clone https://​github.com/​Cat5TV/​nems-migrator</​code>​
 +  - Create the backup config on your NEMS/​nagiospi system. Type:
 +    - If on NEMS 1.0: <code bash>cd /​tmp/​nems-migrator &&​ ./​backup.sh</​code>​
 +    - If on nagiospi:​ <​code bash>cd /​tmp/​nems-migrator &&​ ./​nagiospi2nems.sh</​code>​
 +  - Download the backup to your computer by opening it in your web browser. In your favorite web browser, simply add /backup/ to the end of your NEMS/​nagiospi server address. Eg., //​%%http://​10.0.0.5/​backup/​%%//​
 +  - Now that you have your backup.nems file, follow [[commands:​nems-restore|the instructions to restore your configuration to a new version of NEMS]].
  • usage/nagiospi-to-nems.txt
  • Last modified: 2019/02/04 11:35
  • (external edit)