MySQL plugin

Andreas Ericsson ae at op5.se
Wed Feb 16 12:35:34 CET 2005


Aaron Carr wrote:
> Understood.
> 
> One final question about the plugin.  Once built, is it transportable?
>  Meaning...if I build it on the database host that has the MySQL RPMs
> installed, can I then move the check_mysql binary over to my Nagios
> host that does NOT have MySQL installed on it (The two hosts are the
> same build/version of Linux)?
> 

No. You would need libmysqlclient.so (and whatever files it points to, 
naturally) or symbol name lookups will fail miserably at run-time. This 
is "linking for beginners". man ldd might prove a good starting point to 
find this kind of discrepancies.

> Aaron
> 
> 
> On Tue, 15 Feb 2005 23:36:05 -0500 (EST), Subhendu Ghosh
> <sghosh at sghosh.org> wrote:
> 
>>Need the -devel rpms with the header files ;)
>>
>>On Tue, 15 Feb 2005, Aaron Carr wrote:
>>
>>
>>>I've been reading through the mailing list archives about this, and I
>>>saw a post that stated "The mysql plugin will automatically build if
>>>you compile the plugin package on a machine that has the mysql
>>>libraries installed."
>>>
>>>I know it didn't build for me, and I do have MySQL installed and running.
>>>
>>>The following rpms are installed.
>>>
>>>MySQL-client-4.1.9-0
>>>perl-DBD-MySQL-2.9003-4
>>>MySQL-server-4.1.9-0
>>>MySQL-shared-4.1.9-0
>>>MySQL-Max-4.1.9-0
>>>
>>>Which one(s) am I missing to get the plugin to compile?
>>>
>>>Thanks in advance.
>>>
>>>Aaron
>>>
>>
>>--
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-users
>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list