Devices import

Import your existing LPAR2RRD and STOR2RRD devices configuration into XorMon NG

  1. Export device configuration from your current LPAR2RRD or STOR2RRD appliance
    • Log into the command line of your LPAR2RRD/STOR2RRD Appliance using SSH as user "lpar2rrd" or "stor2rrd" (depending on your installation).
    • Do not use "su - lpar2rrd", you will get a permission error, log directly as the user
    • Go to LPAR2RRD/STOR2RRD installation directory - usually "/home/lpar2rrd/lpar2rrd/bin" or "/home/stor2rrd/stor2rrd/bin" (depending on your installation)
    • Run the export script ./devices_to_ng.sh
    • If you are using LPAR2RRD or STOR2RRD older than v7.85, get the script manually, check bellow
    • You will be prompted for a passphrase to encrypt the configuration file (if encryption is possible)
    • Make a note of the file name provided by the script
    • Example: devex_XXXXXX.gpg (or devex_XXXXXX.json if encryption is missing)

  2. Navigate to XorMon NG UI ➡ Device ➡ Import: click on the "Import Devices" button and following the import form

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