Page 1 of 1

Error during linux-nrpe-agent installation on VMA

Posted: Wed Mar 09, 2016 11:40 am
by nagios-retail
Hi,

We are using vMA 5.5.0 BUILD-1663088 to monitor our ESX/vCenter servers with the box293_check_vm plugin.
I would like to monitor the vMA as well because the load gets pretty high from time to time.
I've used the Linux Server configuration wizard in Nagios XI to add the server to NagiosXI and wanted to install the linux-nrpe-agent.tar.gz
If I run the fullinstall script I get the following error :

Code: Select all

ERROR: Could not determine OS. Please make sure lsb_release is installed or your OS info is in /etc/os-release.
Can someone help me out pls ?
Here's some extra information about the vMA

Code: Select all

myhost:/tmp # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
myhost:/tmp # cat /etc/vma-release
vMA 5.5.0 BUILD-1663088


Re: Error during linux-nrpe-agent installation on VMA

Posted: Wed Mar 09, 2016 2:43 pm
by ssax
I'm going to lab this up, there likely needs to be some changes, I'll let you know what I find.

Re: Error during linux-nrpe-agent installation on VMA

Posted: Wed Mar 09, 2016 4:32 pm
by ssax
First I had to run this command:

Code: Select all

zypper install libopenssl-devel gcc45
It will ask you, Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r), type the letter a and hit enter.

It then asked:

Code: Select all

Problem: gcc45-4.5.1_20101208-9.8.x86_64 requires binutils-gold, but this requirement cannot be provided
  uninstallable providers: binutils-gold-2.21-13.1.i586[opensuse]
                   binutils-gold-2.21-13.1.x86_64[opensuse]
 Solution 1: downgrade of binutils-2.21.1-0.9.2.x86_64 to binutils-2.21-13.1.x86_64
 Solution 2: do not install gcc45-4.5.1_20101208-9.8.x86_64
 Solution 3: do not install gcc45-4.5.1_20101208-9.8.x86_64
 Solution 4: break gcc45-4.5.1_20101208-9.8.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/4/c] (c):
I typed the number 1 and hit enter (again, not sure if this will break anything but it sounded like the best solution to get this working).

Code: Select all

Continue? [y/n/?] (y):
Type the letter y and hit enter.

Now it will go through and install the pre-reqs.

Replace the get-os-info file with the one I've attached (unzip it first):
get-os-info.zip
cd into the install directory and then run these commands:
- Make sure to change X.X.X.X to your XI server IP

Code: Select all

touch installed.firewall
echo "nrpe:X.X.X.X" >> /etc/hosts.allow
./fullinstall
Let me know the results.

Re: Error during linux-nrpe-agent installation on VMA

Posted: Thu Mar 10, 2016 4:03 am
by nagios-retail
That solved my problem thx once again for the quick response !