Install Nagios XI Agent in SLES

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
EDP_Nagios_Support
Posts: 2
Joined: Wed Feb 19, 2020 5:36 am

Install Nagios XI Agent in SLES

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Install Nagios XI Agent in SLES

Post by Box293 »

Can you please post the output that shows what is not working.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
EDP_Nagios_Support
Posts: 2
Joined: Wed Feb 19, 2020 5:36 am

Re: Install Nagios XI Agent in SLES

Post 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"
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Install Nagios XI Agent in SLES

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked