Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd January 2008, 12:12 PM
machielr Offline
Registered User
 
Join Date: Jul 2007
Posts: 81
nagios plugin help

Hi Everyone

I need the help of someone that knows Nagios please.

I am trying to install the plugin for nagios (running nagios 2.10) but I get the following output:

server:/home/machielr/nagios-plugins-1.4.11 # make
make all-recursive
make[1]: Entering directory `/home/machielr/nagios-plugins-1.4.11'
Making all in gl
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/gl'
make all-am
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/gl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/gl'
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/gl'
Making all in lib
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib'
Making all in tests
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib/tests'
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib'
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib'
Making all in plugins
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/home/machielr/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
check_http.o(.text+0x11d4): In function `check_http':
/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:785: undefined reference to `np_net_ssl_write'
check_http.o(.text+0x120b):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:789: undefined reference to `np_net_ssl_read'
check_http.o(.text+0x12bd):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:828: undefined reference to `np_net_ssl_cleanup'
check_http.o(.text+0x14f4):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:734: undefined reference to `np_net_ssl_init'
check_http.o(.text+0x1513):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:736: undefined reference to `np_net_ssl_check_cert'
check_http.o(.text+0x151a):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:737: undefined reference to `np_net_ssl_cleanup'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/machielr/nagios-plugins-1.4.11'
make: *** [all] Error 2


Can someone please assist by telling me why the plugin make does not work?

thank you
Reply With Quote
  #2  
Old 23rd January 2008, 12:21 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,934
I don't know nagios but I wonder if you did ./configure before make.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 28th January 2008, 01:57 PM
machielr Offline
Registered User
 
Join Date: Jul 2007
Posts: 81
Question nagios plugins compile error

HI everyone,


I am trying to install the nagios plugins (1.4.11) and get the following output and I hope someone will be able to assist me with some suggestions on how to fix this:

# make
make all-recursive
make[1]: Entering directory `/home/machielr/nagios-plugins-1.4.11'
Making all in gl
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/gl'
make all-am
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/gl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/gl'
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/gl'
Making all in lib
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib'
Making all in tests
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib/tests'
make[3]: Entering directory `/home/machielr/nagios-plugins-1.4.11/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib'
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/lib'
Making all in plugins
make[2]: Entering directory `/home/machielr/nagios-plugins-1.4.11/plugins'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/home/machielr/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
check_http.o(.text+0x11d4): In function `check_http':
/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:785: undefined reference to `np_net_ssl_write'
check_http.o(.text+0x120b):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:789: undefined reference to `np_net_ssl_read'
check_http.o(.text+0x12bd):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:828: undefined reference to `np_net_ssl_cleanup'
check_http.o(.text+0x14f4):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:734: undefined reference to `np_net_ssl_init'
check_http.o(.text+0x1513):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:736: undefined reference to `np_net_ssl_check_cert'
check_http.o(.text+0x151a):/home/machielr/nagios-plugins-1.4.11/plugins/check_http.c:737: undefined reference to `np_net_ssl_cleanup'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/home/machielr/nagios-plugins-1.4.11/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/machielr/nagios-plugins-1.4.11'
make: *** [all] Error 2


I have already installed nagios and it is running fine but I need the plugins in order to actually be able to monitor the servers and services.


All help and suggestions will be greatly appreciated.


tx
Reply With Quote
  #4  
Old 28th January 2008, 02:21 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,304
In the "teach a man to fish " category of advice I suggest you google "np_net_ssl_write".

Someone suggest "make clean; make" but I have some doubts.
The missing terms [np_net_ssl_write, np_net_ssl_read, ...] *sound* like they are part of the nagios plugin "np_..." so you may have to see why these aren't included.
Reply With Quote
  #5  
Old 28th January 2008, 03:56 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Please don't double post again

Threads merged
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #6  
Old 10th June 2008, 05:44 PM
sinrize Offline
Registered User
 
Join Date: Jun 2008
Posts: 1
possible nagios install fix

try:

#yum install gcc
#yum install openssl-devel
#yum install mysql-devel

#make clean
#make
#make install
Reply With Quote
  #7  
Old 10th June 2008, 06:09 PM
xawen Offline
Registered User
 
Join Date: Jun 2005
Posts: 47
The nagios plugins are in one of the repositories..not sure which one I used, can't get to my machine right now. It's got to be either freshrpms or livna.

That will probably take care of most of your needs. Compiling those things from scratch is a huge pain...more than is worth if the plugin you want is in the repository. They have a ton of strange dependencies to resolve, then once you do you'll have a bunch of scripts that reference perl mods you won't have installed... It took me two days the first time, then I found them in the repository.
Reply With Quote
  #8  
Old 11th June 2008, 07:46 AM
machielr Offline
Registered User
 
Join Date: Jul 2007
Posts: 81
nagios plugins

Hi Guys

THank you for all the suggestions.


The problem is that we are running SLES 9 on the specific machine though so I have not been able to get yum working on the machine.


I must also let you know that I have in the meantime got the plugins installed. can't remember how though, its been a while.


I only need to get the status map and reporting sorted out now, but due to some work constraints in terms of time I have not been able to get to this.
Reply With Quote
  #9  
Old 7th September 2009, 11:52 AM
mliras Offline
Registered User
 
Join Date: Sep 2009
Posts: 1
linuxubuntufirefox
I got to fix this issue by downloading (and installing) nagios-plugins v1.4.13 instead of v1.4.6

Good Luck!
Reply With Quote
Reply

Tags
compile, error, nagios, plugins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios F11 You don't have permission to access /nagios/ on this server. BWDRKR2 Using Fedora 2 4th March 2010 11:06 PM
nagios-2.11-3.fc8 has a small error in cgi.cfg file hcaglar Using Fedora 0 17th April 2008 01:26 PM
error in installing java plugins for my browser rohit83.ken Using Fedora 1 7th January 2008 04:18 AM
yum install gstreamer-plugins-mp3 ends up w/error vladimir Using Fedora 3 28th June 2005 11:49 AM


Current GMT-time: 05:59 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat