Issue while monitoring Remote Linux Server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Issue while monitoring Remote Linux Server

Post by HAL »

Hi,

We are in a phase of installing Nagios XI agent on SuSE Linux Server.
We are getting error while running the ./fullinstall executable file.
Please find the attached screenshot for the above error.
We have followed the attached document to install the agent.
However we are still facing issues.

Kindly suggest appropriate method to install the agent on the SuSE Linux Server.

Thanks & Regards,
HAL
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Issue while monitoring Remote Linux Server

Post by dwhitfield »

The output of more install.log suggests you are trying to install the agent on the Nagios server rather than on the SLES.

Could you clarify where you are installing the agent?

Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile (not Show Profile) button in the top right corner. If for whatever reason you cannot download the profile, please put the output of Show Profile in the thread (that will at least get us some info).

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

- Dave

UPDATE: Profile received and shared with techs.
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: Issue while monitoring Remote Linux Server

Post by HAL »

Hi,

I have PM you profile.txt .
Please check and validate on the further steps.

Thanks & Regards,
Hal.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Issue while monitoring Remote Linux Server

Post by rkennedy »

Can you please clarify on @dwhitfields previous question? It seems to indicate the same thing I'm seeing.
The output of more install.log suggests you are trying to install the agent on the Nagios server rather than on the SLES.

Could you clarify where you are installing the agent?
Former Nagios Employee
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: Issue while monitoring Remote Linux Server

Post by HAL »

We are trying to install agent on SuSE Linux server in order to establish connection between Nagios server and remote Linux server.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Issue while monitoring Remote Linux Server

Post by rkennedy »

Could you verify the screenshot posted? The initial screenshot appears to be for a Cent5 machine with the install.log, not SUSE, which is where we have confusion.
Former Nagios Employee
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Issue while monitoring Remote Linux Server

Post by lmiltchev »

In addition to this, post the entire install.log from the SUSE machine, run the following commands in the command line, and show the output:

Code: Select all

ip addr | grep global | grep -m 1 'inet' | awk '/inet[^6]/{print substr($2,0)}' | sed 's|/.*||'
cat /etc/*release
Be sure to check out our Knowledgebase for helpful articles and solutions!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Issue while monitoring Remote Linux Server

Post by dwhitfield »

By verify, @rkennedy means more than just "yep, that's it"

@lmiltchev's suggestion should help you in that regard.

So, why are they asking you for this?

Here's the deal. Your profile says you are running Cent 6.8. One screenshot says Cent 6.4 and the other says SUSE. Now, why would there be a change between the two screenshots...maybe they came from two different sessions? Maybe the IP address changed in interim or DNS is goofed up?

We have here in our office an ssh banner that shows the IP address of the supposed server in question. It is, unfortunately, not 100% reliable. On our side, whether that is due to our VM appliance, I am not sure, but basically, what we are seeing right now makes no sense from where we sit. You are better positioned to figure out what is going on.

Now, once the agent install log is showing that it is picking up SUSE info, it'll be easier to move forward.

One thing to check...files like /etc/os-release. I know that is used in newer versions of SUSE...not sure about 11.

Is it possible puppet/chef/ansible/whatever overwrote one of those files? You are using just one of many places to get the release info. I will confess that the location you used is my go-to as well, though I tend to use cat /etc/*-release so it doesn't really matter what the distro is...although now that I am looking at Ludmil's I'm not sure why I use the dash!
Last edited by dwhitfield on Mon Dec 19, 2016 11:40 am, edited 1 time in total.
Reason: "chance" to "change"
HAL
Posts: 151
Joined: Thu Sep 27, 2012 7:57 am

Re: Issue while monitoring Remote Linux Server

Post by HAL »

As asked by you, we have run both the commands on Linux server that we need to monitor in Nagios. Below is the output for same. Please advise further.

OSLSEC014:~ # ip addr | grep global | grep -m 1 'inet' | awk '/inet[^6]/{print substr($2,0)}' | sed 's|/.*||'
10.202.24.39


OSLSEC014:~ # cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
NAME=SUSE Linux Enterprise Server 11
VERSION=11

Regards,
HAL
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Issue while monitoring Remote Linux Server

Post by rkennedy »

Image
Can you please post the install.log outputted from that machine? I don't believe we're looking at the right one.

To poll the version the script is simply running rpm -q centos-release so there should not be a discrepancy -

Code: Select all

[root@bob linux-nrpe-agent]# rpm -q centos-release
centos-release-6-8.el6.centos.12.3.x86_64
Former Nagios Employee
Locked