Page 1 of 1

SLES Agent Installation help

Posted: Thu Mar 22, 2012 9:51 am
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.

Re: SLES Agent Installation help

Posted: Thu Mar 22, 2012 3:03 pm
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/

Re: SLES Agent Installation help

Posted: Thu Mar 22, 2012 3:49 pm
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.

Re: SLES Agent Installation help

Posted: Thu Mar 22, 2012 4:16 pm
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

Re: SLES Agent Installation help

Posted: Thu Mar 22, 2012 4:16 pm
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.

Re: SLES Agent Installation help

Posted: Wed Apr 11, 2012 9:25 am
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

Re: SLES Agent Installation help

Posted: Mon Jun 18, 2012 2:37 pm
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

Re: SLES Agent Installation help

Posted: Tue Jun 19, 2012 9:08 am
by yancy
Thanks for posting your solution! I wasn't aware SLES could install RPM packages. Good to know.