Code

check_ntp: Fixed typo in typo in argument sanity check. Thanks to Aurelien Bompard...
[nagiosplug.git] / ChangeLog
index f2abe48d354a74c8d8094eb6237f7b9a071aef64..f09fc50ec13ca19e0de8a90ad65a1eb5ebaf7521 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,598 @@
+2007-06-03 16:58  psychotrahe
+
+       * lib/tests/test_tcp.c: Minor corrections to test_tcp.c
+
+2007-06-03 16:14  psychotrahe
+
+       * lib/tests/Makefile.am: Makefile.am changes for test_tcp.c
+
+2007-06-03 16:00  psychotrahe
+
+       * configure.in, lib/tests/test_tcp.c, lib/tests/.cvsignore,
+         lib/tests/test_tcp.t: Added test cases for utils_tcp
+
+2007-06-03 15:40  psychotrahe
+
+       * lib/utils_tcp.c, lib/utils_tcp.h, lib/Makefile.am,
+         plugins/check_tcp.c, NEWS: Moved check_tcp's expect string
+         testing into utils_tcp for testing purposes.  Added -A/--all flag
+         to test for every expect string passed.
+
+2007-06-02 00:11  hweiss
+
+       * BUGS, NEWS: Fix possible check_http segfaults when following HTTP
+         redirects.
+
+2007-06-02 00:08  hweiss
+
+       * plugins/check_http.c: Fix an off-by-one error where a realloc(3)
+         call doesn't allocate space for nul-termination (Aravind
+         Gottipati - 1729692)
+
+2007-06-01 23:57  hweiss
+
+       * plugins/sslutils.c: Call the SSL library initialization functions
+         only once (not for every SSL connection).
+
+2007-06-01 18:06  hweiss
+
+       * plugins/sslutils.c: Save an entire CPU cycle if c points to NULL
+         already.
+
+2007-06-01 17:42  hweiss
+
+       * plugins/sslutils.c: Set the pointers to the SSL and SSL_CTX
+         objects back to NULL after freeing them in np_net_ssl_cleanup().
+         This fixes a check_http segfault if an SSL site redirects to a
+         non-SSL one (reported by Aravind Gottipati via IRC).
+
+2007-05-29 21:01  psychotrahe
+
+       * plugins/check_tcp.c: Fix segfault when -e is specified multiple
+         times. Thanks to John Rouillard and Ralph Roessner (#1475899)
+
+2007-05-29 20:11  psychotrahe
+
+       * plugins/check_tcp.c: No more warn/crit values in performance data
+         if -w and -c are not specified.  Thanks to Simon Bellwood
+         (#1181554)
+
+2007-05-29 06:22  dermoth
+
+       * NEWS, plugins/check_snmp.c: check_snmp don't warn anymore if
+         something is printed on stderr
+
+2007-05-29 05:25  dermoth
+
+       * plugins/check_snmp.c: change a bunch of whitespaces (no code was
+         harmed)
+
+2007-05-27 15:49  psychotrahe
+
+       * THANKS.in, plugins-scripts/check_oracle.sh: check_oracle does not
+         need a valid ORACLE_HOME if called with --db. Thanks to Jason
+         Martin (#1505551)
+
+2007-05-27 14:46  seanius
+
+       * lib/utils_base.c, lib/utils_base.h, plugins-root/check_dhcp.c,
+         plugins-root/check_icmp.c: added functions to utils_base:
+         np_check_if_root() - returns nonzero if geteuid()==0
+         np_warn_if_not_root() - uses the above to print an informative
+         warning added uses of these functions to check_dhcp and
+         check_icmp.
+
+2007-05-24 09:53  tonvoon
+
+       * plugins/t/negate.pl: Test for new functionality in negate (not
+         automatically run in make test)
+
+2007-05-24 09:35  tonvoon
+
+       * plugins/: check_dummy.c, t/check_dummy.t: Tests for check_dummy
+
+2007-05-23 09:22  dermoth
+
+       * plugins/check_http.c, po/de.po, po/fr.po, NEWS,
+         po/nagios-plugins.pot: Update many strings in check_http to get
+         more consistent output Update translation files; fix all
+         check_http changes in French and most changes in German.
+
+2007-05-18 08:17  dermoth
+
+       * plugins/t/check_tcp.t: Make check_tcp.t compatible with picky web
+         servers.
+
+2007-05-13 21:02  hweiss
+
+       * plugins/check_http.c: Add missing options to the usage output.
+
+2007-05-13 13:28  psychotrahe
+
+       * THANKS.in, plugins-root/check_dhcp.c: check_dhcp now adds
+         mandatory end option (Thanks to Enrico Scholz - #1675306)
+
+2007-05-12 08:45  psychotrahe
+
+       * plugins/check_cluster.c: Fixed glibc error caused in utils_base.c
+         due to uninitialized thresholds struct (spotted on ubundu 6.06
+         LTS).
+
+2007-05-12 01:49  tonvoon
+
+       * ABOUT-NLS, configure.in, build-aux/mkinstalldirs: Updating
+         gettext files from coreutils-6.9. mkinstalldirs needs to be in
+         build-aux for some systems without gettext natively. Also have at
+         top level, though gettext documentation says file not neceesary
+
+2007-05-09 10:16  psychotrahe
+
+       * plugins/check_ups.c: small typo in --help
+
+2007-05-09 10:09  psychotrahe
+
+       * THANKS.in, plugins/check_ups.c: Fixed --help output (Ask Bjoern
+         Hansen - #1714823)
+
+2007-05-09 09:16  psychotrahe
+
+       * plugins/t/check_disk.t: added testcase to verify that old
+         positional arguments only select one path
+
+2007-05-03 21:43  psychotrahe
+
+       * ChangeLog, THANKS.in, plugins/check_disk.c: fixed backward
+         incompatibility introduced in 1.4.8 where all partitions are
+         selected, if path is specified as last argument (without using
+         -p).  Thanks to Emil Michles (Emilis) on #nagios
+
+2007-05-02 11:11  dermoth
+
+       * tools/distclean: Making Solaris happy
+
+2007-05-02 06:30  dermoth
+
+       * NEWS: /* Nothing */
+
+2007-05-02 06:22  dermoth
+
+       * plugins/check_time.c, NEWS, THANKS.in: Fix check_time returning
+         wrong OK when time is before the epoch on some arch
+
+2007-04-28 22:57  psychotrahe
+
+       * plugins/t/check_cluster.t: added test cases for check_cluster
+
+2007-04-25 23:21  tonvoon
+
+       * tools/tinderbox_build: Test installs into temporary directories
+
+2007-04-25 23:10  tonvoon
+
+       * configure.in, NEWS, plugins/check_load.c, plugins/common.h,
+         plugins/t/check_load.t: check_load can optionally divide by
+         number of cpus
+
+2007-04-23 08:30  hweiss
+
+       * plugins/check_ping.c: #ifdef can only test a single macro, not an
+         expression.
+
+2007-04-20 18:55  hweiss
+
+       * plugins-root/check_dhcp.c: Remove unused variables.
+
+2007-04-20 18:46  hweiss
+
+       * plugins/check_cluster.c: Include "utils_base.h".
+
+2007-04-20 18:45  hweiss
+
+       * lib/utils_base.h: Declare print_thresholds().
+
+2007-04-20 18:39  hweiss
+
+       * plugins/check_cluster.c: Predeclare functions and remove unused
+         variables.
+
+2007-04-20 18:25  hweiss
+
+       * THANKS.in, plugins-root/check_dhcp.c: Use the 'server identifier'
+         option instead of the 'siaddr' field as the DHCP server address;
+         see RFC 2131, 2. (Denis Knauf - 1667488)
+
+2007-04-19 04:46  dermoth
+
+       * configure.in, NEWS: Fix compilation of check_ldap, check_radius
+         and check_pgsql (*ding*)
+
+2007-04-18 20:31  hweiss
+
+       * NEWS, plugins/check_by_ssh.c: Revert my previous change to
+         "-S/--skip" in favour of the two options "-E/--skip-stderr" and
+         "-S/--skip-stdout".  Both of them support omitting the number of
+         lines to skip, in which case all output on the respective file
+         descriptor is skipped.  "--skip" is kept as an alias for
+         "--skip-stdout" for backwards compatibility with recent releases.
+
+         Also, print a message if no (non-skipped) stdout/stderr output is
+         available.  This fixes a segfault if the remote command prints no
+         output.
+
+2007-04-15 16:17  dermoth
+
+       * plugins/check_cluster.c: Localization and help fixes (Thanks
+         Benoit M.)
+
+2007-04-15 10:03  dermoth
+
+       * plugins/check_cluster.c: Cosmetic change
+
+2007-04-15 09:56  dermoth
+
+       * contrib/check_cluster2.README: More details about the changes
+
+2007-04-15 09:50  dermoth
+
+       * plugins/Makefile.am, plugins/check_cluster.c, NEWS: Add
+         thresholds support for check_cluster + lots of standardization.
+         Add forgotten items to NEWS.
+
+2007-04-15 07:44  dermoth
+
+       * plugins/check_snmp.c, BUGS: Fix bug #1344584: Counter64 values
+         not handled correctly
+
+2007-04-14 16:07  dermoth
+
+       * BUGS: Works for me
+
+2007-04-14 04:09  hweiss
+
+       * BUGS, plugins/check_by_ssh.c: Up to revision 1.35, the "-S"
+         option skipped the specified number of lines written to stderr.
+         With revision 1.36 and newer, "-S" skipped the specified number
+         of lines written to stdout.  Now, "-S" skips the specified number
+         of lines written to stderr; and if the number specified via "-S"
+         minus the number of lines written to stderr is larger than 0, the
+         difference is used as the number of lines written to stdout to
+         skip.  Also, the "--help" output was fixed.  (Hector - 1675286)
+
+2007-04-13 12:38  dermoth
+
+       * plugins/.cvsignore: ... Some CVS magic too
+
+2007-04-13 12:35  dermoth
+
+       * contrib/check_cluster2.README, plugins/Makefile.am,
+         plugins/check_cluster.c: automake magic for check_cluster
+
+2007-04-11 15:43  tonvoon
+
+       * doc/RELEASING: Add news item to nagiosplugins.org
+
+2007-04-11 13:08  tonvoon
+
+       * BUGS, NEWS, AUTHORS, configure.in, package.def, ChangeLog: 1.4.8
+         release
+
+2007-04-10 08:17  dermoth
+
+       * po/: POTFILES.in, de.po, fr.po, nagios-plugins.pot: Add some
+         check_ntp translations
+
+2007-04-10 08:17  dermoth
+
+       * plugins/check_ntp.c: - Fix possibility of printing scientific
+         numbers in perfdata - Use fperfdata function for perfdata
+         formatting - Make the printing part a bit more flexible (similar
+         to check_disk)
+
+2007-04-10 06:58  dermoth
+
+       * po/: de.po, fr.po, nagios-plugins.pot: Hopefully this is correct.
+         Need to make more changes so I'm commiting these.
+
+2007-04-04 21:08  dermoth
+
+       * plugins/check_ntp.c: Fix for getting dispersion instead of jitter
+         on older servers (like xntpd on Solaris).
+
+2007-04-03 18:19  hweiss
+
+       * plugins/check_ntp.c: Fix the synchronization source selection on
+         big-endian systems.
+
+2007-04-03 02:31  dermoth
+
+       * plugins/check_ntp.c: Temporary fix for jitter calculation
+
+2007-04-02 13:39  hweiss
+
+       * plugins/check_ntp.c: Don't rely on the assumption that the size
+         of a READSTAT response is a multiple of
+         sizeof(ntp_assoc_status_pair).
+
+2007-04-02 10:28  tonvoon
+
+       * lib/tests/Makefile.am: Add libgnu.a as regex functions required
+
+2007-04-02 08:32  dermoth
+
+       * plugins/check_ntp.c: Fix byte order in verbose logging
+
+2007-04-02 07:00  dermoth
+
+       * plugins/check_ntp.c: Seems like we don't get any jitter
+         sometimes. While this needs to be fixed we should at least handle
+         it gracefully.
+
+2007-04-01 15:21  psychotrahe
+
+       * plugins/t/check_http.t: check_http.t: - added internet_access
+         variable to skip tests where internet access is required.
+                - added host_tcp_http2 variable for a webserver serving
+         the string 'nagios' in index                - no tests are
+         skipped if the new vars are not defined (existing installations)
+
+2007-04-01 12:17  psychotrahe
+
+       * lib/utils_disk.c: utils_disk: fixed handling if check_disk -p is
+         a device (np_set_best_match())
+
+2007-03-31 19:49  hweiss
+
+       * NEWS: Various check_ntp fixes
+
+2007-03-31 19:48  hweiss
+
+       * plugins/check_ntp.c: Fix an out-of-bounds memcpy(3) and add a
+         realloc(3) error check in jitter_request().
+
+2007-03-31 18:35  hweiss
+
+       * plugins/check_ntp.c: Add a warning to the verbose output if
+         jitter_request() found no synchronization source.
+
+2007-03-31 18:29  hweiss
+
+       * plugins/check_ntp.c: Avoid division by zero.
+
+2007-03-31 18:25  hweiss
+
+       * plugins/check_ntp.c: Remove the '-O' option, as it's ignored.
+
+2007-03-30 16:45  tonvoon
+
+       * m4/np_mysqlclient.m4: Use AS_HELP_STRING instead of
+         ACX_HELP_STRING
+
+2007-03-30 15:08  tonvoon
+
+       * NEWS, configure.in, m4/np_mysqlclient.m4: Fix AC_CHECK_LIB for
+         mysql_init - add dependent libraries. mysql detection separated
+         into external m4 file
+
+2007-03-30 10:00  psychotrahe
+
+       * lib/tests/test_disk.c, plugins/t/check_disk.t: Test Cases for
+         check_disk's -r, -R, -C and -g
+
+2007-03-30 09:56  psychotrahe
+
+       * plugins/check_disk.c: check_disk: minor fix for -C if bestmatch
+         != -p
+
+2007-03-30 09:53  psychotrahe
+
+       * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c:
+         check_disk: added regex functionality -r and -R. see np-devel
+         mail (2007-02-10)
+
+2007-03-30 09:52  psychotrahe
+
+       * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c:
+         check_disk: added grouping functionality. see np-devel mail
+         (2007-02-10)
+
+2007-03-30 09:48  psychotrahe
+
+       * lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c:
+         check_disk -C is more flexible now. See np-devel post
+         (2007-02-10)
+
+2007-03-29 18:58  hweiss
+
+       * THANKS.in, plugins/check_mysql.c: Fix argument processing (Felix
+         Frank - 1690697)
+
+2007-03-29 18:34  hweiss
+
+       * plugins-root/Makefile.am: Set the "read" and "execute" bits only
+         for "user" and "group" in order to not overwrite
+         "--without-world-permissions" for the root plugins.
+
+2007-03-29 11:32  tonvoon
+
+       * BUGS, NEWS, configure.in, package.def, ChangeLog: 1.4.7 release
+
+2007-03-29 11:25  tonvoon
+
+       * plugins/check_ntp.c: Adding help text for jitter flags
+
+2007-03-27 07:53  dermoth
+
+       * THANKS.in, plugins-root/check_icmp.c: Fix bug #1494629 -
+         check_icmp fails after some time on FreeBSD
+
+2007-03-25 14:55  tonvoon
+
+       * configure.in, NEWS: Reinstate --with-nagios-user/group and new
+         --without-group-permissions ./configure options
+
+2007-03-22 17:54  hweiss
+
+       * THANKS.in, plugins/common.h: Increase MAX_INPUT_BUFFER from 1k to
+         8k in order to increase I/O performance (Stefan Meier)
+
+2007-03-16 12:11  gonzai
+
+       * plugins-scripts/check_ifoperstatus.pl: Fix bogus 'eq (  ||  )'
+         constructions in check_ifoperstatus.pl.
+
+2007-03-12 10:51  tonvoon
+
+       * NEWS, plugins/check_ping.c, plugins/t/check_ping.t: check_ping's
+         timeout interval is only +1 if ping command has a timeout value.
+         Tests updated to check for 100% packet loss (always if ping has
+         timeout), otherwise will check for "timed out" string
+
+2007-03-11 06:51  dermoth
+
+       * plugins-root/t/check_icmp.t: Add tests for new check_icmp switch
+         -m
+
+2007-03-11 02:27  tonvoon
+
+       * plugins/t/check_ping.t, plugins-root/t/check_icmp.t: Converted
+         check_ping.t to new-style testcases. Added test case for
+         check_icmp - requires sudo access
+
+2007-03-11 01:57  tonvoon
+
+       * plugins/check_ping.c: Fixed some help display. Removed -L from
+         usage as deprecated option
+
+2007-03-08 09:09  dermoth
+
+       * NEWS, THANKS.in, plugins-root/check_icmp.c: New switch to
+         check_icmp to set the minimum required hosts for success.
+
+2007-03-08 06:12  dermoth
+
+       * config_test/child_test.c: Ficing C++ style comments
+
+2007-03-08 06:09  dermoth
+
+       * plugins-root/check_icmp.c: Fixed C++ style comments, but I don't
+         get why those lines were originally commented out.
+
+2007-03-06 22:45  tonvoon
+
+       * plugins/check_http.c: Fix option handling (Nobuhiro Ban -
+         1657280)
+
+2007-03-06 22:29  tonvoon
+
+       * plugins/check_smtp.c: Fixed compile errors in check_smtp.c
+
+2007-03-06 22:17  tonvoon
+
+       * NEWS, THANKS.in, plugins/check_smtp.c: Fixed broken HELO cmd
+         (Enrico Scholz - 1675279)
+
+2007-03-06 17:29  tonvoon
+
+       * NEWS, configure.in, plugins/check_procs.c: Use /usr/ucb/ps on
+         Solaris in preference to pst3 (problems in 64bit mode)
+
+2007-03-06 17:26  tonvoon
+
+       * plugins/t/check_disk.t: Test failure if a filesystem which is a
+         subset of another fails the inode check (Matthias Elbe - 1660953)
+
+2007-03-06 14:18  tonvoon
+
+       * NEWS, configure.in: Detect if check_mysql compile will work at
+         ./configure time, due to some Redhat systems distributing
+         mysql_config, but not the include files
+
+2007-03-06 11:03  tonvoon
+
+       * configure.in: Clearer message when --with-nagios-user is used for
+         ./configure
+
+2007-03-06 10:48  tonvoon
+
+       * FAQ, INSTALLING, NEWS, README, plugins-root/Makefile.am: Root
+         plugins installed with world executable permissions. Removed
+         references to --with-nagios-user and --with-nagios-group in
+         README
+
+2007-03-02 01:38  egalstad
+
+       * plugins/check_mrtgtraf.c: Fix for broken check_mrtgtraf
+
+2007-02-24 01:03  dermoth
+
+       * doc/makefile: Fix the makefile ('[[' is bash-specific, 'rm -f'
+         don't remove directories)
+
+2007-02-14 20:56  tonvoon
+
+       * NEWS, contrib/check_sybase: check_sybase now maintained in
+         NagiosExchange
+
+2007-02-14 20:52  tonvoon
+
+       * plugins/check_disk.c: Fixed typo in help for -M
+
+2007-02-14 10:11  tonvoon
+
+       * plugins/: check_tcp.c, t/check_tcp.t: Documentation fix re:
+         --escape flag. Fix of ./check_tcp test to webservers to make it
+         more standards compliant
+
+2007-02-09 14:35  tonvoon
+
+       * NEWS, THANKS.in, po/.cvsignore, po/Makefile.in.in: Fixed
+         MKINSTALLDIRS problem on some systems - Lars Stavholm
+
+2007-02-07 14:46  tonvoon
+
+       * lib/: Makefile.config-opts, parse_ini.c,
+         tests/Makefile.config-opts, tests/config-tiny.ini,
+         tests/plugin.ini, tests/test_ini.c: Added test files to test the
+         parse_ini.c routines. Requires libtap
+
+2007-02-07 14:06  hweiss
+
+       * plugins/check_swap.c: Include <sys/param.h> before <sys/swap.h>
+         in order to fix compilation on OpenBSD (nsturm - 1653934)
+
+2007-02-06 23:30  dermoth
+
+       * plugins/check_tcp.c: Correct vim typo in comment block :P
+
+2007-02-06 21:03  opensides
+
+       * plugins/check_disk.c, plugins/check_http.c,
+         plugins/check_ide_smart.c, plugins/check_mrtg.c,
+         plugins/check_mrtgtraf.c, plugins/check_overcr.c,
+         plugins/check_smtp.c, plugins/check_tcp.c, po/de.po, po/fr.po,
+         po/nagios-plugins.pot:
+         correcting some translation problems
+
+2007-02-06 19:33  seanius
+
+       * lib/: parse_ini.c, parse_ini.h: initial version of ini file
+         parsing routines in C
+
+2007-02-06 18:34  opensides
+
+       * po/Makevars:
+         adding PACKAGE_BUGREPORT to fix Report-Msgid-Bugs-To:
+
+2007-02-05 13:51  tonvoon
+
+       * AUTHORS, doc/RELEASING: Update list of team members. More notes
+         on new releases
+
+2007-02-05 13:13  tonvoon
+
+       * BUGS, NEWS, ChangeLog, configure.in, package.def: For 1.4.6
+         release
+
 2007-02-02 09:10  dermoth
 
        * plugins/check_snmp.c: Fix parsing of multiple OIDs sets needmibs