[Nagiosplug-help] plugins - mysql - RH8.0

TSCNet netadmin at tscnet.com
Mon Dec 9 21:39:02 CET 2002


Its for the plugin for mysql (check_mysql) 


On Mon, 2002-12-09 at 19:32, Mike Zazulak wrote:
> Did you try
> 
> ./configure --with-mysql-lib=/usr/local/lib/mysql
> --with-mysql-inc=/usr/local/include/mysql
> 
> ??
> 
> --- TSCNet <netadmin at tscnet.com> wrote:
> > Hello,
> > I'm in the process of building a new monitoring box,
> > in the past we have
> > used netsaint, and here is the problem that I'm
> > experiencing.
> > 
> > Trying to enable the mysql plugin check but it
> > doesn't detect mysql.
> > 
> > I'm using the following
> > 	RedHat 8.0
> > 	nagios-1.0
> > 	nagios-plugins-1.3.0-beta2
> > 	mysql-3.23.53 (installed from source)
> > 	
> > When I go and try to compile it with the following
> > options:
> > 	./configure \
> >   	--with-mysql=/usr/local \
> >   	--with-openssl
> > 
> > I get the following errors
> > 	checking for mysql_init in -lmysqlclient... yes
> > 	checking for mysql_close in -lmysqlclient... no
> > 	checking for mysql/mysql.h... no
> > 	checking for mysql/errmsg.h... no
> > 	configure: warning: Skipping mysql plugin
> > 	configure: warning: install mysql client headers to
> > compile this plugin (see Requirements).
> > 
> > The following files are in /usr/local/lib/mysql/
> > 
> > -rw-r--r--    1 root     root        11662 Nov 14
> > 22:18 libdbug.a
> > -rw-r--r--    1 root     root        31878 Nov 14
> > 22:18 libheap.a
> > -rw-r--r--    1 root     root        13444 Nov 14
> > 22:18 libmerge.a
> > -rw-r--r--    1 root     root       222344 Nov 14
> > 22:18 libmyisam.a
> > -rw-r--r--    1 root     root        20510 Nov 14
> > 22:18 libmyisammrg.a
> > -rw-r--r--    1 root     root       181770 Nov 14
> > 22:18 libmysqlclient.a
> > -rwxr-xr-x    1 root     root          715 Nov 14
> > 22:18 libmysqlclient.la
> > lrwxrwxrwx    1 root     root           24 Nov 14
> > 22:18 libmysqlclient.so -> libmysqlclient.so.10.0.0
> > lrwxrwxrwx    1 root     root           24 Nov 14
> > 22:18 libmysqlclient.so.10 ->
> > libmysqlclient.so.10.0.0
> > -rwxr-xr-x    1 root     root       134452 Nov 14
> > 22:18 libmysqlclient.so.10.0.0
> > -rw-r--r--    1 root     root        27766 Nov 14
> > 22:18 libmystrings.a
> > -rw-r--r--    1 root     root       189990 Nov 14
> > 22:18 libmysys.a
> > -rw-r--r--    1 root     root        96188 Nov 14
> > 22:18 libnisam.a
> > 
> > and the following in: /usr/local/include/mysql/
> > -rw-r--r--    1 root     root         3864 Nov 14
> > 22:18 chardefs.h
> > -rw-r--r--    1 root     root         3445 Nov 14
> > 22:18 dbug.h
> > -rw-r--r--    1 root     root         2082 Nov 14
> > 22:18 errmsg.h
> > -rw-r--r--    1 root     root         9263 Nov 14
> > 22:18 history.h
> > -rw-r--r--    1 root     root         3449 Nov 14
> > 22:18 keymaps.h
> > -rw-r--r--    1 root     root         5864 Nov 14
> > 22:18 m_ctype.h
> > -rw-r--r--    1 root     root         7594 Nov 14
> > 22:18 m_string.h
> > -rw-r--r--    1 root     root        21132 Nov 14
> > 22:18 my_config.h
> > -rw-r--r--    1 root     root        31891 Nov 14
> > 22:18 my_global.h
> > -rw-r--r--    1 root     root         1579 Nov 14
> > 22:18 my_list.h
> > -rw-r--r--    1 root     root         2696 Nov 14
> > 22:18 my_net.h
> > -rw-r--r--    1 root     root         1205 Nov 14
> > 22:18 my_no_pthread.h
> > -rw-r--r--    1 root     root        22737 Nov 14
> > 22:18 my_pthread.h
> > -rw-r--r--    1 root     root         8677 Nov 14
> > 22:18 mysql_com.h
> > -rw-r--r--    1 root     root         8188 Nov 14
> > 22:18 mysqld_error.h
> > -rw-r--r--    1 root     root        10787 Nov 14
> > 22:18 mysql.h
> > -rw-r--r--    1 root     root          580 Nov 14
> > 22:18 mysql_version.h
> > -rw-r--r--    1 root     root        25751 Nov 14
> > 22:18 my_sys.h
> > -rw-r--r--    1 root     root         5869 Nov 14
> > 22:18 raid.h
> > -rw-r--r--    1 root     root        24120 Nov 14
> > 22:18 readline.h
> > -rw-r--r--    1 root     root         1605 Nov 14
> > 22:18 sslopt-case.h
> > -rw-r--r--    1 root     root         1296 Nov 14
> > 22:18 sslopt-longopts.h
> > -rw-r--r--    1 root     root         1239 Nov 14
> > 22:18 sslopt-usage.h
> > -rw-r--r--    1 root     root         1013 Nov 14
> > 22:18 sslopt-vars.h
> > -rw-r--r--    1 root     root         2724 Nov 14
> > 22:18 tilde.h
> > 
> > Can anyone give me any hints why its not working?
> > Why can't it find the files?
> > Thank you for the assistance.
> > 
> > -- 
> > Hans Nilsson
> > System Administrator
> > Network Operations Center
> > TSCNet, Inc. www.tscnet.com
> > Internet Solutions Provider
> > 360-447-9788 1-888-887-2638
> > 
> > 
> > 
> >
> -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagiosplug-help mailing list
> > Nagiosplug-help at lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
-- 
Hans Nilsson
System Administrator
Network Operations Center
TSCNet, Inc. www.tscnet.com
Internet Solutions Provider
360-447-9788 1-888-887-2638





More information about the Help mailing list