Skip to content

Commit

Permalink
net-mgmt/check_mysql_health: update to 3.0.0.5
Browse files Browse the repository at this point in the history
Submitter becomes maintainer.

Changelog:

* 3.0.0.5
  update GLPlugin, fix valdiff&lookback
* 3.0.0.4
  was a bad idea. now if there is no cache activity, there are no perfdata
* 3.0.0.3
  use the last good value for hitrates of there is absolutely no database activity
* 3.0.0.2
  default --lookback 3600 only if not given on the commandline
  fix version string
* 3.0.0.1
  default --lookback 3600
* 3.0
  new structure, using Monitoring::GLPlugin

PR:		274308
  • Loading branch information
kuPyxa authored and clausecker committed Oct 9, 2023
1 parent ae92025 commit 980be78
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
7 changes: 4 additions & 3 deletions net-mgmt/check_mysql_health/Makefile
@@ -1,9 +1,9 @@
PORTNAME= check_mysql_health
PORTVERSION= 2.2.2
DISTVERSION= 3.0.0.5
CATEGORIES= net-mgmt
MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/

MAINTAINER= ports@FreeBSD.org
MAINTAINER= kirill@varnakov.com
COMMENT= Nagios plugin to check various parameters of a MySQL database
WWW= https://labs.consol.de/de/nagios/check_mysql_health/

Expand All @@ -12,6 +12,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING

RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql

USES= perl5

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \
--with-nagios-user=${NAGIOSUSER} \
Expand All @@ -21,7 +23,6 @@ CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \
--libexecdir=${PREFIX}/libexec/nagios \
--with-perl=${PERL}

USES= perl5
NO_ARCH= yes

NAGIOSUSER?= nagios
Expand Down
6 changes: 3 additions & 3 deletions net-mgmt/check_mysql_health/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1472021297
SHA256 (check_mysql_health-2.2.2.tar.gz) = bae2a2b415a902a42287459acdc4dda5278decd43bd24b4ac7770ec2ad11559f
SIZE (check_mysql_health-2.2.2.tar.gz) = 140250
TIMESTAMP = 1696574980
SHA256 (check_mysql_health-3.0.0.5.tar.gz) = 7d13c4864d8ac7d1b447bfa1049250d7580985d2e90089886773bb80db213b8a
SIZE (check_mysql_health-3.0.0.5.tar.gz) = 155312
@@ -0,0 +1,11 @@
--- plugins-scripts/Makefile.am.orig 2017-12-16 17:32:11 UTC
+++ plugins-scripts/Makefile.am
@@ -20,7 +20,7 @@ WIN_MODULES=\
Nagios/CheckLogfiles/Search/Wevtutil.pm


-SED=/bin/sed
+SED=/usr/bin/sed
GREP=/bin/grep
CAT=/bin/cat
ECHO=/bin/echo

0 comments on commit 980be78

Please sign in to comment.