Page 4 of 4
Re: Nagios XI 2014R2.1 Upgrade
Posted: Thu Jan 08, 2015 10:26 am
by cmerchant
If you have zypper installed, could you send the output of the following command:
it will tell us what repos you have and which ones are enabled. Thanks.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Fri Jan 09, 2015 8:28 am
by jkinning
Code: Select all
zypper repos -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+------------------------------------------------+--------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------+----------
1 | spacewalk:sles11-sp3-pool-x86_64 | SLES11-SP3-Pool for x86_64 | Yes | Yes | 99 | rpm-md | plugin:spacewalk?channel=sles11-sp3-pool-x86_64 | spacewalk
2 | spacewalk:sles11-sp3-suse-manager-tools-x86_64 | SLES11-SP3-SUSE-Manager-Tools x86_64 | Yes | Yes | 99 | rpm-md | plugin:spacewalk?channel=sles11-sp3-suse-manager-tools-x86_64 | spacewalk
3 | spacewalk:sles11-sp3-updates-x86_64 | SLES11-SP3-Updates for x86_64 | Yes | Yes | 99 | rpm-md | plugin:spacewalk?channel=sles11-sp3-updates-x86_64 | spacewalk
Re: Nagios XI 2014R2.1 Upgrade
Posted: Fri Jan 09, 2015 12:04 pm
by sreinhardt
I think we have the package names incorrect for sles 11 in our install scripts. Try changing line 26 like so:
Code: Select all
From
zypper --non-interactive install autoconf gcc glibc libmcrypt-devel make libopenssl-devel sudo sysstat xinetd bc
To:
zypper --non-interactive install autoconf gcc glibc libmcrypt-devel make openssl-devel sudo sysstat xinetd bc
Unfortunately this does not resolve the libmcrypt package, which does appear to be named correctly. It does seem that you are using satallite\spacewalk servers to internally house your packages. Can you check and be sure if you have altered either package name, and if they currently exist within your systems?
Re: Nagios XI 2014R2.1 Upgrade
Posted: Fri Jan 09, 2015 3:37 pm
by jkinning
What script do I need to change?
Re: Nagios XI 2014R2.1 Upgrade
Posted: Fri Jan 09, 2015 3:41 pm
by jkinning
Nevermind I found it, 1-prereqs
I am using SUSE Manager to manage my SLES and RHEL hosts. I'll be sure to install all the prereq packages and see how that goes.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Fri Jan 09, 2015 4:36 pm
by cmerchant
Thanks for your persistence on this NRPE install script for SUSE. Let us know how it works out.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Mon Jan 12, 2015 8:52 am
by jkinning
Well, I removed my SUSE Manager repos and re-registered with just the regular online update channels. I tried to add the SDK channels to SUSE Manager but still encountered some dependency issues. So, once I got the regular online SUSE channels added all looked good. The installation completed but my Nagios XI server was unable to communicate. Getting the Return code of 255 is out of bounds error again. When I test nmap to the machine it is closed.
PORT STATE SERVICE
5666/tcp closed nrpe
Re: Nagios XI 2014R2.1 Upgrade
Posted: Mon Jan 12, 2015 9:59 am
by jkinning
Holy smokes! That was quite painful but I believe I have it going.
Some items maybe for a to-do to improve future releases for SLES is to include the necessary packages from the get go and remove the need to add the SDK channels. Also, run a check for SLES to see if lsb-release is installed and install it if not.
Re: Nagios XI 2014R2.1 Upgrade
Posted: Mon Jan 12, 2015 10:44 am
by cmerchant
Glad that you finally have the NRPE agent working with SLES! We'll go ahead and close this thread. Thank you.