Please add optional dependency on net-analyzer/monitoring-plugins in addition to net-analyzer/nagios-plugins.
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.
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.
Thanks Michael. I cannot download the source tarball, hopefully something temporary, will try later on.
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.
With that URL, we've deployed it on one of our database clusters, seems to be working ok.
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.