# switch to root su - npm install -g npm@latest npm install -g n n 20 # check node version, it should display v20.X node --version
systemctl enable --now postgresql-14Start XorMon NG (as lpar2rrd)
su - lpar2rrd cd /opt/xorux/xormon-ng/ ./xormon.sh startNavigate to XorMon NG GUI
https://<IP>/xormon-ngDefault login: xormon / xormon
![]() |
cd /opt/xorux/xormon-ng/ ./xormon.sh start
Running XorMon NG is a quick and simple way to test the new version. However, we do not currently recommend using Docker version of XorMon NG for long-term production use.
Important notice:
Some devices require installation of third-party tools,
which is currently not supported in the Docker version.
This restriction applies to: All Databases, AWS, Google Cloud and some Storage systems.
You can see which storage systems require additional software: https://stor2rrd.com/install.php#storages
VMware, on the other hand, is supported and VMware Perl SDK can be installed using XorMon NG GUI.
There are two options:cd ~/xormon-ng vi .env APP_PORT=3000 APP_TIMEZONE=<timezone> DB_HOST=timescaledb DB_PORT=5432 DB_USERNAME=postgres DB_PASSWORD=<db_password> DB_DATABASE=xormon APP_DEBUG=false JWT_SECRET=<xormon-secret>
cd ~/xormon-ng vi docker-compose.yml version: "3.9" services: timescaledb: image: timescale/timescaledb:latest-pg14 restart: unless-stopped environment: - POSTGRES_USER=${DB_USERNAME} - POSTGRES_PASSWORD=${DB_PASSWORD} volumes: - ./data:/var/lib/postgresql/data ## uncomment if you want to have Postgres (TSDB) port opened on host # ports: # - '5432:5432' xormon: image: xorux/xormon-ng:latest restart: unless-stopped depends_on: - timescaledb env_file: .env volumes: - ./files:/usr/src/app/server-nest/files ports: - ${APP_PORT}:${APP_PORT} - 8162:8162
docker-compose up -d
https://<docekr_vm_IP>:3000/Default login: xormon / xormon
docker-compose pull docker-compose up -d
mkdir -p /var/xormon-ng/data mkdir -p /var/xormon-ng/files
docker run -v /var/xormon-ng/data:/var/lib/postgresql/data \ -d --name timescaledb -p 5432:5432 \ -e POSTGRES_PASSWORD=<db_password> timescale/timescaledb:2.10.0-pg14
vi ./xormon-ng.env APP_PORT=3000 APP_TIMEZONE=<timezone> DB_HOST=timescaledb DB_PORT=5432 DB_USERNAME=postgres DB_PASSWORD=<db_password> DB_DATABASE=xormon JWT_SECRET=<xormon-secret>
docker run -d --name xormon -p 3000:3000 \ -v /var/xormon-ng/files:/usr/src/app/server-nest/files \ --link timescaledb:timescaledb --env-file ./xormon-ng.env xorux/xormon-ng:<latest>
https://<docekr_vm_IP>:3000/Default login: xormon / xormon
docker rm -f {UUID|name} docker run -d --name xormon -p 3000:3000 \ -v /var/xormon-ng/files:/usr/src/app/server-nest/files \ --link timescaledb:timescaledb --env-file ./xormon-ng.env xorux/xormon-ng:latest
dnf config-manager --set-enabled powertools yum install -y ed bc libxml2 sharutils tar graphviz epel-release wget curl yum install -y perl-TimeDate perl-XML-Simple perl-XML-SAX perl-XML-LibXML perl-Env perl-CGI perl-Data-Dumper yum install -y perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty perl-Want yum install -y perl-JSON perl-JSON-PP perl-JSON-XS net-snmp-perlDebian / Ubuntu
apt install -y apache2 perl rrdtool ed bc curl sudo apt install -y librrdp-perl libxml-sax-perl libxml-simple-perl libtimedate-perl libenv-sanctify-perl apt install -y libcgi-pm-perl libdata-dumper-simple-perl libpdf-api2-perl libxml2-utils apt install -y libcrypt-ssleay-perl libio-socket-ssl-perl libmozilla-ldap-perl libxml-parser-perl apt install -y wget apt remove liblwp-protocol-https-perl cd /tmp/ wget http://archive.ubuntu.com/ubuntu/pool/main/libl/liblwp-protocol-https-perl/liblwp-protocol-https-perl_6.04-2_all.deb apt install -y libwww-perl dpkg -i liblwp-protocol-https-perl_6.04-2_all.deb dpkg -l | grep liblwp-protocol-https-perl apt-mark hold liblwp-protocol-https-perl dpkg -l | grep liblwp-protocol-https-perl apt install -y libxml-parser-perl libxml-sax-expat-perl
curl -sL https://rpm.nodesource.com/setup_20.x | sudo bash - dnf install -y nodejs npm cache clean -f npm install -g npm@latestDebian / Ubuntu
curl -sL https://deb.nodesource.com/setup_20.x | sudo bash - sudo apt-get install -y nodejs npm cache clean -f npm install -g npm@latest
dnf -qy module disable postgresql
yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpmExecute this as single cmd, copy&paste all lines below on the cmd line
tee /etc/yum.repos.d/timescale_timescaledb.repo <<EOL [timescale_timescaledb] name=timescale_timescaledb baseurl=https://packagecloud.io/timescale/timescaledb/el/$(rpm -E %{rhel})/\$basearch repo_gpgcheck=1 gpgcheck=0 enabled=1 gpgkey=https://packagecloud.io/timescale/timescaledb/gpgkey sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt metadata_expire=300 EOL
yum install -y timescaledb-2-postgresql-14 yum install -y postgresql14-contrib
/usr/pgsql-14/bin/postgresql-14-setup initdb
timescaledb-tune -yes --pg-config=/usr/pgsql-14/bin/pg_config
systemctl enable postgresql-14 systemctl start postgresql-14
sudo -u postgres psql postgres=# \password postgres postgres=# \q
apt install -y gnupg postgresql-common apt-transport-https lsb-release wget /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh ## DEBIAN echo "deb https://packagecloud.io/timescale/timescaledb/debian/ $(lsb_release -c -s) main" \ | sudo tee /etc/apt/sources.list.d/timescaledb.list ## UBUNTU echo "deb https://packagecloud.io/timescale/timescaledb/ubuntu/ $(lsb_release -c -s) main" \ | sudo tee /etc/apt/sources.list.d/timescaledb.list wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo apt-key add - apt update apt install -y timescaledb-2-postgresql-14
timescaledb-tune -yes systemctl restart postgresql
apt-get update apt-get install -y postgresql-client
sudo -u postgres psql postgres=# \password postgres postgres=# \q
firewall-cmd --zone=public --add-port=3000/tcp --permanent firewall-cmd --reloadDebian / Ubuntu
dpkg -l | grep ufw ufw status verbose uwf enable ufw allow ssh ufw allow http ufw allow https ufw allow 3000/tcp ufw reload
useradd -c "XorMon NG user" -m xormon passwd xormonDebian
adduser xormon passwd xormon
su - xormon mkdir xormon-ng cd xormon-ngDownload latest XorMon NG package to /home/xormon/xormon-ng
tar zxf xormon-ng-<ver>.tar.gz rm xormon-ng-<ver>.tar.gz ./xormon.sh start DB_HOST[127.0.0.1]= DB_PORT[5432]= DB_USERNAME[postgres]= DB_DATABASE[xormon]= DB_PASSWORD[]= <password>Setup Xormon NG startup script (as root)
su - env PATH=$PATH:/usr/bin /home/xormon/xormon-ng/server-nest/node_modules/pm2/bin/pm2 startup systemd -u xormon --hp /home/xormon
https://<IP>:3000/Default login: xormon / xormon