From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/34950-diff.txt | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 web/attachments/34950-diff.txt (limited to 'web/attachments/34950-diff.txt') diff --git a/web/attachments/34950-diff.txt b/web/attachments/34950-diff.txt new file mode 100644 index 0000000..4276ba2 --- /dev/null +++ b/web/attachments/34950-diff.txt @@ -0,0 +1,50 @@ +Common subdirectories: nagiosplug/CVS and nagiosplug.old/CVS +diff nagiosplug/acconfig.h nagiosplug.old/acconfig.h +5d4 +< #undef HAVE_C99_SNPRINTF +diff nagiosplug/configure.in nagiosplug.old/configure.in +346,347c346 +< dnl Checks for library functions (deplace). +< AC_CHECK_FUNCS(memmove select socket strdup strstr strtod strtol strtoul gettimeofday snprintf) +--- +> AC_CHECK_FUNCS(getopt_long_only,,LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a") +349,352c348 +< AC_CHECK_FUNC(getopt_long_only,[ nagiosplug_cv_bool_getoptlib="yes" ] ,[ nagiosplug_cv_bool_getoptlib="no" ]) +< +< AC_CHECK_FUNC(asprintf,[ nagiosplug_cv_bool_asprintf="yes" ] ,[ nagiosplug_cv_bool_asprintf="no" ]) +< AC_CHECK_FUNC(snprintf,[ nagiosplug_cv_bool_snprintf="yes" ] ,[ nagiosplug_cv_bool_snprintf="no" ]) +--- +> AC_CHECK_FUNC(asprintf,,LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a") +353a350,351 +> dnl Checks for library functions. +> AC_CHECK_FUNCS(memmove select socket strdup strstr strtod strtol strtoul gettimeofday) +819a818 +> AC_DEFINE_UNQUOTED(SWAP_COMMAND,"$PATH_TO_SWAP -k",[Path to swap/swapinfo binary, with any args]) +822d820 +< AC_DEFINE_UNQUOTED(SWAP_COMMAND,"$PATH_TO_SWAP -k",[Path to swap/swapinfo binary, with any args]) +825,829d822 +< elif [swapinfo -d 2>/dev/null | egrep -i "^TYPE +AVAIL +USED +FREE" >/dev/null] +< then +< AC_DEFINE_UNQUOTED(SWAP_COMMAND,"/bin/sh '$PATH_TO_SWAP -d | /bin/tail -l +2'",[Path to swap/swapinfo binary, with any args]) +< AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %d %*d %d"],[Format string for parsing swap output ]) +< echo " NEW file format HP-UX !!" +864,877d856 +< +< if test "$nagiosplug_cv_bool_getoptlib" = "no"; then +< LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a" +< fi +< +< if test "$nagiosplug_cv_bool_asprintf" = "no"; then +< LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a" +< fi +< +< if test "$nagiosplug_cv_bool_snprintf" = "yes"; then +< if test `uname -s` = 'HP-UX' ; then +< AC_DEFINE(HAVE_C99_SNPRINTF) +< fi +< fi +Common subdirectories: nagiosplug/contrib and nagiosplug.old/contrib +Common subdirectories: nagiosplug/doc and nagiosplug.old/doc +Common subdirectories: nagiosplug/plugins and nagiosplug.old/plugins +Common subdirectories: nagiosplug/plugins-scripts and nagiosplug.old/plugins-scripts +Common subdirectories: nagiosplug/tools and nagiosplug.old/tools -- cgit v1.2.3-74-g34f1