pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Update nagios-plugins and nagios-plugin-{ldap,pgsq...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c24eecbbfe38
branches:  trunk
changeset: 556629:c24eecbbfe38
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Tue Mar 24 19:54:53 2009 +0000

description:
Update nagios-plugins and nagios-plugin-{ldap,pgsql,mysql,radius,snmp}
to 1.4.13. Approved by tonnerre@

main CHANGES since 1.4.11:
- lots of bug fixes
- Added ./check_nt -v INSTANCES to count number of instances (Alessandro Ren)
- New check_icmp -s option to specify the source IP address
- check_dns now sorts addresses for testing results for more than one
  returned IP (Matthias Urlichs)
- check_disk should now work with large file systems (2TB+) on all archs
  that supports it
- check_ntp_peer now checks for the LI_ALARM flag
- check_procs now accepts --ereg-argument-array for a regular expression
  match to the argument array
- check_dig can now pass arguments to dig by using -A/--dig-arguments
- check_dns now allow to repeat -a to match multiple possibly returned address
  (common with load balancers)
- check_mysql and check_radius now try clearing password in processlist
  just like check_mysql_query
- check_mysql and check_mysql_query now support sockets explicitely
  (-s, --socket)
- negate now has the ability to replace the status text as well
  (-s, --substitute)
- Added performance data to check_ping (Christian Schneemann)
- On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse
  (result from command) instead of always UNKNOWN.
- check_dig now returns CRITICAL instead of WARNING when no answer section
  is found
- check_procs now captures stderr in external command and adds to plugin output
- check_snmp now only prints perfdata for non numeric values (#1867716)
- check_icmp now supports packet size modification
- check_http -e now accepts a comma-delimited list of expected status
  codes (Sven Nierlein)
- check_ntp_peer/check_ntp_time used to show port in --help but ignored
  the argument - now implemented

diffstat:

 net/nagios-plugin-ldap/distinfo          |   8 +++---
 net/nagios-plugin-mysql/distinfo         |   8 +++---
 net/nagios-plugin-pgsql/distinfo         |   9 +++----
 net/nagios-plugin-pgsql/patches/patch-an |  16 -------------
 net/nagios-plugin-radius/distinfo        |   8 +++---
 net/nagios-plugin-snmp/distinfo          |   8 +++---
 net/nagios-plugins/Makefile              |   3 +-
 net/nagios-plugins/Makefile.common       |   4 +-
 net/nagios-plugins/distinfo              |  12 +++++-----
 net/nagios-plugins/patches/patch-aa      |  21 +++--------------
 net/nagios-plugins/patches/patch-ab      |  37 ++++++++++++-------------------
 11 files changed, 47 insertions(+), 87 deletions(-)

diffs (297 lines):

diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugin-ldap/distinfo
--- a/net/nagios-plugin-ldap/distinfo   Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugin-ldap/distinfo   Tue Mar 24 19:54:53 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2008/05/27 21:22:02 tonnerre Exp $
+$NetBSD: distinfo,v 1.5 2009/03/24 19:54:53 bouyer Exp $
 
-SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
-RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
-Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (nagios-plugins-1.4.13.tar.gz) = fb22eba22095bdd709a65b1477bfb566aac9077e
+RMD160 (nagios-plugins-1.4.13.tar.gz) = 38de32581581b21e36e047138a94a70a9a031a02
+Size (nagios-plugins-1.4.13.tar.gz) = 2279556 bytes
 SHA1 (patch-ak) = 801eaa64d88db20880c8b7e61922f198fc5791ac
 SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
 SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugin-mysql/distinfo
--- a/net/nagios-plugin-mysql/distinfo  Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugin-mysql/distinfo  Tue Mar 24 19:54:53 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2008/05/27 21:22:02 tonnerre Exp $
+$NetBSD: distinfo,v 1.5 2009/03/24 19:54:53 bouyer Exp $
 
-SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
-RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
-Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (nagios-plugins-1.4.13.tar.gz) = fb22eba22095bdd709a65b1477bfb566aac9077e
+RMD160 (nagios-plugins-1.4.13.tar.gz) = 38de32581581b21e36e047138a94a70a9a031a02
+Size (nagios-plugins-1.4.13.tar.gz) = 2279556 bytes
 SHA1 (patch-ak) = 801eaa64d88db20880c8b7e61922f198fc5791ac
 SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
 SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugin-pgsql/distinfo
--- a/net/nagios-plugin-pgsql/distinfo  Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugin-pgsql/distinfo  Tue Mar 24 19:54:53 2009 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.5 2008/05/27 21:22:02 tonnerre Exp $
+$NetBSD: distinfo,v 1.6 2009/03/24 19:54:53 bouyer Exp $
 
-SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
-RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
-Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (nagios-plugins-1.4.13.tar.gz) = fb22eba22095bdd709a65b1477bfb566aac9077e
+RMD160 (nagios-plugins-1.4.13.tar.gz) = 38de32581581b21e36e047138a94a70a9a031a02
+Size (nagios-plugins-1.4.13.tar.gz) = 2279556 bytes
 SHA1 (patch-ak) = 801eaa64d88db20880c8b7e61922f198fc5791ac
 SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
 SHA1 (patch-am) = ed7e108505679e739449b5eed6101f307e23f436
-SHA1 (patch-an) = 728d37331b2d5bee011abaefd37c9e17af06baf6
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugin-pgsql/patches/patch-an
--- a/net/nagios-plugin-pgsql/patches/patch-an  Tue Mar 24 19:28:26 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-an,v 1.1 2008/03/16 21:13:05 seb Exp $
-
-Fix build with PostgreSQL 8.3. From
-http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/plugins/check_pgsql.c
-revision 1951
-
---- plugins/check_pgsql.c.orig 2004-12-25 23:17:44.000000000 +0000
-+++ plugins/check_pgsql.c
-@@ -28,6 +28,7 @@ const char *email = "nagiosplug-devel@li
- 
- #include "netutils.h"
- #include <libpq-fe.h>
-+#include <pg_config_manual.h>
- 
- #define DEFAULT_DB "template1"
- #define DEFAULT_HOST "127.0.0.1"
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugin-radius/distinfo
--- a/net/nagios-plugin-radius/distinfo Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugin-radius/distinfo Tue Mar 24 19:54:53 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2008/05/27 21:22:02 tonnerre Exp $
+$NetBSD: distinfo,v 1.3 2009/03/24 19:54:53 bouyer Exp $
 
-SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
-RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
-Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (nagios-plugins-1.4.13.tar.gz) = fb22eba22095bdd709a65b1477bfb566aac9077e
+RMD160 (nagios-plugins-1.4.13.tar.gz) = 38de32581581b21e36e047138a94a70a9a031a02
+Size (nagios-plugins-1.4.13.tar.gz) = 2279556 bytes
 SHA1 (patch-aa) = eb39ca2fcbe857b48ec6a5a15a097a2e7fd635a2
 SHA1 (patch-ak) = 801eaa64d88db20880c8b7e61922f198fc5791ac
 SHA1 (patch-al) = 658079cb3669ffcf2b0d158816b048c412f78d01
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugin-snmp/distinfo
--- a/net/nagios-plugin-snmp/distinfo   Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugin-snmp/distinfo   Tue Mar 24 19:54:53 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2008/05/27 21:22:02 tonnerre Exp $
+$NetBSD: distinfo,v 1.6 2009/03/24 19:54:53 bouyer Exp $
 
-SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
-RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
-Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
+SHA1 (nagios-plugins-1.4.13.tar.gz) = fb22eba22095bdd709a65b1477bfb566aac9077e
+RMD160 (nagios-plugins-1.4.13.tar.gz) = 38de32581581b21e36e047138a94a70a9a031a02
+Size (nagios-plugins-1.4.13.tar.gz) = 2279556 bytes
 SHA1 (patch-aa) = da39a3ee5e6b4b0d3255bfef95601890afd80709
 SHA1 (patch-ad) = 75bb44093f1fe0d18668cb9aec787d760fe16ad4
 SHA1 (patch-ae) = 42a2767b290e4a10c93f170e85138e8c639906dc
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugins/Makefile
--- a/net/nagios-plugins/Makefile       Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugins/Makefile       Tue Mar 24 19:54:53 2009 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2009/01/13 17:11:33 shattered Exp $
+# $NetBSD: Makefile,v 1.17 2009/03/24 19:54:54 bouyer Exp $
 #
 
 CATEGORIES=    net sysutils
 
 MAINTAINER=    tonnerre%NetBSD.org@localhost
-PKGREVISION=   2
 HOMEPAGE=      http://sourceforge.net/projects/nagiosplug/
 COMMENT=       Nagios plugins
 
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugins/Makefile.common
--- a/net/nagios-plugins/Makefile.common        Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugins/Makefile.common        Tue Mar 24 19:54:53 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.common,v 1.5 2008/05/27 21:22:03 tonnerre Exp $
+# $NetBSD: Makefile.common,v 1.6 2009/03/24 19:54:54 bouyer Exp $
 #
 
-PLUGINSVERSION=        1.4.11
+PLUGINSVERSION=        1.4.13
 DISTNAME=      nagios-plugins-${PLUGINSVERSION}
 MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE:=nagiosplug/}
 
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugins/distinfo
--- a/net/nagios-plugins/distinfo       Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugins/distinfo       Tue Mar 24 19:54:53 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.7 2008/06/08 14:08:47 tonnerre Exp $
+$NetBSD: distinfo,v 1.8 2009/03/24 19:54:54 bouyer Exp $
 
-SHA1 (nagios-plugins-1.4.11.tar.gz) = bc91a57ad6f5468b17f24429ba25225cfff45d59
-RMD160 (nagios-plugins-1.4.11.tar.gz) = 4f33e796f8eac2d8d13cbecbcc1191857e1b5f15
-Size (nagios-plugins-1.4.11.tar.gz) = 1734230 bytes
-SHA1 (patch-aa) = 9097c99ecb20b1e12099a9bae77b6d38ed76c331
-SHA1 (patch-ab) = aaa6938dd165cf348e798e02c34ee82a86eedf7c
+SHA1 (nagios-plugins-1.4.13.tar.gz) = fb22eba22095bdd709a65b1477bfb566aac9077e
+RMD160 (nagios-plugins-1.4.13.tar.gz) = 38de32581581b21e36e047138a94a70a9a031a02
+Size (nagios-plugins-1.4.13.tar.gz) = 2279556 bytes
+SHA1 (patch-aa) = 021c2dbcd2ff0404a44cbbf3ccd42bd7400646bb
+SHA1 (patch-ab) = 44d127ac3571614642f8523a210c33b04a95e5de
 SHA1 (patch-ad) = edf12abc20e8dfe4095e4515c27046579639d1ae
 SHA1 (patch-ae) = 775fc9d8c25eec6050d709e8a377c8deb17bcf66
 SHA1 (patch-af) = 186eec6496ea2659756897e5833510cb6a39009f
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugins/patches/patch-aa
--- a/net/nagios-plugins/patches/patch-aa       Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugins/patches/patch-aa       Tue Mar 24 19:54:53 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2008/06/08 14:08:47 tonnerre Exp $
+$NetBSD: patch-aa,v 1.4 2009/03/24 19:54:54 bouyer Exp $
 
---- lib/utils_base.c.orig      2007-07-29 14:42:05.000000000 +0200
-+++ lib/utils_base.c
-@@ -89,7 +89,7 @@ _set_thresholds(thresholds **my_threshol
+--- lib/utils_base.c.orig      2008-03-11 01:10:23.000000000 +0100
++++ lib/utils_base.c   2009-03-23 12:39:57.000000000 +0100
+@@ -104,7 +104,7 @@
  {
        thresholds *temp_thresholds = NULL;
  
@@ -11,16 +11,3 @@
  
        temp_thresholds->warning = NULL;
        temp_thresholds->critical = NULL;
-@@ -105,10 +105,9 @@ _set_thresholds(thresholds **my_threshol
-               }
-       }
- 
--      if (*my_thresholds > 0) {       /* Not sure why, but sometimes could be -1 */
--              /* printf("Freeing here: %d\n", *my_thresholds); */
-+      if (*my_thresholds)
-               free(*my_thresholds);
--      }
-+
-       *my_thresholds = temp_thresholds;
- 
-       return 0;
diff -r 90f8d26c9fe7 -r c24eecbbfe38 net/nagios-plugins/patches/patch-ab
--- a/net/nagios-plugins/patches/patch-ab       Tue Mar 24 19:28:26 2009 +0000
+++ b/net/nagios-plugins/patches/patch-ab       Tue Mar 24 19:54:53 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
+$NetBSD: patch-ab,v 1.4 2009/03/24 19:54:54 bouyer Exp $
 
---- configure.orig     2007-12-13 23:42:38.000000000 +0100
-+++ configure
-@@ -1058,7 +1058,7 @@ dvidir='${docdir}'
+--- configure.orig     2008-09-25 10:33:24.000000000 +0200
++++ configure  2009-03-23 12:39:57.000000000 +0100
+@@ -1268,7 +1268,7 @@
  pdfdir='${docdir}'
  psdir='${docdir}'
  libdir='${exec_prefix}/lib'
@@ -11,16 +11,7 @@
  mandir='${datarootdir}/man'
  
  ac_prev=
-@@ -21137,7 +21137,7 @@ _ACEOF
- 
- fi
- 
--if test "$ac_cv_lib_crypt_main" = "yes"; then
-+if false; then
-   if test -n "$PGSQL"; then
-     LDFLAGS="$LDFLAGS -L$PGSQL/lib"
-     CPPFLAGS="$CPPFLAGS -I$PGSQL/include"
-@@ -21746,7 +21746,7 @@ _ACEOF
+@@ -22225,7 +22225,7 @@
  
  fi
  
@@ -29,7 +20,7 @@
    EXTRAS="$EXTRAS check_radius"
        RADIUSLIBS="-lradiusclient"
  
-@@ -21901,7 +21901,7 @@ _ACEOF
+@@ -22380,7 +22380,7 @@
  
  fi
  
@@ -38,7 +29,7 @@
    LDAPLIBS="-lldap -llber"\
    LDAPINCLUDE="-I/usr/include/ldap"
  
-@@ -25688,7 +25688,7 @@ fi
+@@ -26397,7 +26397,7 @@
        then
                { echo "$as_me:$LINENO: checking for nslookup syntax" >&5
  echo $ECHO_N "checking for nslookup syntax... $ECHO_C" >&6; }
@@ -47,7 +38,7 @@
                then
                        ac_cv_nslookup_command="$PATH_TO_NSLOOKUP"
                        { echo "$as_me:$LINENO: result: $ac_cv_nslookup_command" >&5
-@@ -25911,7 +25911,7 @@ echo "${ECHO_T}no" >&6; }
+@@ -26620,7 +26620,7 @@
  fi
  
  
@@ -56,7 +47,7 @@
  then
  
  cat >>confdefs.h <<_ACEOF
-@@ -26082,7 +26082,7 @@ if test "${with_snmpget_command+set}" = 
+@@ -26791,7 +26791,7 @@
    withval=$with_snmpget_command; PATH_TO_SNMPGET=$withval
  fi
  
@@ -65,7 +56,7 @@
  then
  
  cat >>confdefs.h <<_ACEOF
-@@ -26141,7 +26141,7 @@ if test "${with_snmpgetnext_command+set}
+@@ -26850,7 +26850,7 @@
    withval=$with_snmpgetnext_command; PATH_TO_SNMPGETNEXT=$withval
  fi
  
@@ -74,7 +65,7 @@
  then
  
  cat >>confdefs.h <<_ACEOF
-@@ -26150,7 +26150,7 @@ _ACEOF
+@@ -26859,7 +26859,7 @@
  
  fi
  
@@ -83,7 +74,7 @@
  then
        { echo "$as_me:$LINENO: checking for Net::SNMP perl module" >&5
  echo $ECHO_N "checking for Net::SNMP perl module... $ECHO_C" >&6; }
-@@ -26317,7 +26317,7 @@ if test "${with_fping_command+set}" = se
+@@ -27026,7 +27026,7 @@
    withval=$with_fping_command; PATH_TO_FPING=$withval
  fi
  
@@ -92,7 +83,7 @@
  then
  
  cat >>confdefs.h <<_ACEOF
-@@ -27533,7 +27533,7 @@ if test -n "$PATH_TO_APTGET" ; then
+@@ -28242,7 +28242,7 @@
  fi
  
  
@@ -101,7 +92,7 @@
    EXTRAS="$EXTRAS check_nt"
  elif test -f ../plugins/check_nt.c ; then
    EXTRAS="$EXTRAS check_nt"
-@@ -45418,6 +45418,10 @@ do
+@@ -47646,6 +47646,10 @@
    case $ac_option in
    # Handling of the options.
    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)



Home | Main Index | Thread Index | Old Index