Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541128 - net-analyzer/nagios-check_mysql_health - add support for net-analyzer/monitoring-plugins
Summary: net-analyzer/nagios-check_mysql_health - add support for net-analyzer/monitor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 12:50 UTC by Tomáš Mózes
Modified: 2015-06-22 14:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nagios-check_mysql_health-2.1.9.2.ebuild (nagios-check_mysql_health-2.1.9.2.ebuild,1.13 KB, text/plain)
2015-06-12 14:38 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2015-02-23 12:50:15 UTC
Please add optional dependency on net-analyzer/monitoring-plugins in addition to net-analyzer/nagios-plugins.
Comment 1 Michael Orlitzky gentoo-dev 2015-06-11 16:02:38 UTC
I'm working on this. As far as I can tell, this package doesn't need nagios-plugins or monitoring-plugins (or virtual/mysql). It only needs a bunch of perl stuff, and theoretically the "nagios" user/group.

But, I think the latest version of check_mysql_health has a bug in its build system. It's supposed to install the script as nagios/nagios, but the INSTALL_OPTS variable never gets passed to `install`, resulting in a user/group of root/root for us.

That will be easy to fix if I don't hear back soon, but I've emailed the maintainer and maybe they'll fix it upstream.
Comment 2 Michael Orlitzky gentoo-dev 2015-06-12 14:38:56 UTC
Created attachment 405030 [details]
nagios-check_mysql_health-2.1.9.2.ebuild

Here's what I've got so far. You can make sure I didn't break the deps at least.
Comment 3 Tomáš Mózes 2015-06-14 04:40:30 UTC
Thanks Michael. I cannot download the source tarball, hopefully something temporary, will try later on.
Comment 4 Tomáš Mózes 2015-06-16 07:57:31 UTC
I can download it from:
https://labs.consol.de/assets/downloads/nagios/check_mysql_health-2.1.9.2.tar.gz

The page is a bit strange, maybe they are doing some updates on it.
Comment 5 Tomáš Mózes 2015-06-17 10:08:20 UTC
With that URL, we've deployed it on one of our database clusters, seems to be working ok.
Comment 6 Michael Orlitzky gentoo-dev 2015-06-22 14:55:57 UTC
It looks like they're in the middle of redoing their website but a lot of the links are still broken. I haven't heard back about the user/group bug either. I've committed what I had with the fixed URL.. if it changes tomorrow I can always -r1 it.

*nagios-check_mysql_health-2.1.9.2 (22 Jun 2015)

  22 Jun 2015; Michael Orlitzky <mjo@gentoo.org>
  +nagios-check_mysql_health-2.1.9.2.ebuild, metadata.xml:
  Version bump fixing bug #541128 in the process. Add myself as a maintainer.