Page 1 of 1
Install Nagios XI Agent in SLES
Posted: Wed Feb 19, 2020 5:49 am
by EDP_Nagios_Support
Hi,
I acquired a Nagios XI License and i need install the NRPE Agent on SUSE Enterprise 11 and 12. I followed the documentation:
https://assets.nagios.com/downloads/nag ... _Agent.pdf
But i executing the fullinstall script, not work.
Re: Install Nagios XI Agent in SLES
Posted: Wed Feb 19, 2020 5:13 pm
by Box293
Can you please post the output that shows what is not working.
Re: Install Nagios XI Agent in SLES
Posted: Thu Feb 20, 2020 2:38 am
by EDP_Nagios_Support
I pass the script output:
Code: Select all
nagiostestxisuse11:/tmp/linux-nrpe-agent # ./fullinstall
SLES is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, CloudLinux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.
Code: Select all
nagiostestxisuse11:/tmp/linux-nrpe-agent # bash -x fullinstall
+ ./init.sh
+ . ./xi-sys.cfg
++ apachegroup=apache
++ apacheuser=apache
++ chownbin=/bin/chown
++ groupaddbin=/usr/sbin/groupadd
++ groupdelbin=/usr/sbin/groupdel
++ htpasswdbin=/usr/bin/htpasswd
++ httpdconfdir=/etc/httpd/conf.d
++ httpd=httpd
++ mkdirbin=/bin/mkdir
++ mrtgcfg=/etc/mrtg/mrtg.cfg
++ mysqld=mysqld
++ mysqlpass=nagiosxi
++ pgsqlrootpass=postgres
++ pgsqlpass=nagiosxi
++ nagioscmdgroup=nagcmd
++ nagiosgroup=nagios
++ nagiosuser=nagios
++ nagioswebpwd=nagiosadmin
++ nagioswebuser=nagiosadmin
++ phpconfd=/etc/php.d
++ php_extension_dir=/usr/lib/php/modules
++ phpini=/etc/php.ini
++ proddir=/usr/local/nagiosxi
++ useraddbin=/usr/sbin/useradd
++ usermodbin=/usr/sbin/usermod
++ userdelbin=/usr/sbin/userdel
++ xiver=2011r2.3
++ distro=SLES
++ version=11.4
++ ver=11
++ architecture=x86_64
++ dist=sles11.4
++ arch=x86_64
+ log=install.log
+ export INTERACTIVE=True
+ INTERACTIVE=True
+ export NRPE_ALLOWED_IPS=
+ NRPE_ALLOWED_IPS=
+ export MODE=xinetd
+ MODE=xinetd
++ id -u
+ '[' 0 -ne 0 ']'
+ caninstall=no
+ '[' SLES == CentOS ']'
+ '[' SLES == RedHatEnterpriseServer ']'
+ '[' SLES == openSUSE ']'
+ '[' SLES == SUSE ']'
+ '[' SLES == Fedora ']'
+ '[' SLES == Debian ']'
+ '[' SLES == Ubuntu ']'
+ '[' SLES == CloudLinux ']'
+ case "$dist" in
+ '[' no == no ']'
+ echo 'SLES is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, CloudLinux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.'
SLES is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, CloudLinux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.
+ exit 1
OS info
Code: Select all
nagiostestxisuse11:/tmp/linux-nrpe-agent # cat /etc/os-release
NAME="SLES"
VERSION="11.4"
VERSION_ID="11.4"
PRETTY_NAME="SUSE Linux Enterprise Server 11 SP4"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:11:4"
Re: Install Nagios XI Agent in SLES
Posted: Thu Feb 20, 2020 5:15 pm
by Box293
Due to the age of the OS you are running our automated installer may not work.
I suggest installing the agent using this method:
https://support.nagios.com/kb/article.php?id=515#SUSE