Error during linux-nrpe-agent installation on VMA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagios-retail
Posts: 36
Joined: Mon Feb 09, 2015 3:32 am

Error during linux-nrpe-agent installation on VMA

Post 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

ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post by ssax »

I'm going to lab this up, there likely needs to be some changes, I'll let you know what I find.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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.
You do not have the required permissions to view the files attached to this post.
nagios-retail
Posts: 36
Joined: Mon Feb 09, 2015 3:32 am

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

Post by nagios-retail »

That solved my problem thx once again for the quick response !
Locked