User Tools

Site Tools


monitoring:lpar2rrd:xormon_install

This is an old revision of the document!


Install xormon

Enable CodeReady Builder (RHEL) repository (as root)RHEL 9:

subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
[root@xormon01 ~]# subscription-manager repos
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
...
Repo ID:   Demo_EPEL_9_x86_EPEL9x86repo
Repo Name: EPEL9x86repo
Repo URL:  https://lnxsat01p.demo.lu/pulp/content/ProdX86/x86_RH9_EPEL9_RHEL9CCV/custom/EPEL_9_x86/EPEL9x86repo
Enabled:   1

Install additional packages (as root)

dnf install -y perl ed libxml2 epel-release wget curl gnupg net-tools sblim-wbemcli libaio wget curl strace 
dnf install -y perl-TimeDate perl-XML-Simple perl-XML-SAX perl-XML-LibXML perl-Env perl-CGI perl-Data-Dumper
dnf install -y perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty openldap-clients perl-Time-Piece perl-FindBin
dnf install -y perl-JSON perl-JSON-PP perl-JSON-XS net-snmp-perl net-snmp-utils perl-DBI perl-DBD-ODBC unixODBC unixODBC-devel freetds
dnf install -y perl-Net-INET6Glue # it might not exist everywhere like RedHat 9.x, then ignore it
dnf install -y perl-DBD-Pg # for oVirt/RHV/OLVM support only
dnf install -y python3-virtualenv python3-pip libpq-devel python3-devel gcc-c++ gcc

Note: Many EPEL packages require the CodeReady Builder (CRB) repository.

It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

Install Node.js

Instead nodejs, we install nosolid (latest: https://rpm.nodesource.com/)

[root@xormon01 ~]# curl -fsSL https://rpm.nodesource.com/setup_22.x
[root@xormon01 ~]# sudo yum install -y nsolid

[root@xormon01 ~]# npm update -g npm
removed 13 packages, and changed 61 packages in 5s
37 packages are looking for funding
  run `npm fund` for details

[root@xormon01 ~]# node -v
v22.13.1

Install Timescale DB (as root)

Add the 2 folowing repos

  # EL9
# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
  Add TimescaleDB repository
  Copy and paste the following text as a single command to the commandline
# cat  /etc/yum.repos.d/timescale_timescaledb.repo 

    [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
# dnf install -y timescaledb-2-postgresql-16 postgresql16-contrib
monitoring/lpar2rrd/xormon_install.1749121309.txt.gz · Last modified: 2025/06/05 13:01 by manu