SLES Agent Installation help

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

SLES Agent Installation help

Post by GldRush98 »

I am wanting to set some SUSE Linux Enterprise (SLES) 10 systems added in to Nagios monitoring.

In the past I have added in Ubuntu systems easy enough as there was some good documentation on how to do this (see: http://assets.nagios.com/downloads/nagi ... _Agent.pdf )

But I am having trouble finding similar documentation on how the process would go for SLES, and where the package file is I need for SLES.

The main catch is that these systems do not have any access to the internet, so installation needs to be done offline.

This is why I'd like to find the package file, just upload it to the server, and install it with a command on the server. I'm not familiar with SUSE/SLES (more so with CentOS/Redhat and Ubuntu systems), so I'm having some difficulty and need assistance.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: SLES Agent Installation help

Post by yancy »

It looks like you can use the Zypper package manager to install NRPE

http://wiki.gwdg.de/index.php/NRPE_auf_ ... stallieren

If Zypper doesn't work, the other option for installing the NRPE agent would be to compile from source

http://sourceforge.net/projects/nagios/files/nrpe-2.x/
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: SLES Agent Installation help

Post by GldRush98 »

zypper is not an option since these systems don't have access to the internet.

Is there a step by step for compiling from source and getting this running?
Lie I said, I've never used SUSE/SLES before so I am unfamiliar with it.

I've found this: http://nagios.sourceforge.net/docs/3_0/ ... nsuse.html
But I think that is about compiling Nagios itself, not the agent and its plugins.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SLES Agent Installation help

Post by scottwilkerson »

Without internet access it could be tricky, but if you already have gcc and make installed you should be able to follow this guide I found on the Internet
How to install Nagios NRPE client on openSuse
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: SLES Agent Installation help

Post by yancy »

Yes that is the instructions for installing Nagios Core.

Here is a link for installing NRPE:
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

There is reference to using yum to install xinetd. If xinetd is not already installed, you would need to install it using some other method if zypper isn't an option.

Other then that, these instruction would work for any Linux Distribution assuming the development tools are available.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SLES Agent Installation help

Post by scottwilkerson »

yancy wrote:Yes that is the instructions for installing Nagios Core.
Actually yancy must not have looked at the document too closely, it is what you are looking for, it gives instructions for installing NRPE and the nagios-plugins
http://nagios.sourceforge.net/docs/3_0/ ... nsuse.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: SLES Agent Installation help

Post by GldRush98 »

For anyone curious about this - I basically had to download the rpm package files for everything I need to my machine, then ssh'd them to the server so I could install them there. The hardest part was tracking down exactly what I needed online, but some Google-fu got me there.

In my case, SLES10, here are all the packages I needed to get up and going (note: due to dependencies they should be installed in this order):

Code: Select all

rpm -i radiusclient-0.3.2-154.i586.rpm
rpm -i perl-Crypt-DES-2.05-10.i586.rpm
rpm -i perl-Net-SNMP-5.2.0-138.1.i586.rpm
rpm -i nagios-plugins-1.4.15-21.2.i586.rpm
rpm -i nagios-nrpe-2.12-15.4.i586.rpm
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: SLES Agent Installation help

Post by yancy »

Thanks for posting your solution! I wasn't aware SLES could install RPM packages. Good to know.
Locked