Nagios XI Install/Upgrade issues
Posted: Wed Mar 27, 2019 7:53 am
We have Red Hat 7.6 64bit VM's for our Nagios XI servers. Our install of Red Hat is supported through SUSE and using Spacewalk for updates. Because of this, it appears that any Nagios XI install/upgrade fails the checks for the Red Hat rpm's (rpm -q redhat-release || rpm -q redhat-release-server).
Is there a step by step guide to getting around this? It is a bit problematic for us to have to manually edit the install files each time and then also edit our xi-sys.cfg file multiple times to get rid of improperly formatted version info.
Examples for version from get-os-info:
RPM checks:
Is there a step by step guide to getting around this? It is a bit problematic for us to have to manually edit the install files each time and then also edit our xi-sys.cfg file multiple times to get rid of improperly formatted version info.
Examples for version from get-os-info:
Code: Select all
$ sed 's/.*release \([0-9.]\+\).*/\1/' /etc/redhat-release
7.6
7.6
# The above "Red Hat Enterprise Linux Server" string is only used to
# keep software compatibility.
Code: Select all
$ rpm -q redhat-release-server
package redhat-release-server is not installed
$ rpm -q redhat-release
package redhat-release is not installed
Code: Select all
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
# This is a "SLES Expanded Support platform release 7.6"
# The above "Red Hat Enterprise Linux Server" string is only used to
# keep software compatibility.