Monitoring Linux SUSE from Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
minnow
Posts: 17
Joined: Thu Jan 30, 2014 3:38 pm

Monitoring Linux SUSE from Nagios

Post by minnow »

I noticed that these is no Monitoring Wizard for Linux SUSE and see that there is a link for installing the NRPE client at http://www.octopuscs.com/blogs/Linux/Ho ... n-openSuse can someone please validate that these are the procedures I should be using for installing an agent on a SUSE platform for monitor in Nagios?

Also, noticed some conversations in the forum talking about adding a "Monitoring Wizard" for SUSE Linux servers, are there any dates targeted for that to be released? I'm currently evaluating Nagios as a UNIX.LINUX monitoring solution and was hoping for more of an automated solution installing and deploying these SUSE Agents, which is our standard LINUX Platform.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring Linux SUSE from Nagios

Post by slansing »

Actually, I believe that our new NCPA agent has SUSE support, it should compile fine, check out the SUSE RPM section here:

http://assets.nagios.com/downloads/ncpa ... ation.html
minnow
Posts: 17
Joined: Thu Jan 30, 2014 3:38 pm

Re: Monitoring Linux SUSE from Nagios

Post by minnow »

I downloaded the "SuSe •64-bit" and then rna the "rpm -ivh --nomd5 /tmp/nagios/ncpa-head.os12.x86_64.rpm" and received the following errors. error: Failed dependencies:
libc.so.6(GLIBC_2.13)(64bit) is needed by ncpa-1.1-1.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by ncpa-1.1-1.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by ncpa-1.1-1.x86_64
libcrypto.so.1.0.0()(64bit) is needed by ncpa-1.1-1.x86_64
libreadline.so.6()(64bit) is needed by ncpa-1.1-1.x86_64
libssl.so.1.0.0()(64bit) is needed by ncpa-1.1-1.x86_64
libz.so.1(ZLIB_1.2.0)(64bit) is needed by ncpa-1.1-1.x86_64

Are these not standard lib files that get installed with the following SuSe /proc/version:
Linux version 3.0.13-0.27-default (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Li
nux) ) #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring Linux SUSE from Nagios

Post by slansing »

They may not be, depending on what the SuSe server is used for, you will need to make sure those packages are installed. I'm making a note of this so we can add it to a prerequisites section in the documentation.
minnow
Posts: 17
Joined: Thu Jan 30, 2014 3:38 pm

Re: Monitoring Linux SUSE from Nagios

Post by minnow »

Is there an oler version of the SUSE Linux Install that I can utilize, to deploy monitoring for our SUSE LINUX Servers?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Linux SUSE from Nagios

Post by scottwilkerson »

Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Monitoring Linux SUSE from Nagios

Post by jkinning »

I tried install both ncpa-1.7.2.os12.x86_64.rpm and ncpa-1.7.2.os13.x86_64.rpm both give me the same errors.

Retrieving package ncpa-1.7.2-1.x86_64 (1/1), 7.4 MiB (27.1 MiB unpacked)
Retrieving package ncpa-1.7.2-1.x86_64 (1/1), 7.4 MiB (27.1 MiB unpacked)
Installing: ncpa-1.7.2-1 [done]
Additional rpm output:
uid=1000(nagios) gid=1000(nagcmd) groups=16(dialout),33(video),1000(nagcmd)
insserv: Service syslog is missed in the runlevels 4 to use service ncpa_listener
ncpa_listener 0:off 1:off 2:on 3:on 4:on 5:on 6:off
insserv: Service syslog is missed in the runlevels 4 to use service ncpa_listener
ncpa_passive 0:off 1:off 2:on 3:on 4:on 5:on 6:off
./ncpa_posix_listener: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./ncpa_posix_listener)
./ncpa_posix_listener: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/ncpa/libpython2.7.so.1.0)
Started listener...
/usr/local/ncpa/ncpa_posix_passive: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/ncpa/ncpa_posix_passive)
/usr/local/ncpa/ncpa_posix_passive: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/ncpa/libpython2.7.so.1.0)
Started passive agent...

The links above are for openSUSE not SLES. Is it possible to install the NCPA on the Enterprise version of SUSE? I noticed a thread about getting security hits using the nrpe agent and I don't want to install that agent just to change later on.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring Linux SUSE from Nagios

Post by abrist »

jkinning wrote: Is it possible to install the NCPA on the Enterprise version of SUSE?
Yes, if you can hunt down the necessary deps. Are there community repos in the same vein as epel in the rhel ecosystem?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: Monitoring Linux SUSE from Nagios

Post by jkinning »

There is the Build service but I don't see anything for NCPA - http://software.opensuse.org/find

Anyone able to get the NCPA agent installed on SUSE Linux Enterprise Server 11? 12 was just released but I haven't tried that yet as all my hosts are running 11sp3.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring Linux SUSE from Nagios

Post by abrist »

Have you tried getting all the deps and reinstalling?
Is GLIBC and syslog installed?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked