Import your existing LPAR2RRD and STOR2RRD devices configuration into XorMon NG
Encrypted file transfer
The method uses GPG to encrypt the configuration file (which consists sensitive data like device's users and passwords) on source LPAR2RRD and STOR2RRD machine, transfering it through network into XorMon NG and importing it.
- Export device configuration from your current LPAR2RRD or STOR2RRD appliance
- Navigate to XorMon NG UI ➡ Setting icon ➡ Device ➡ Import: click on the "Import Devices" button and following the import form
v7.85 and olders
If you run LPAR2RRD or STOR2RRD in older versions than v7.85 then use these scripts for support of complete devices configuration import into new running XorMon NG.
Script is same for both tools.
www.xormon.com/download-static/devices_to_ng.sh.gz
-rwxrwxr-x 1 lpar2rrd lpar2rrd 1399 Jan 26 13:53 ./bin/devices_to_ng.sh
Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin/device_cfg.pl (for LPAR2RRD)
Gunzip it and copy to /home/stor2rrd/stor2rrd/bin/device_cfg.pl (for STOR2RRD)
If your web browser gunzips it automatically then just rename it: mv devices_to_ng.sh.gz devices_to_ng.sh
Make sure that file size is the same as on above example
Non encrypted file transfer
You can directly grab the configuration file from LPAR2RRD and STOR2RRD and import them into XorMon NG (supported since XorMon NG 1.8.0+)
STOR2RRD
get file 'devicecfg.json' onto your local PC
cd `cat ~/.stor2rrd_home`
cd etc/web_config
ls -l devicecfg.json
-rw-r--r-- 1 lpar2rrd lpar2rrd 46885 May 6 14:21 devicecfg.json
Use it as the source for the import: XorMOn NG UI ➡ Settings ➡ Device ➡ Device Import/Export
LPAR2RRD
get file 'hosts.json' onto your local PC
cd `cat ~/.lpar2rrd_home`
cd etc/web_config
ls -l hosts.json
-rw-rw-r-- 1 lpar2rrd lpar2rrd 19717 Apr 9 12:41 hosts.json
Use it as the source for the import: XorMOn NG UI ➡ Settings ➡ Device ➡ Device Import/Export