pkg-monitoring-plugins/ChangeLog

19887 lines
748 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

2015-10-16 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.1.2 release
* THANKS.in: Add new authors
Update the THANKS.in file with the new Git commit authors.
2015-10-13 Jan Wagner <waja@cyconet.org>
* NEWS: Updating NEWS
2015-07-28 abrist <abrist@nagios.com>
* plugins-root/pst3.c: Fix for unclosed filehandle in pst3 on Solaris
On Solaris, check_procs uses pst3 instead of /bin/ps (see
http://monitoring-plugins.org/doc/faq/ps-on-solaris.html for background). There's
a small bug in pst3 which causes it to NOT report some processes that are at
the end of the process table, at least on very busy systems (we noticed this
on a CoolThreads T5240 with load averages up to 90).
The bug is that a filehandle is not properly closed.
Thanks to jwinkle01 for finding and patching the bug.
(Closes #1203)
2015-10-12 Jan Wagner <waja@cyconet.org>
* NEWS: Updating NEWS file
2015-10-04 Jan Wagner <waja@cyconet.org>
* plugins/sslutils.c: sslutils: Remove superfluous parenthesis for sslv3
function too
2014-12-20 Sebastian Herbszt <herbszt@gmx.de>
* plugins/sslutils.c: sslutils: remove superfluous parenthesis
Remove superfluous parenthesis.
2015-03-06 Oliver Skibbe <oliskibbe@gmail.com>
* plugins/t/check_snmp.t: check_snmp: modified tests
(Closes #1325)
* plugins/check_snmp.c: check_snmp.c: switched DEFAULT_TIMEOUT to
DEFAULT_SOCKET_TIMEOUT (provided by utils.h), already used by help
description, see issue #1318
2015-04-12 Sven Nierlein <Sven.Nierlein@consol.de>
* .travis.yml: install snmpd on travis tests
because its required for ./plugins/tests/check_snmp.t
* .travis.yml: enable libtab on travis builds
to enable some more tests
* .travis.yml: add perl snmp to travis dependencies
it is required for the check_snmp tests
2015-10-02 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention check_ups performance data fix
2015-03-27 Louis Sautier <sautier.louis@gmail.com>
* plugins/check_ups.c: Fix incorrect performance data thresholds
Closes #1330
2015-10-02 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-root/check_dhcp.c: check_dhcp: Fix option parsing
The call_getopt() function didn't always return the correct number of
processed arguments. However, since check_dhcp doesn't support
non-option arguments, the caller doesn't need this number anyway.
Closes #1345.
2015-05-05 Jan Wagner <waja@cyconet.org>
* plugins-root/check_dhcp.c: Fixes segfaults when running via monitoring
worker
(off-by-one)
Grabed from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198318
2015-10-01 Sven Nierlein <sven@nierlein.de>
* plugins/t/NPTest.cache.travis: travis: fix http test host
2015-07-25 Jérémie Courrèges-Anglas <jca@wxcvbn.org>
* plugins/sslutils.c: sslutils: Check if OpenSSL supports SSLv3.
2014-12-02 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Modify list of changes for 2.1.1 release
Make the list of changes slightly more descriptive.
2014-12-01 Jan Wagner <waja@cyconet.org>
* NP-VERSION-GEN, configure.ac: Prepare release
* THANKS.in: Add new authors
* NEWS: Updating all the fixes
2014-11-30 Sebastian Herbszt <herbszt@gmx.de>
* plugins/check_tcp.c: check_tcp: fix help description regarding escape
option
The help description should print '\\' for backslash not just '\'.
2014-12-01 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_ntp.c: check_ntp: Nul-terminate jitter data
Make sure the jitter response is nul-terminated before parsing the data
using string functions.
2014-11-30 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_ntp.c: Revert "plugins/check_ntp.c - Verify struct from
response"
This reverts commit a04df3e1b67dc5eab3adc202cc89901f801cdeaa. The "fix"
was bogus in many ways and broke jitter checking.
Conflicts:
plugins/check_ntp.c
2014-11-27 Sebastian Herbszt <herbszt@gmx.de>
* plugins/check_real.c: check_real: fix null termination
Fix null termination introduced by commit b61f51a ("plugins/check_real.c - recv string null terminate").
2014-11-26 Sebastian Herbszt <herbszt@gmx.de>
* plugins/check_ntp.c: check_ntp: fix null termination
Fix null termination introduced by commit a04df3e ("plugins/check_ntp.c - Verify struct from response").
* plugins/check_apt.c: check_apt: fix memset
Fix memset introduced by commit 9ce7369 ("plugins/check_apt.c - Print uninitialized ereg").
2014-10-15 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.1 release
* THANKS.in: Add new authors
Update the THANKS.in file with the new Git commit authors.
* FAQ: Remove outdated (RPM/DEB-related) questions
* NEWS: Mention that we dropped the spec file
2014-10-15 Jan Wagner <waja@cyconet.org>
* Makefile.am, configure.ac, monitoring-plugins.spec.in: Removing the
spec file, as it's broken
Even we have none feedback in PR #1283
2014-10-08 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-scripts/check_ifstatus.pl: check_ifstatus: Fix "-n" and "-u"
options
Ignore interface if it's specified via "-n" OR "-u", not just when it's
specified via "-n" AND "-u".
2014-10-06 Holger Weiss <holger@zedat.fu-berlin.de>
* lib/utils_base.c: Revert "Make use of xasprintf instead of asprintf"
This reverts commit a143739ed286cf9ae003792dbb1ce26ce43f3312.
Our current setup doesn't allow lib/*.c files to call functions defined
in plugins/utils.[ch].
2014-09-23 Jonas Genannt <jonas@brachium-system.net>
* NEWS, plugins-scripts/check_file_age.pl,
plugins-scripts/t/check_file_age.t: check_file_age: Provide performance
data
2014-10-06 Jan Wagner <waja@cyconet.org>
* NEWS: Adding missing informations to NEWS
2014-09-29 Jan Wagner <waja@cyconet.org>
* THANKS.in: Adding Simon to Thanks file
2014-09-01 Simon Meggle <simon.meggle@consol.de>
* plugins-scripts/check_mailq.pl: check_mailq: fixed mailer names
(Closes #1289)
2014-09-16 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins/check_tcp.c: Fix check_jabber to work with Openfire
servers
The plugin expected:
<?xml version='1.0'?>
But Openfire sends:
<?xml version='1.0' encoding='UTF-8'?>
2014-09-10 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention new check_ifstatus option
2013-05-13 Nick Peelman <nick@peelman.us>
* plugins-scripts/check_ifstatus.pl: Add check_ifstatus option to ignore
interfaces by name
Ignoring by index is not always an option, as the index can change on
chassis switches as blade configurations change.
2014-07-30 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: create MySQL database 'test'
2014-07-21 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: Installing libhttp-daemon-ssl-perl to make
plugins/tests/check_http.t possible to run
* .travis.yml: travis-ci: Using libfreeradius-client-dev as build-dep
2014-08-20 Jan Wagner <waja@cyconet.org>
* plugins-scripts/check_log.sh, plugins-scripts/check_oracle.sh,
plugins-scripts/check_sensors.sh: Setting PATH at first
* plugins-scripts/check_log.sh: check_log.sh: droping path from basename
while evaluating PROGNAME (Closes Debian Bug #758662)
2014-08-06 Sven Nierlein <sven@nierlein.de>
* plugins/check_by_ssh.c: check_by_ssh: added --hostname support
just like the guidelines and the help already suggests.
2014-07-31 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/tests/check_snmp.t: tests: skip extented snmp tests if snmpd
has no perl support
solaris snmpd has no perl support by default, so this test will fail.
* plugins/t/negate.t: tests: negate test fails when not run from plugins
folder
* plugins/t/negate.t: tests: get current directory the perl way
instead of hoping to have it in the environment. This at
least broke tests on solaris.
* plugins/check_dns.c: check_dns: unified check output
this also allows us to make tests against "critical" in the output.
* plugins-scripts/t/check_disk_smb.t: tests: check_disk_smb may exit
with critical for unresponsive hosts too
Unknown (ex. debian 7)
%> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv
/usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du
No Answer from Client
Critical (ex. debian 8)
%> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv
/usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du
Connection to 1.1.1.1 failed
CRITICAL
2014-07-31 Sven Nierlein <sven@nierlein.de>
* plugins/check_ntp_peer.c: check_ntp_peer: do not use uninitialized
results for max state
s/t/jresult are not initialized if there is no corresponding threshold
supplied. So we shouldn't use them for calculating our result.
2014-07-31 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention --with-qmail-qstat-command option
2013-10-21 awiddersheim <awiddersheim@hotmail.com>
* configure.ac: Fix PATH_TO_QMAIL_QSTAT in configure
When configuring PATH_TO_QMAIL_QSTAT the PATH_TO_MAILQ would get applied
instead after tests had passed. Also made --with-qmail-qstat-command a
configuration option.
2013-09-30 Jan Wagner <waja@cyconet.org>
* THANKS.in: adding to THANKS
2014-07-30 Jan Wagner <waja@cyconet.org>
* plugins/check_dns.c: check_dns: Use strchr instead of index
* THANKS.in: Adding Alexander Wittig to THANKS.in
---
Closes #1218
Closes #1281
2013-12-16 Alexander Wittig <abgandar@gmail.com>
* plugins/check_dig.c: check_dig: takes into account the -4 and -6
switch
Fix automatic DNS server name detection to honor -4 and -6 switches
(default to 127.0.0.1 or ::1 respectively, i.e. if -6 is given ::1
is used instead of 127.0.0.1)
* plugins/check_dig.c: check_dig: Fix to work with dig and drill tool
FreeBSD starting with version 10 is shipped with ldns instead of bind as
resolver. Consequently the dig tool in base is replaced by drill. While dig can
still be installed as a third party application, it would be nice to make do
with the tools available in the system already.
This patch rearranges the command line used to invoke dig slightly so that it
can be used with both dig and drill (tested with dig 9.8.3-P1 and 9.9.4 as well
as drill 1.6.16). It would be really neat if the configure script could be
changed to automatically pick up drill when dig is not available (or the other
way around), but my autotools-foo is not good enough for that.
This part of the patch is an extended version of the locally maintained patch
currently deployed in the FreeBSD ports tree by Dmitry Sivachenko.
2014-07-30 Sven Nierlein <Sven.Nierlein@consol.de>
* tools/generate-change-log: workaround for broken Text::Wrap
workaround for broken Text::Wrap:
"This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84."
changing huge to overflow make generating changelogs work again at
the price of not having changelog strictly cut of at 80 columns
anymore. Words longer than 80 characters will now printed in one
line. This mainly affects old sf.net urls.
* tools/generate-change-log: no need for the signed off messages in our
changelog
2014-07-30 Jan Wagner <waja@cyconet.org>
* lib/utils_base.c: Make use of xasprintf instead of asprintf
---
Closes #1278
2014-01-22 Ricardo Maraschini <ricardo.maraschini@gmail.com>
* lib/utils_base.c: if asprintf fails, string is undefined
if asprintf fails, string content becomes invalid. we need
to check if it ran OK by checking the returned value.
in case of fail, asprintf returns -1, otherwise the number
of writen bytes is returned.
also, on ubuntu 13.10 i've receiving a lot of warnings:
"warning: ignoring return value of asprintf"
this patches fixes some of them
2013-09-29 Jan Wagner <waja@cyconet.org>
* plugins/check_dns.c: check_dns: returns incorrect state when
specifying server
This patch verifies if the response is returned by the dns server we
are trying to check
---
Closes #981
Closes #982
Closes #1164
2014-07-30 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: create MySQL database 'test'
2014-07-30 Sven Nierlein <sven@nierlein.de>
* plugins/t/check_dns.t: check_dns: added test for nonresponsive dns
server (#982)
2014-07-29 Jan Wagner <waja@cyconet.org>
* THANKS.in: Adding Jason Benguerel
2013-10-01 Jan Wagner <waja@cyconet.org>
* plugins/check_disk.c: check_disk: show troubled partition in verbose
mode
I'm submitting a small patch to check_disk that will show which partitions are
actually causing the error state. This helps the human operator to quickly
identify the exact issue. I made it so a single -v flag is required so it
doesn't harm legacy code that may be parsing the original style of output.
Thanks to Jason Benguerel.
---
Closes #984
Closes #1182
2014-02-05 abrist <abrist@nagios.com>
* plugins/check_ntp_time.c: check_ntp_time.c - Cleaned up usage and
added a note
Closes #907
Closes #1184
2014-07-21 Jan Wagner <waja@cyconet.org>
* THANKS.in: Adding Patrick McAndrew to THANKS.in
2013-10-01 Jan Wagner <waja@cyconet.org>
* plugins/check_ntp_time.c: check_ntp_time: adding offset option
Not sure if this is of use or not - we have a strange requirement to run
certain servers 5 minutes fast. I've added a switch to the check_ntp_time
to allow for this offset.
Thanks to Patrick McAndrew.
2014-05-19 abrist <abrist@nagios.com>
* plugins/netutils.c: netutils.c - A few more changes
Changed bool to short.
Removed first instance of is_socket to avoid
redeclaration error.
Changed 'socket' to 'file socket' for verbosity.
2014-05-07 Davide Madrisan <davide.madrisan@gmail.com>
* plugins/netutils.c: This patch will add the IP and port, or socket
name, to the error message and
thus simplify the problem debugging: no need to check for this information in
the Nagios configuration.
This function is only used by 'check_tcp.c'.
Without the patch:
$ ./plugins/check_tcp -H 127.0.0.1 -p 21
Connection refused
$ ./plugins/check_tcp -H /var/spool/nagios/cmd/nagios.cmd
Permission denied
With the patch:
$ ./plugins/check_tcp -H 127.0.0.1 -p 21
connect to address 127.0.0.1 and port 21: Connection refused
$ ./plugins/check_tcp -H /var/spool/nagios/cmd/nagios.cmd
connect to socket /var/spool/nagios/cmd/nagios.cmd: Permission denied
Thanks to Davide Madrisan.
---
Closes #1277
2013-10-01 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins/check_mysql.c: check_mysql: ignore authentication
failure
This patch allows checking if MySQL server is running without providing valid
username and password. Similar to check_ssh plugin it returns MySQL server
version string and protocol number.
Example:
check_mysql -n -H aaa.bbb.ccc.ddd
MySQL OK - Version: 5.0.51a-24+lenny5 (protocol 10)
This is useful for monitoring servers where one does not have administrator
privileges or does not want to grant any privileges for the monitoring station.
To enable this functionality new option --ignore-auth (-n) is added to
check_mysql plugin.
Thanks to Julius Kriukas
Closes #1020
Closes #1178
2014-07-21 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: Installing libhttp-daemon-ssl-perl to make
plugins/tests/check_http.t possible to run
2014-07-21 Holger Weiss <holger@zedat.fu-berlin.de>
* test.pl.in: Use "C" locale when running test suite
Some of our tests check locale-dependent plugin output, so let's make
sure "make test" is always using the "C" locale.
* plugins/tests/check_http.t: Adjust date strings
Adjust the expected date strings to the now-localized output produced by
plugins/sslutils.c.
Closes #1275.
2014-07-21 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: Using libfreeradius-client-dev as build-dep
2014-07-21 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/t/check_dns.t: Fix Perl warning
Perl said: "Unrecognized escape \d passed through at ./t/check_dns.t
line 57."
2013-10-01 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins/sslutils.c: sslutils: expire time in local timezone
format
sshutils prints the expiry time of certificates in US format
this patch uses the strftime %c, I don't know how portable that is
Thanks to Neil Prockter.
Closes #1188
Closes #1161
Closes #977
Closes #976
Closes #975
Closes #840
Closes #382
2013-09-30 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins-scripts/check_ifstatus.pl: check_ifstatus: perfdata
bug
The perfdata output violates the current Nagios Plugin Development Guidelines
(http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN202 :
"space separated list of label/value pairs").
Thus the Addon PNP did not read the perdata correctly.
The patch replaces the commas with spaces in the perfdata output.
Many thanks to Patric Wust.
---
Closes #1169 and #721.
2014-07-20 Jan Wagner <waja@cyconet.org>
* plugins/t/NPTest.cache.travis: travis-ci: Adding ports for check_hpjd
2014-01-27 abrist <abrist@nagios.com>
* plugins/t/check_hpjd.t: added tests for check_hpjd port options
---
Closes #1160 and #973
2014-01-24 abrist <abrist@nagios.com>
* NEWS, plugins/check_hpjd.c: Added check_hpjd port option to news and
clarified the port usage error.
* plugins/check_hpjd.c: check_hpjd - Added a switch for port
specification. Defaults to 161.
2014-03-03 abrist <abrist@nagios.com>
* plugins/t/check_ntp.t: check_ntp.t - fixed tests for new status output
closes #1236 and #1239
2014-02-14 abrist <abrist@nagios.com>
* plugins/check_ntp_peer.c: check_ntp_peer - Added specific state output
for each metric. It now should be easy to see which check caused the
alert.
2013-10-01 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins-scripts/check_oracle.sh: check_oracle: --tns bad
string matching
check_oracle in the 1.4.15 release doesn't correctly parse the output gotten
from at least Oracle 11 (with german locales). I guess it's probably more.
Also it completely needlessly uses sed where basic bash string parsing actually
does more than suffice (and does not run into possible problems with locales
like sed ;)).
--
Just turning attached patch of github issue #1015 into a push request.
(Closes #1015 and #1191)
2014-07-11 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Fix typo
* NEWS, NP-VERSION-GEN, configure.ac: Prepare for the 2.0 release
* NEWS: Wrap overly long line
2014-07-10 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in: Update THANKS.in file with latest author
2014-07-10 Mikael Falkvidd <mfalkvidd@op5.com>
* plugins/t/check_procs.t: check_procs: Add delay after forking in test
Forking raises a race condition, where the parent might run the
test before the child has had time to fork. If that happens,
an error similar to this is produced:
Failed test 'Output correct'
at ./t/check_procs.t line 32.
'PROCS OK: 0 processes with args 'sleep 7' | processes=0;;;0;'
doesn't match '/^PROCS OK: 1 process?/'
Sleeping a bit should avoid the problem. It might be enough to
sleep less than a second, but perl's built-in sleep function only
supports integer seconds.
In our build environment, the build failed 3 of 4 times before
this patch. After the patch it failed 0 of 7 times.
2014-07-07 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Add a warning regarding check_snmp
Tell users that check_snmp might now return CRITICAL in cases where it
used to return OK, and how to deal with that.
* NEWS: Update version number
We're going to release version 2.0, not 1.6.
* plugins/netutils.h: Adjust UNIX_PATH_MAX for BSD
On at least FreeBSD, NetBSD, OpenBSD, DragonFly, and OS X, this is
hard-coded at 104 bytes.
Closes #1267.
2014-07-06 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-scripts/Makefile.am, plugins-scripts/check_breeze.pl,
plugins-scripts/check_disk_smb.pl, plugins-scripts/check_file_age.pl,
plugins-scripts/check_flexlm.pl, plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_mailq.pl, plugins-scripts/check_mssql.pl,
plugins-scripts/check_netdns.pl, plugins-scripts/check_rpc.pl,
plugins-scripts/check_wave.pl: Don't rely on FindBin module to locate
utils.pm
As the FindBin module doesn't work with ePN, set the path to utils.pm
explicitly at build time. Keep using FindBin additionally, so that the
plugins can also be executed from the build directory.
Closes #1271.
2014-07-06 Jan Wagner <waja@cyconet.org>
* lib/utils_base.c, lib/utils_base.h, plugins-root/check_dhcp.c,
plugins-root/check_icmp.c: check_icmp/check_dhcp: disable check, if we
are root
As it is possible to use capabilities(7) on linux or solaris
privileges for example, it is not necessary in all cases to
have those binaries making use of setuid.
2014-07-06 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Add missing entries
* THANKS.in: Add new authors
Update the THANKS.in file with the new Git commit authors.
2014-03-03 abrist <abrist@nagios.com>
* plugins/t/check_jabber.t: check_jabber.t - fixed tests for new status
output including hostname
2014-06-28 Sven Nierlein <sven@nierlein.de>
* plugins/t/check_dns.t: tests: added check_dns performance data test
2014-02-26 abrist <abrist@nagios.com>
* plugins/check_dns.c: check_dns.c Added a bit more logic to thresholds
Added two if elses to cover when only one threshold is set.
2014-02-26 Jean-Claude Computing <jeanclaude.computing@gmail.com>
* plugins/check_dns.c: check_dns: add warning and critical thresholds to
perfdata
2014-02-20 abrist <abrist@nagios.com>
* plugins/check_tcp.c: Cleaned up status output of check_tcp changes
2014-02-20 Davide Madrisan <davide.madrisan@gmail.com>
* plugins/check_tcp.c: check_tcp: also display the server addr when
host_specified is set. This will help the admins when multiple checks
are configured
2014-05-19 abrist <abrist@nagios.com>
* plugins/check_nt.c: check_nt.c - Changed 'Mb' to 'MB' in MEMUSE.
2014-06-23 Spenser Reinhardt <sreinhardt@nagios.com>
* lib/utils_cmd.c: lib/utils_cmd.c - Free file descriptor
Coverity 66502 - File descriptor fd in cmd_file_read is never closed, and thus file is left open after usage throughout runtime. - SR
2014-06-22 Spenser Reinhardt <sreinhardt@nagios.com>
* plugins/negate.c: plugins/negate.c - Function should not return.
Coverity 66479 - validate_arguments has no need to return anything, as it dies on error, yet was set to return an int. Set to void to resolve warning.
* plugins/negate.c: plugins/negate.c - Reorder if statement, aiob
Coverity 66480 - Potential array index out of bounds, since result was not verified to be positive prior to using as an index for state[]. Simply reording the if statement should resolve the issue. - SR
* plugins-root/check_dhcp.c: plugins-root/check_dhcp.c - array out of
bounds
Coverity 66488 - offer_packet->options has a max size of 312. It was being used in a loop verifying less than 311, but increasing by 2 per loop, causing a possible array index out of bounds. Changed to checking less than max length - 1. - SR
* plugins/check_http.c: plugins/check_http.c - leakage fix
Coverity 66514 - Possible leakage and overflow with addr in redirect functionality. Not confirmed as null terminated, and externally gathered. Restrict string comparisons and duplications by size. - SR
* plugins/check_ntp.c: plugins/check_ntp.c - Verify struct from response
Coverity 66524 - req.data is not neccessarily null terminated but still feed to printf statements. This both does that, and verifies the struct more so than before. - SR
2014-06-05 Spenser Reinhardt <sreinhardt@nagios.com>
* plugins/check_real.c: plugins/check_real.c - recv string null
terminate
Recv into buffer is not properly null terminated prior to strstr and possible other string functions expecting a null termination. Simply take bytes received and use as an index to append \0 after. We are creating buffer[] with size of MAX_INPUT_BUFFER and recv with MAX_INPUT_BUFFER-1 so this should never overflow.
* plugins/check_apt.c: plugins/check_apt.c - Print uninitialized ereg
Coverity 66531 - ereg.buffer can be printed without being initialized if do_include and do_exclude are null and critical is an invalid regex. While minor this may leak memory and cause undefined behavior.
2014-06-05 Eric J. Mislivec <emislivec@nagios.com>
* plugins/check_tcp.c, plugins/negate.c: Include common.h before any
system headers.
This should fix some problems building on AIX.
2014-06-24 Sven Nierlein <sven@nierlein.de>
* .travis.yml, plugins/t/NPTest.cache.travis, plugins/t/check_ntp.t,
plugins/t/check_snmp.t, plugins/t/check_udp.t: tests: always build and
test on travis
also make test is now working on travis-ci
2014-06-23 Jan Wagner <waja@cyconet.org>
* plugins/check_ide_smart.c, po/de.po, po/fr.po,
po/monitoring-plugins.pot: check_ide_smart: Fixing spelling bug
* plugins/check_mrtg.c, po/de.po, po/fr.po, po/monitoring-plugins.pot:
check_mrtg: Fixing spelling bug
* plugins/check_dbi.c, plugins/check_ups.c: check_ups/check_dbi: Fixing
spelling bug
2014-06-23 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Add missing entries for the upcoming release
2014-06-22 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in: Add new authors
Add the new Git commit authors to the THANKS.in file.
* NEWS: Add missing tab characters
* plugins/check_radius.c: check_radius.c: Add newline to die() calls
Our die() function doesn't append a newline character to the message.
* configure.ac: Change RADIUS library preferences
Prefer the FreeRADIUS Client library over radiusclient-ng, and prefer
that one over the original radiusclient library.
* NEWS, REQUIREMENTS, configure.ac, plugins/check_radius.c:
check_radius: Support FreeRADIUS Client library
Allow for using the FreeRADIUS Client library instead of radiusclient or
radiusclient-ng. The latter two projects are dead.
Closes #1231.
* REQUIREMENTS: Update radiusclient-ng URL
The project was moved to SourceForge.net.
2014-06-21 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, lib/tests/test_utils.c, lib/utils_base.c: Add UID to state
retention file path
Add the UID of the invoking user to the state retention file path. This
helps solving permission issues when different users run the same
plugin.
2014-06-20 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: s/MP_STATE_DIRECTORY/MP_STATE_PATH/
NAGIOS_PLUGIN_STATE_DIRECTORY was renamed to MP_STATE_PATH, not to
MP_STATE_DIRECTORY.
2014-06-18 Holger Weiss <holger@zedat.fu-berlin.de>
* lib/parse_ini.c: Print proper read error message
Print a useful error message if opening the configuration file fails.
* lib/parse_ini.c: Drop privileges for reading file
Read the configuration file with privileges temporarily dropped if the
code is used by a setuid plugin.
* lib/parse_ini.c: Add newline to die() calls
Our die() function doesn't append a newline character to the message.
* lib/parse_ini.c: Cosmetic change
Replace an "if" with the ternary operator.
* gl/Makefile.am, gl/idpriv-droptemp.c, gl/idpriv.h,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/idpriv.m4: Add Gnulib
module "idpriv-droptemp"
* plugins-scripts/check_file_age.pl, plugins-scripts/check_mssql.pl: Use
FindBin consistently across Perl plugins
Use Perl's FindBin module to locate the path to utils.pm in
check_file_age.pl and check_mssql.pl, just as we do in other Perl
plugins.
* plugins/runcmd.c: Remove superfluous newline
The puts(3) function already appends a newline character to the string.
* lib/parse_ini.c: Search for INI file in subdirs
Add two path names to the list of default INI file locations, as some
users/distributions prefer to put configuration files into
subdirectories.
* lib/parse_ini.c: Add comment on NAGIOS_CONFIG_PATH
We might want to spit out a warning when NAGIOS_CONFIG_PATH is used.
While at it, move the function that handles this environment variable to
the bottom.
* lib/parse_ini.c: Cosmetic changes to comments
* lib/parse_ini.c: Fix Clang warnings
* lib/parse_ini.c, lib/parse_ini.h: lib/parse_ini.[ch]: Change code
formatting
Change the indentation and formatting of the code in lib/parse_ini.c.
This breaks patches against that file and makes it harder to track its
history, but it (hopefully) improves readability a lot.
* lib/parse_ini.c: Don't cast malloc(3) result
There's no need to cast malloc(3)'s return value.
* lib/parse_ini.c: Remove outdated comment and code
The lib/parse_ini.c:np_get_defaults() function now dies if no
configuration file is found.
* lib/parse_ini.c: Read $MP_CONFIG_FILE
Read $MP_CONFIG_FILE if that variable is set in the environment.
* lib/parse_ini.c: Read "monitoring-plugins.ini"
Read "monitoring-plugins.ini" if that file exists, but fall back to
reading "plugins.ini" or "nagios-plugins.ini" for backward
compatibility.
* lib/parse_ini.c, lib/parse_ini.h: lib/parse_ini.[ch]: Simplify code
Rewrite the code that looks up the INI configuration file path (used by
the Extra-Opts feature) in order to improve readability. The behaviour
should not have changed.
2014-06-13 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/tests/check_snmp.t: tests: freebsds snmpd does not use quotes
when returning syscontact. So make them optional since we want to test
check_snmp and not the snmpd.
* plugins/tests/check_procs.t: tests: check_proc tests fail if uid -2
does not map to nobody
so make sure our tests only run if -2 maps to nobody
* NPTest.pm, plugins/t/check_fping.t: tests: fping checks require being
root or setuid root
on the fping binary. Check this before running the test.
* plugins/tests/check_http.t: require at least HTTP::Daemon 6.01
since the test uses send_header from HTTP::Daemon::ClientConn which has been introduced in
HTTP::Daemon 6.01
2014-06-12 Sven Nierlein <Sven.Nierlein@consol.de>
* NPTest.pm, plugins/tests/check_http.t: tests: testCmd has own timeout
which overwrites local one
so add configurable/optional timeout to testCmd.
* plugins/tests/check_procs.t: tests: parts of the check_procs test only
work when uid -2 exists
skip those tests if the uid does not exist
2014-06-12 Holger Weiss <holger@zedat.fu-berlin.de>
* configure.ac: Remove unused code
We no longer set LIBGNUTLS_CONFIG, as GnuTLS no longer ships a
"libgnutls-config" tool.
* plugins/sslutils.c: Fix compilation with GnuTLS
GnuTLS doesn't provide a SSL_CTX_check_private_key() function.
Closes #1254.
2014-04-21 Gunnar Beutner <gunnar@beutner.name>
* plugins/check_disk.c: Make check_disk work on Windows.
* configure.ac, plugins/Makefile.am, plugins/check_users.c: Make
check_users work on Windows.
* configure.ac, plugins/check_ping.c: Make check_ping work on Windows.
* configure.ac: Add missing file extensions for some of the plugins.
2014-03-07 Anton Lofgren <alofgren@op5.com>
* plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp: Handle
SNMPv3 noAuthNoPriv properly
The SNMPv3 noAuthNoPriv security level, somewhat unintuitively, requires
a security name to be passed along together with the request. Check_snmp
previously did not do this, causing snmpget to throw an error:
"External command error: No log handling enabled - turning on stderr
logging
snmpget: No securityName specified"
This patch fixes the issue by always providing the security name when
noAuthNoPriv is specified.
See also:
https:://bugs.op5.com/view.php?id=8385.
2014-04-03 Sam Kottler <shk@redhat.com>
* plugins/check_apt.c: Remove the suggestion to run check_apt with
--verbose since it doesn't do anything
2014-04-04 Holger Weiss <holger@zedat.fu-berlin.de>
* AUTHORS: Add Sam Kottler to the list of AUTHORS
2014-04-04 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins/check_nt.c: check_nt: add UPTIME to perfdata
[sf#3434647]
2013-10-05 awiddersheim <awiddersheim@hotmail.com>
* plugins/check_mysql.c: Fix check_mysql.c client options from file
If you don't specify a group or a file to read data from the plugin tries to read from several files that don't exist and no groups.
2014-03-20 Sam Kottler <shk@redhat.com>
* plugins-scripts/check_mssql.pl: Update the last remaining instance of
the old FSF address
2014-03-13 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_pgsql.c: check_pgsql: Add missing newline to --help
output
2014-03-08 Davide Madrisan <davide.madrisan@gmail.com>
* lib/Makefile.am, lib/tests/Makefile.am, plugins/Makefile.am: build -
avoid deprecated INCLUDES
2014-02-28 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-scripts/check_breeze.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_wave.pl: Disable Perl's "taint" checks
Perl's "taint" checks don't like `use lib "$FindBin::Bin"'.
Cf. http://www.perlmonks.org/?node_id=585299
2014-02-28 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: remove mawk build-deps
2014-02-28 Holger Weiss <holger@zedat.fu-berlin.de>
* configure.ac: Remove unused AC_PATH_PROG() calls
* NEWS, configure.ac, plugins-scripts/Makefile.am,
plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl,
plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl,
plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_log.sh, plugins-scripts/check_mailq.pl,
plugins-scripts/check_mssql.pl, plugins-scripts/check_netdns.pl,
plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh,
plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh,
plugins-scripts/check_wave.pl, plugins-scripts/subst.in: Replace
"plugins-scripts/subst.in" foo
Remove the buggy and complex awk(1) magic in "plugins-scripts/subst.in"
in favor of simple sed(1) substitutions.
The plugins in the "plugins-scripts" directory now always use the PATH
specified via "./configure --trusted-path", or the default PATH
hard-coded in "configure.ac".
Fixes #1242.
2014-02-27 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: Remove gawk to build against mawk
2014-02-26 Evgeni Golov <evgeni@golov.de>
* plugins-scripts/subst.in: subst.in: remove the led() function
It was only used to replace the 'use lib utils.pm' with the proper
libexec dir, which is now solved by using Perl's FinBin.
Closes #1241
* plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl,
plugins-scripts/check_flexlm.pl, plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_mailq.pl, plugins-scripts/check_netdns.pl,
plugins-scripts/check_rpc.pl, plugins-scripts/check_wave.pl: utils.pm:
use FindBin instead of awk to find the path to
'use lib utils.pm' is not valid Perl syntax:
Bareword "utils" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52.
Bareword "pm" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52.
This makes it impossible to use the plugins directly from the git tree,
e.g. while hacking on them.
Using FindBin::Bin as the library path allows that, while preserving
the original behaviour of adding the libexec path when the plugin is
properly installed.
2014-02-27 Jan Wagner <waja@cyconet.org>
* NEWS, THANKS.in: NEWS: Adding check_mailq auto detection
2014-02-27 Evgeni Golov <evgeni@golov.de>
* plugins-scripts/check_mailq.pl: check_mailq: add $mailq to check
output, so it is easily visible what was autodetected
Closes: #1242
* plugins-scripts/check_mailq.pl: check_mailq: document autodetection in
the usage output
* plugins-scripts/check_mailq.pl: check_mailq: try to autodetect which
mailq implementation we are using
This is done by looking at some common directories and files each
MTA installs on the system. If no known file is found, the old default
sendmail is used. Of course this still can be overridden by -M.
2014-02-21 Holger Weiss <holger@zedat.fu-berlin.de>
* configure.ac: Support --disable-maintainer-mode
This
| allows you to choose whether the so called "rebuild rules" should be
| enabled or disabled. With AM_MAINTAINER_MODE([enable]), they are
| enabled by default, otherwise they are disabled by default. In the
| latter case, if you have AM_MAINTAINER_MODE in configure.ac, and run
| `./configure && make', then make will *never* attempt to rebuild
| configure, Makefile.ins, Lex or Yacc outputs, etc. I.e., this
| disables build rules for files that are usually distributed and that
| users should normally not have to update.
|
| The user can override the default setting by passing either
| `--enable-maintainer-mode' or `--disable-maintainer-mode' to
| configure.
|
| People use AM_MAINTAINER_MODE either because they do not want their
| users (or themselves) annoyed by timestamps lossage (see CVS), or
| because they simply can't stand the rebuild rules and prefer running
| maintainer tools explicitly.
[ https://www.gnu.org/software/automake/manual/automake.html ]
* configure.ac: Rename configure.in to configure.ac
The old name has been deprecated years ago. The Autoconf documentation
says:
| Previous versions of Autoconf promoted the name configure.in, which is
| somewhat ambiguous (the tool needed to process this file is not
| described by its extension), and introduces a slight confusion with
| config.h.in and so on (for which `.in' means "to be processed by
| configure"). Using configure.ac is now preferred.
[ https://www.gnu.org/software/autoconf/manual/autoconf.html ]
2014-02-20 Davide Madrisan <davide.madrisan@gmail.com>
* plugins/check_swap.c: check_swap: Fix the plugin name that appears in
the comment
2014-02-20 Holger Weiss <holger@zedat.fu-berlin.de>
* .travis.yml: travis-ci: Don't use Clang
Currently, there doesn't seem to be a way to configure Travis CI to omit
the Clang build on the coverity/* branches.
See: https://github.com/travis-ci/travis-ci/issues/1975
* .travis.yml: travis-ci: Adjust "branch_pattern"
Modify the "branch_pattern" for the Coverity add-on so that it also
matches "coverity/master" and "coverity/maint".
2014-02-18 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/tests/check_procs.t: check_procs test fails if there is no
user with uid 501
thats because check_procs verifys there is a user for a
given uid filter. So even we use sample data for this
test, we still need a real user.
2014-02-17 Jan Wagner <waja@cyconet.org>
* plugins/check_ssh.c: check_ssh: Reverting a387120
This seems to result into more problems in the wild then before 'fixing' it
Closes Debian #739254
Reopen Debian #734811
2014-02-16 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: remove heading dash accordingly docs
2014-02-16 Holger Weiss <holger@zedat.fu-berlin.de>
* .travis.yml: travis-ci: Cosmetic changes
Use two spaces for indentation.
* .travis.yml: travis-ci: Enable email notifications
Have Travis CI send build failure and recovery notifications to the
team@ list.
2014-02-16 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: Add configuration for Coverity Scan
Run Coverity Scan builds on Travis CI, but only when pushing into the
"coverity" branch.
* .travis.yml: travis-ci: Make use of before_script target
* .travis.yml: travis-ci: Update package list in before_install
[skip ci]
* .travis.yml: travis-ci: Move all into install target
just keeped 'make' in script target
* .travis.yml: travis-ci: Add clang and gcc as compiler
2014-02-15 Jan Wagner <waja@cyconet.org>
* .travis.yml: travis-ci: Enable IRC notification
2014-02-14 Jan Wagner <waja@cyconet.org>
* .travis.yml: Add travis config
2014-02-07 Sam Kottler <shk@linux.com>
* plugins/Makefile.am: Remove unnecessary whitespace in Makefile.am
2014-01-31 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/tests/check_procs.t: Add perfdata in check_proc output tests
* plugins/tests/check_snmp.t: Fix snmpd tests
* NPTest.pm, plugins/tests/check_procs.t, test.pl.in: Enable tests in
tests/ subdirs
2013-11-15 Stephane Lapie <stephane.lapie@asahinet.com>
* lib/utils_base.h, plugins/check_snmp.c: Handle negative values
properly with check_snmp
check_snmp becomes capable of evaluating negative values properly,
but it might be returning CRITICALs where it used to return OK and was ignored,
if a negative value turns out to actually be a valid value.
If negative values are valid, this can be worked around,
by adding "~:" to the warning/critical threshold : 100 -> ~:100
2014-01-31 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/tests/check_snmp.t, plugins/tests/check_snmp_agent.pl: Add
tests for negative thresholds in check_snmp
Next commit will work on fixing these!
* lib/tests/test_utils.c: Add tests for negative thresholds in
test_utils
2014-01-30 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_dig.c: check_dig: Declare variable at the top
C89 doesn't allow variable declarations to be intermingled with code.
2014-01-30 Jan Wagner <waja@cyconet.org>
* plugins/check_dig.c: check_dig: stick with integer devision
This change saves us from having to link check_dig against "libm"
* plugins/check_dig.c: check_dig: timeout_interval is a global variable
which is already set to 10 seconds
* THANKS.in, plugins/check_dig.c: check_dig: patch to make dig honor -t
option
When a timeout value is specified with the -t option, dig will sometimes
timeout before the timer is actually reached.
The problem occurs because the check_dig plugin does not pass the specified
timeout value to dig, leaving dig to timeout with it's default value which
seems to be around 10-15seconds.
To reproduce:
time ./check_dig -H 127.0.0.2 -l www.google.com -t 30
It will not run for 30secs, which is the expected behaviour.
The following will work, because the timeout is less than the default dig
timeout, so the plugin cancels the dig command:
time ./check_dig -H 127.0.0.2 -l www.google.com -t 2
This fix passes the timeout value to dig, and sets the number of retries which tends to vary from system to system by default.
Closes #1168
2014-01-29 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_utils.c: Add tests for mp_translate_state()
2013-10-01 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins-scripts/check_mailq.pl: check_mailq: adding
nullmailer support
Adding nullmailer support to check_mailq submitted by Luca Corti
Closes: #740
Closes: #1189
2014-01-29 Jan Wagner <waja@cyconet.org>
* plugins-scripts/check_mailq.pl: Just fixing small typo in comment
2014-01-29 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_swap.c: Update check_swap usage
* .gitignore: AUpdate .gitignore for new gnulib module
* NEWS, plugins/check_swap.c: check_swap: add supports for a
configurable state when there is no swap
Check_swap used to allow no swap when thresholds were only specified in
percent. This is no longer the case and the state now must be specified
explicitly. The default is to always return CRITICAL when the swap is
absent regardless of thresholds.
* lib/utils_base.c, lib/utils_base.h, plugins/negate.c: Move negate'
translate_state() to utils_base.h mp_translate_state()
Also use strcasecmp imported from gnulib for simplicity
* gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4,
gl/m4/strcase.m4, gl/m4/strings_h.m4, gl/strcasecmp.c, gl/strings.in.h,
gl/strncasecmp.c: Add strcase gnulib module
* plugins/t/negate.t: Typo
* plugins/check_swap.c: Fix check_swap returning OK on & thresholds and
no swap
Return 0% free instead of 100% free when total swap is 0
2013-09-30 Jan Wagner <waja@cyconet.org>
* plugins/check_disk.c: check_disk: precise the help output
Clarifying in the help output that we need either a device or mount point
listed by the mount(8) command.
(Closes: #1118)
(Closes: #1170)
2014-01-28 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/t/check_mysql.t: Clarify check_mysql test prompts
Also default to "-u test -ptest" which are default MySQL accounts only
missing the prescribed privileges.
The database is no longer specified as it is not used.
If wanted is should be its own parameter/tests.
2014-01-27 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/check_dig.c: check_dig: fix wrong IPv6
arguments order
* lib/tests/test_utils.c, lib/utils_base.c, plugins/tests/check_snmp.t:
Rename MP_STATE_DIRECTORY to MP_STATE_PATH
* NEWS, lib/utils_base.c: And release notes for previous change
(MP_STATE_DIRECTORY)
The change has also been updated in
https://www.monitoring-plugins.org/doc/state-retention.html
2014-01-26 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NPTest.pm: Fix tests with an empty NPTest.cache file
The NPTest.cache cannot be loaded when empty, and this prevents
getting the data and populating the file. This patch skips the file when
empty as if it didn't exist.
2014-01-25 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h: Ignore
MP_STATE_DIRECTORY in suid plugins
If a plugin still has suid privileges at the time np_enable_state() is
called, the MP_STATE_DIRECTORY environment will be ignored.
There is no need for a NEWS entry as no suid plugins use np_enable_state
yet.
* lib/parse_ini.c: Clean up parse_ini error messages, add missing
newlines
* lib/tests/test_utils.c, lib/utils_base.c, plugins/tests/check_snmp.t:
Rename ENV variable, keep backward compatibility
Rename NAGIOS_PLUGIN_STATE_DIRECTORY to MP_STATE_DIRECTORY
2013-10-01 Jan Wagner <waja@cyconet.org>
* plugins-scripts/check_file_age.pl, plugins-scripts/t/check_file_age.t:
check_file_age: support for --ignore-missing
Patch to provide for a -i | --ignore-missing option. This allows files that
don't exist to be monitored for without causing an error. The use case is:
* one process periodically pushes files to an "input" queue for a second
process
* the second process, when running cleanly will "consume" (process and remove)
these files
So the conditions to meet are:
1. If the file doesn't exist, that's fine (OK)
2. If the file exists, but is less than X seconds, that's fine (OK)
3. If the file exists, but greater than X seconds, no good (CRITICAL)
Since now check_file_age doesn't permit this behavior, as a non-existent file
is considered CRITICAL.
Test case was contributed by our lovely Holger.
Closes #1181, Closes #989, Closes #862, Closes #1187, Closes #845
Closes Debian Bug #496307
2014-01-24 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins/check_ping.c: check_ping: Fixing "time of day goes
back"
by Geoff Oakham <goakham at oanda.com>
Patch of check_ping that allows it to gracefully handle when ping outputs
to stderr "Warning: time of day goes back (-XXXXus), taking countermeasures."
Closes: #809 and #1195
* plugins/check_ntp.c, plugins/check_ntp_time.c: Fixing bug in average
calculation (Submitted by Lars)
The more important change: A fix for a bug which caused the check_ntp_time
and check_ntp_time check to always take the first response from ntp and not
the avarage since "j" is not increased anywhere. "i" should be used there
instead.
Partly Closes #956 and Closes #1166
Closes: #1089
* plugins/check_ntp.c, plugins/check_ntp_time.c: Making AVG_NUM
configurable by compiler define (Submitted by Lars)
A minor change which makes the AVG_NUM configurable by compiler define.
Partly Closed #956 and Closes #1166
2014-01-24 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/parse_ini.c: Use access() instead of stat() in parse_ini.c
* lib/tests/test_base64.t, lib/tests/test_cmd.t, lib/tests/test_disk.t,
lib/tests/test_ini1.t, lib/tests/test_ini3.t, lib/tests/test_opts1.t,
lib/tests/test_opts2.t, lib/tests/test_opts3.t, lib/tests/test_tcp.t,
lib/tests/test_utils.t: Update comments
1. libtab is now bundled, so suggest to enable it rather than install it
2. "parse-ini" feature has been called "extra-opts"
2014-01-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins-scripts/Makefile.am, plugins-scripts/check_ntp.pl: Remove
obsolete check_ntp.pl
2011-10-25 Tilmann Bubeck <t.bubeck@reinform.de>
* plugins/check_ide_smart.c: fix smart attribute comparison
Each S.M.A.R.T. attribute is compared against a threshold. If it is LESSTHAN
that threshold an error is reported. This patch fixes the problem, that
attribute values EQUAL to the threshold are reported as error, which is wrong.
Only LESSTHAN the threshold is an error.
For more information see: http://www.hdsentinel.com/smart/index.php
My SSD has some attributes which value and threshold are "0". Without the patch
this is reported as errornous.
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
...
172 Unknown_Attribute 0x0032 000 000 000 Old_age Always - 0
174 Unknown_Attribute 0x0030 000 000 000 Old_age Offline - 13
177 Wear_Leveling_Count 0x0000 000 000 000 Old_age Offline - 0
...
See also:
* http://sourceforge.net/p/nagiosplug/patches/365/
* https://bugzilla.redhat.com/913085
2014-01-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, configure.in: Enable extra-opts by default
* plugins/check_ide_smart.c: Fix misleading option text
As soon as a device is specified without using -d, anything else on the
command line is ignored.
* NEWS, plugins/check_ide_smart.c: Disable SMART test commands in
check_ide_smart
check_ide_smart could disable offline auto tests but could not re-enable
them. For this reason all SMART command modes have been disabled
The disabled commands are -0/--auto-off, -1/--auto-on and
-i/--immediate
* plugins/utils.h: Remove accidental tabs inserted in macro
* NEWS, plugins/check_ide_smart.c: Make check_ide_smart default to
nagios output
check_ide_smart was originally a smard control utility later converted
to a monitoring plugin. the -n option (Nagios check) should therefore be
the default.
This patch deprecates the -n and -q switches, and make the other
switches return nagios-compatible output (they are most likely used in
eventhandlers, but returning nagios-compatible output makes it clear and
easy to handle the return status)
2014-01-22 Ricardo Maraschini <ricardo.maraschini@gmail.com>
* plugins/utils.h: avoiding warnings on empty printf statements
while compiling i keep receiving an warning statement as follow:
warning: zero-length gnu_printf format string
using an unorthodox method to remove them
2014-01-22 Lars Vogdt <lrupp@suse.de>
* plugins-scripts/check_file_age.pl,
plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_mailq.pl: fix
outdated Free Software Foundation address
2014-01-21 Holger Weiss <holger@zedat.fu-berlin.de>
* README: Minor fixes regarding new project name
Talk about "monitoring systems", not just about "Nagios". Also, the
default installation prefix has changed to /usr/local.
(While at it, wrap lines consistently at 76 characters.)
* configure.in, lib/utils_base.h, lib/utils_cmd.h,
pkg/solaris/pkginfo.in, plugins-root/check_icmp.c,
plugins-scripts/utils.pm.in, plugins/utils.h, po/de.po, po/fr.po,
po/monitoring-plugins.pot, tools/tango: Capitalize "Monitoring Plugins"
"Monitoring Plugins" is a name.
* configure.in, plugins/tests/var/ps_axwo.debian: New default
installation prefix: /usr/local
Install into /usr/local instead of /usr/local/nagios by default, in
order to comply with the Filesystem Hierarchy Standard (FHS) and
presumably the expectations of most users.
2014-01-20 Spenser Reinhardt <sreinhardt@nagios.com>
* plugins/check_apt.c, plugins/check_disk.c, plugins/check_procs.c,
plugins/negate.c: plugins/*.c: Non-network timeout changes
Changes to non-network checks for clarity on timeout value. Adapted from pull request #1209 tracker from user awiddersheim. (Closes: #1209)
Files: check_apt.c, check_disk.c, check_procs.c, negate.c
* plugins/utils.h: Addition of plugin timeout msg.
Addition of timeout message for non-network plugins(UT_PLUG_TIMEOUT), and alteration of UT_TIMEOUT to UT_CONN_TIMEOUT for networked checks. Alteration of pull request #1209 tracker by user awiddersheim.
* plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_ups.c, plugins/negate.c: plugins/*.c: Alterations for
timeout messages.
.c file changes for misleading timeout messages in help functions. Solution to pull request #1209 tracker by awiddersheim.
Files: plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c, plugins/negate.c
2014-01-21 Jan Wagner <waja@cyconet.org>
* plugins/check_mysql_query.c: Revert renaming value
As suggested by sreinhardt in 045d38a6 over there in nagios-plugins
2013-10-14 awiddersheim <awiddersheim@hotmail.com>
* plugins/check_mysql_query.c: Add performance data to
check_mysql_query.c (Closes: #1202)
2014-01-20 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NPTest.pm: Fix NPTest.pm not asking for unconfigured variables
It appeats STDERR isn't a tty anymore during tests, but since we type
from tty to STDIN it should be bound to our tty (and works for me).
2014-01-20 Sven Nierlein <sven@nierlein.de>
* perlmods/Monitoring-Plugin-0.37.tar.gz,
perlmods/Nagios-Plugin-0.36.tar.gz: updated perldod with a renamed pkg
2014-01-20 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c: Capitalize "Monitoring" when it's
the first word
* lib/extra_opts.c, lib/parse_ini.c, plugins/check_radius.c,
plugins/t/check_http.t, plugins/urlize.c, tools/distclean: Minor fixes
to be amended into "rename" commit
2014-01-19 Thomas Guyot-Sionnest <dermoth@aei.ca>
* po/fr.po: Minor mailinglist corrections for french
* po/Makevars, po/de.po, po/fr.po, po/monitoring-plugins.pot: Reprocess
L10n files
2014-01-18 Monitoring Plugins Development Team <devel@monitoring-plugins.org>
* .gitignore, ACKNOWLEDGEMENTS, AUTHORS, CODING, FAQ, Makefile.am, NEWS,
NPTest.pm, README, REQUIREMENTS, SUPPORT, configure.in, doc/LEAVERS,
doc/NEW_STARTERS, doc/RELEASING, doc/developer-guidelines.sgml,
lib/Makefile.am, lib/extra_opts.c, lib/extra_opts.h, lib/parse_ini.c,
lib/parse_ini.h, lib/tests/Makefile.am, lib/tests/test_utils.c,
lib/utils_base.c, lib/utils_base.h, lib/utils_cmd.c, lib/utils_cmd.h,
lib/utils_disk.c, lib/utils_tcp.c, m4/np_mysqlclient.m4,
monitoring-plugins.spec.in, perlmods/install_order,
pkg/solaris/pkginfo.in, plugins-root/Makefile.am,
plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins-root/pst3.c, plugins-scripts/check_disk_smb.pl,
plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl,
plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_log.sh, plugins-scripts/check_mssql.pl,
plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh,
plugins-scripts/check_rpc.pl, plugins-scripts/utils.pm.in,
plugins/Makefile.am, plugins/check_apt.c, plugins/check_by_ssh.c,
plugins/check_cluster.c, plugins/check_dbi.c, plugins/check_dig.c,
plugins/check_disk.c, plugins/check_dns.c, plugins/check_dummy.c,
plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/common.h, plugins/negate.c, plugins/netutils.c,
plugins/netutils.h, plugins/popen.c, plugins/runcmd.c, plugins/runcmd.h,
plugins/sslutils.c, plugins/t/check_disk.t, plugins/t/check_dns.t,
plugins/t/check_http.t, plugins/tests/check_http.t,
plugins/tests/var/ps_axwo.debian, plugins/urlize.c, plugins/utils.c,
plugins/utils.h, po/Makevars, po/de.po, po/fr.po,
po/monitoring-plugins.pot, tools/distclean, tools/generate-change-log,
tools/git-notify, tools/git-post-receive-hook, tools/tango,
tools/tinderbox_build: Project rename initial commit.
This is an initial take at renaming the project to Monitoring Plugins.
It's not expected to be fully complete, and it is expected to break
things (The perl module for instance). More testing will be required
before this goes mainline.
2014-01-13 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins-scripts/check_log.sh, plugins-scripts/utils.sh.in:
utils.sh: Don't define $ECHO
In utils.sh, $ECHO was set to printf(1) or echo(1), depending on whether
printf(1) is available in /usr/bin. This resulted in various bugs, as
printf(1) cannot be used in the same way as echo(1).
Thanks to Trevor Hemsley for reporting one of those bugs: If $ECHO was
set to printf(1), check_log stumbled when reporting a log line with a
"%" character.
2014-01-10 Jan Wagner <waja@cyconet.org>
* plugins/check_ssh.c: check_ssh: Get rid of sshd: Read from socket
failed: Connection reset by peer
This fix was grabbed from FreeBSD downstream and provided by Dmitry Sivachenko.
Fixes Debian Bug #734811
2014-01-10 Holger Weiss <holger@zedat.fu-berlin.de>
* configure.in: Call AC_CONFIG_HEADERS
AM_CONFIG_HEADER is deprecated.
2013-12-27 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/t/check_http.t, plugins/t/check_tcp.t: fixed tests when there
is no direct internet connection
- check http had wrong number of skipped tests
- check tcp did not use the 'no internet' flag at all
2013-12-20 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention fix for check_http's -S option
Closes #1220.
2013-12-20 Joseph Gooch <mrwizard@k12system.com>
* plugins/check_http.c: Fix for SSL Versioning when multiple options are
used.
If you specify -S1 -C 30... The -C option will reset the ssl_version to 0. This is not a good thing.
Instead we set the default to 0 and retain the version when later args are passed.
2013-12-16 Damian Myerscough <Damian.Myerscough@gmail.com>
* nagios-plugins.spec.in: Fix #1217 spec file fails to build due to
duplicate files and unused files
2013-12-05 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Don't let "-N" expect an argument
Fix the problem that check_http's "-N" option expects an argument
although it shouldn't. The corresponding long option ("--no-body")
wasn't affected.
This error was introduced in ee3c4014d511e105489b081390636cacd4c53e3f.
Thanks to Kerry Hughes for reporting it on the devel@ list.
2013-11-20 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/t/check_procs.t: make testing check_proc not rely on bash
also grandparents make this test fail but is not a problem in real live.
NPTest->testCmd uses "sh -c" already, so there is no need to do that twice.
2013-11-20 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Add WARNING regarding the check_procs change
Closes #1205.
2013-10-18 Anton Lofgren <alofgren@op5.com>
* plugins/check_procs.c, plugins/t/check_procs.t: check_procs: ignore
plugin parent process
This fixes an issue that appears when running check_procs over NRPE,
where the default shell is configured to (for example) dash, as is the
case on Debian.
dash (and tcsh, and mksh, and probably others), when invoked with -c forks an additional process
to execute the argument string. Contrast this with bash, which does not
do this, provided that the argument string simply can be exec()'d as-is.
To demonstrate:
$ bash -c pstree
init─┬ ..
...
├─sshd─-─sshd───pstree
versus
$ dash -c pstree
init─┬ ..
...
├─sshd─-─sshd───dash───pstree
The consequence of this fork is that the following invocation:
/opt/plugins/check_procs -a init
will result in this output:
PROCS OK: 2 processes with args 'init' | processes=2;;;0;
because the check_procs, in addition to finding the actual init process,
finds its parent shell as well.
This example is a bit contrived, but I think it illustrates the
point.
This wouldn't really be a problem, and normally isn't, if it weren't
for the fact that NRPE uses a call to popen() which does exactly the
above (executes '/bin/sh -c ...'), causing inconsistent behaviour
between distributions and much confusion for end users.
The argument may be made that the dash process spawned by NRPE is just a
process like any other, and should therefore be included in the process
count just like any other. However, this is not very intuitive, because
of the previously mentioned inconsistencies.
The argument might also well be made that we're _never_ interested in the
immediate ancestor of the plugin, and while it is unknown how many
installations have already made the necessary modifications to their
setups to make up for the fact that the plugin behaves the way it does,
it is not deemed worthwhile to entertain such workarounds.
Thus, this patch ignores the parent process.
See also these bug reports:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913
http://sourceforge.net/p/nagiosplug/bugs/512/
https://github.com/nagios-plugins/nagios-plugins/issues/999
https://bugs.op5.com/view.php?id=4398
2013-11-05 Holger Weiss <holger@zedat.fu-berlin.de>
* README: Change GitHub URL
Link to our main project home page on GitHub instead of referencing only
the "nagios-plugins.git" repository. (And put the URL on its own line.)
* README: Clarify license notice
Note that we permit redistribution and modification under the terms of
future GPL versions, and state the exclusion of warranty. This is in
accordance with the license notices at the top of our source files.
2013-10-28 Holger Weiss <holger@zedat.fu-berlin.de>
* FAQ, README, SUPPORT, configure.in, nagios-plugins.spec.in,
pkg/solaris/pkginfo.in, plugins-root/check_dhcp.c,
plugins-root/check_icmp.c, plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_mssql.pl, plugins/check_apt.c,
plugins/check_by_ssh.c, plugins/check_cluster.c, plugins/check_dbi.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c, plugins/utils.h, po/Makevars,
po/de.po, po/fr.po, po/nagios-plugins.pot: Update URLs and mailing list
addresses
Now that we moved our infrastructure away from SourceForge, update the
URLs and mailing list addresses accordingly.
* doc/developer-guidelines.sgml: developer-guidelines.sgml: Fix URL
Fix the Test::Simple tutorial URL.
* doc/developer-guidelines.sgml: developer-guidelines.sgml: Remove
Tinderbox link
We don't run a Tinderbox instance anymore. (Noted by "zathras" on IRC.)
2013-10-22 awiddersheim <awiddersheim@hotmail.com>
* configure.in, plugins-scripts/check_breeze.pl,
plugins-scripts/check_disk_smb.pl, plugins-scripts/check_file_age.pl,
plugins-scripts/check_flexlm.pl, plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_log.sh, plugins-scripts/check_mailq.pl,
plugins-scripts/check_mssql.pl, plugins-scripts/check_netdns.pl,
plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh,
plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh,
plugins-scripts/check_wave.pl, plugins-scripts/subst.in: Fix trusted
path
When configuring the plugins you have the option to specify a trusted path with --with-trusted-path. This option seems to have been deprecated at some point for unknown reasons and had typically had no affect. This commit makes this option work again for those who have a desire to use it. There should be no affect on those who have not chosen to specify a trusted path.
2013-10-22 Jan Wagner <waja@cyconet.org>
* plugins-scripts/check_oracle.sh: Just using the posix conform extended
regular expression grep
* plugins-scripts/check_oracle.sh: check_oracle: --db +ASM bad string
matching
check_oracle doesn't correctly check for pmon +ASM instance from at least Oracle 11 as the pmon proces was renamed from ora_pmon_.* to asm_pmon_.*.
--
Just turning attached patch of github issue #1207 into a push request.
(Closes #1207)
2013-10-08 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/utils.h: Update web site URLs
The Nagios Plugin Development Guidelines and the Extra-Opts
documentation were moved to our new project server.
2013-10-05 awiddersheim <awiddersheim@hotmail.com>
* plugins/check_mysql_query.c: Add additional usage data for new options
in check_mysql_query.c
* plugins/check_mysql_query.c: Add ability to read from options file to
check_mysql_query.c
This is the same code that was added to check_mysql.c in 5ed7194.
2013-10-03 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention "contrib" removal
Add a note regarding the removal of the "contrib" directory to the NEWS
file. This note is missing from the NEWS file shipped with the 1.5
release, though.
2013-10-02 Holger Wei<65> <holger@zedat.fu-berlin.de>
* NEWS, NP-VERSION-GEN, configure.in: Prepare for the 1.5 release
2013-10-02 Holger Weiss <holger@zedat.fu-berlin.de>
* FAQ: Update CVS references
We moved from CVS to Git.
2013-10-02 Jan Wagner <waja@cyconet.org>
* doc/LEAVERS, doc/NEW_STARTERS, tools/README: tools: Update CVS
references
We moved our stuff from CVS/SourceForge to Git/GitHub.
* doc/LEAVERS, doc/NEW_STARTERS: doc: Updated CVS references
We moved our stuff from CVS/SourceForge to Git/GitHub.
2013-10-02 Holger Weiss <holger@zedat.fu-berlin.de>
* README: Update URLs
We moved the Nagios Plugins site from SourceForge to our project server.
* SUPPORT: Update CVS/SourceForge references
We moved our stuff from CVS/SourceForge to Git/GitHub.
2013-10-01 Jan Wagner <waja@cyconet.org>
* plugins/check_ssh.c: check_ssh: check protocol
It would be useful to be able to detect the protocols supported by the remote
ssh server to locate any using the insecure ssh v1 protocol. This patch
attempts to match against the protocol string in the ssh response.
Example:
check_ssh -H my.host.com -P 2.0
--
Just turning attached patch of github issue #780 into a push request.
(Closes #780)
2013-09-30 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in: Update THANKS file
Add all new Git commit authors to the THANKS.in file.
* AUTHORS: Tiny cosmetic change
* AUTHORS: Add Jan Wagner to the list of AUTHORS
* AUTHORS: Add Eric Stanley to the list of AUTHORS
2013-09-29 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/t/check_dig.t, plugins/t/check_http.t: Change default host
names for some tests
Testing "nagiosplugins.org" will currently not work.
2013-09-28 Holger Weiss <holger@zedat.fu-berlin.de>
* .gitignore, ChangeLog, Makefile.am, tools/generate-change-log: Add
tools/generate-change-log
Add the tools/generate-change-log script for auto-generating the
ChangeLog file from the Git history when running "make dist".
2013-09-27 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/mail_error, tools/np_build_from_sf, tools/sfsnapshot,
tools/sfsnapshot-upload, tools/sfsnapshotgit, tools/sfupload,
tools/sfwebcron, tools/sync_website, tools/update_man_pages: tools:
Remove Drupal/SourceForge scripts
We moved our web site away from Drupal and the snapshots/guidelines away
from SourceForge. The new infrastructure scripts will be maintained in
a separate repository together with the Markdown source of the new web
site.
* tools/git2svn.pl: Remove tools/git2svn.pl
We no longer mirror out Git repositories into Subversion.
2013-09-26 awiddersheim <awiddersheim@hotmail.com>
* plugins/check_http.c: Die on SSL initialization errors
Fixes issue where if an SSL initialization error occurs on a redirect
using -f follow the plugin still returns an OK state.
Closes #1159.
2013-09-25 Holger Weiss <holger@zedat.fu-berlin.de>
* doc/developer-guidelines.sgml: developer-guidelines.sgml: Normalize
spelling
- Write "plugin" instead of "plug-in".
- Write "development guidelines" instead of "developer guidelines"
- Capitalize "Nagios Plugin Development Guidelines".
2013-09-22 Holger Weiss <holger@zedat.fu-berlin.de>
* README: Minor cosmetic change
2013-09-20 Holger Weiss <holger@zedat.fu-berlin.de>
* README: Apply another few cosmetic changes
* README.md: Add symlink: README.md -> README
Add a symlink so that GitHub renders the README file as Markdown.
* README: Use code blocks for commands
* BUGS, Makefile.am, README: Remove the BUGS file
The BUGS file wasn't maintained properly anymore. And doing so makes no
sense. That's what the bug tracker is for.
* README: Convert to Markdown and apply cleanups
Use the Markdown format for the README file and apply various minor
cosmetic changes.
* README: Remove outdated information
2013-09-19 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_pgsql.c: check_pgsql: Don't exit UNKNOWN instead of OK
Since commit 912df3ef9b188c82893dace1e9b56c42a558fdba, check_pgsql
exited UNKNOWN instead of OK if the new --query option was *not*
specified. This bug is fixed now.
2013-09-18 Sven Nierlein <Sven.Nierlein@consol.de>
* NPTest.pm: tests: only write cache file if it changed
Tests sometimes fila when running multiple parallel tests using the
same cache file because it is written everytime a test parameter
is read. Since there is no locking, this might fail from time to time.
2013-09-17 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/t/check_disk.t: check_disk: die with a reasonable error
message if one mount point hits average value
* plugins-root/check_dhcp.c: check_dhcp: fix mac address and interface
number detection on solaris
newer (or x86) solaris implementations have interface names like e1000g0
which includes numbers. So we reverse the interface number detection to
get the last number, instead of the first number.
* plugins-root/t/check_dhcp.t: check_dhcp: fix tests interface detection
* plugins/t/check_ssh.t: check_ssh: added test case
* plugins/t/check_by_ssh.t: check_by_ssh: tests expand key and config
path
some systems do not expand the path automatically.
* plugins/t/check_udp.t: check_udp: skip tests which rely on udp listen
solaris netcat does not listen in udp mode due to
http://sourceforge.net/p/netcat/bugs/27/
2013-09-17 Sven Nierlein <sven@nierlein.de>
* plugins-scripts/t/check_disk_smb.t: check_disk_smb: fixed number of
tests to skip
2013-09-16 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/check_disk.c: check_disk: get_fs_usage hasn't been run if
using groups
the reason why it still worked sometimes was fsu_blocks beeing uninitialized
which resulted in a true test sometimes.
* plugins-scripts/check_disk_smb.pl: check_disk_smb: verify path to
smbclient
* plugins/t/check_procs.t: check_procs: fix test with sleeping processes
at least on freebsd, there are a processes with state 'S', they always
use two character status.
* plugins/t/check_http.t: check_http: tests use supplied value if
possible
* plugins-root/t/check_dhcp.t: check_dhcp: fix tests for machines with
default interace != eth0
2013-09-16 Sven Nierlein <sven@nierlein.de>
* NPTest.pm: tests: don't skip utils test
* plugins-root/t/check_dhcp.t: check_dhcp test: skip subtests if no
variable is set
2013-09-15 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins-root/t/check_dhcp.t: check_dhcp: add test file
* plugins-root/t/check_icmp.t: check_icmp: tests do not require sudo if
run by root
* plugins-root/Makefile.am: plugins-root: include t folder in release
tarball
2013-09-15 Sven Nierlein <sven@nierlein.de>
* plugins/check_tcp.c: check_tcp: use receive timeout for checks that
expect response
if check_imap expects a string that never occurs, it currently waits forever
because thats how the imap protocoll works. Use a receive timeout in that case
so we can exit early with a proper error message.
2013-09-14 Sven Nierlein <sven@consol.de>
* plugins/t/check_ping.t: check_ping: increase test timeout
freebsds ping takes a few seconds till it returns, so a 1 second timeout does
not work for the test.
* plugins/check_load.c: check_load: add alternative uptime syntax
check_load parses load from the uptime command if no proc filesystem is available. Seems
like there are at least 2 different uptime outputs.
linux:
20:44:34 up 25 days, 2:07, 13 users, load average: 0.13, 0.17, 0.22
freebsd 8:
8:44PM up 4:29, 1 user, load averages: 0.00, 0.00, 0.00
2013-09-14 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/t/check_udp.t: check_udp: try nc.traditional too
nc.traditional is available on (at least) ubuntu systems and uses traditional nc syntax
2013-09-14 Sven Nierlein <sven@consol.de>
* NPTest.pm, plugins/t/check_dig.t, plugins/t/check_tcp.t: tests: move
ipv6 detection into NPTest module
2013-09-13 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/t/check_udp.t: unified nc syntax
older netcats do not understand -p, they expect host and port as additional argument.
This is backwards compatibel to newer clients. Also support netcat instead of nc.
* plugins/check_fping.c: fping: some fping versions set loss to 0% by
mistake
fping v2.4b2 returns
10.99.0.1 : xmt/rcv/%loss = 0/0/0%
for a failed host, so we assume the host is down if xmt is zero
* NPTest.pm: NPTest: ensure all systems use same amount of whitespace
2013-09-12 Sven Nierlein <Sven.Nierlein@consol.de>
* plugins/check_snmp.c: check_snmp: add timeout handler befor running
snmpget
* plugins/t/check_tcp.t: check_tcp: only test ipv6 if ping6 works
* NPTest.pm: tests: sort cached settings before save
* NPTest.pm: tests: make sure tests don't hang
2013-09-12 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_tcp.c: check_tcp: Fix checks without --expect string
Commit e8044713d41f5ef1d9ce814df4a079d8f92306b0 broke check_tcp checks
without --expect string, this commit fixes that regression.
* lib/tests/test_tcp.c, lib/utils_tcp.c: Minor cosmetic changes
* lib/tests/test_tcp.c, lib/utils_tcp.c, lib/utils_tcp.h,
plugins/check_tcp.c: check_tcp: Properly deal will partial recv(3)s
The np_expect_match() function now returns one of three possible states
instead of just TRUE or FALSE:
- NP_MATCH_SUCCESS
- NP_MATCH_FAILURE
- NP_MATCH_RETRY
The NP_MATCH_RETRY state indicates that matching might succeed if
np_expect_match() is called with a longer input string. This allows
check_tcp to decide whether it makes sense to wait for additional data
from the server.
* lib/tests/test_tcp.c, lib/utils_tcp.c, lib/utils_tcp.h,
plugins/check_tcp.c: Improve interface of np_expect_match() function
Replace the three boolean parameters of lib/utils_tcp.c's
np_expect_match() function with a single "flags" parameter.
2013-09-10 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/sslutils.c: Don't mark SSL_METHOD variable as "const"
The SSL_CTX_new(3) function expects a non-"const" SSL_METHOD value.
* plugins/netutils.c, plugins/netutils.h, plugins/sslutils.c,
plugins/utils.c, plugins/utils.h: Move global variables from .h to .c
files
Simplify things by moving the definition of global variables into .c
files, where they belong.
* lib/utils_base.c, plugins/check_ide_smart.c, plugins/check_tcp.c,
plugins/negate.c, plugins/runcmd.h: Fix GCC's
-Wimplicit-function-declaration warnings
Fix the issues found by GCC when the -Wimplicit-function-declaration
flag is specified.
* lib/tests/test_disk.c, plugins/check_http.c, plugins/check_procs.c:
Fix GCC's -Wuninitialized warnings
Fix the issues found by GCC when the -Wuninitialized flag is specified.
2013-09-10 juliopedreira <julio.pedreira@gmail.com>
* plugins/check_tcp.c: check_tcp: Don't close connection too early
Closing the connection because the bytes received are less than the
buffer size assumes that all the bytes will be received in one go. This
is not always true!
2013-09-10 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins/check_http.c:
s/--proxy_authorization/--proxy-authorization/
The check_http option "--proxy_authorization" is now called
"--proxy-authorization" instead. It was always documented this way, and
we don't usually use underscores in option names.
2013-09-05 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_snmp.c: check_snmp: Initialize size_t value to 0, not
NULL
* build-aux/ltmain.sh, gl/m4/libtool.m4, gl/m4/ltoptions.m4,
gl/m4/ltversion.m4, gl/m4/lt~obsolete.m4: Update bundled libtool files
Import the current libtool version 2.4.2.
2013-09-04 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-root/check_icmp.c: check_icmp: Minor whitespace/indentation
fixes
* plugins-root/check_icmp.c: check_icmp: Support "--help" and
"--version"
Let check_icmp provide "--help" and "--version" flags (in addition to
"-h" and "-V"), just as the other plugins do.
2013-09-02 Holger Weiss <holger@zedat.fu-berlin.de>
* Makefile.am, contrib-reporting/process_perfdata.pl,
contrib/README.TXT, contrib/aix/check_failed, contrib/aix/check_io,
contrib/aix/check_kerberos, contrib/aix/check_queue,
contrib/aix/pg_stat, contrib/check_adptraid.sh, contrib/check_apache.pl,
contrib/check_apc_ups.pl, contrib/check_appletalk.pl,
contrib/check_arping.pl, contrib/check_asterisk.pl,
contrib/check_axis.sh, contrib/check_backup.pl,
contrib/check_bgpstate.pl, contrib/check_breeze.pl,
contrib/check_cluster.c, contrib/check_cluster2.README,
contrib/check_cluster2.c, contrib/check_compaq_insight.pl,
contrib/check_cpqarray.c, contrib/check_digitemp.pl,
contrib/check_dlswcircuit.pl, contrib/check_dns_random.pl,
contrib/check_email_loop.pl, contrib/check_fan_cpq_present,
contrib/check_fan_fsc_present, contrib/check_flexlm.pl,
contrib/check_frontpage, contrib/check_hltherm.c,
contrib/check_hprsc.pl, contrib/check_hw.sh,
contrib/check_ica_master_browser.pl,
contrib/check_ica_metaframe_pub_apps.pl,
contrib/check_ica_program_neigbourhood.pl,
contrib/check_inodes-freebsd.pl, contrib/check_inodes.pl,
contrib/check_ipxping.c, contrib/check_javaproc.pl,
contrib/check_joy.sh, contrib/check_linux_raid.pl,
contrib/check_lmmon.pl, contrib/check_log2.pl, contrib/check_lotus.pl,
contrib/check_maxchannels.pl, contrib/check_maxwanstate.pl,
contrib/check_mem.pl, contrib/check_ms_spooler.pl,
contrib/check_mssql.sh, contrib/check_nagios.pl,
contrib/check_nagios_db.pl, contrib/check_nagios_db_pg.pl,
contrib/check_netapp.pl, contrib/check_nmap.py,
contrib/check_ora_table_space.pl, contrib/check_oracle_instance.pl,
contrib/check_oracle_tbs, contrib/check_pcpmetric.py,
contrib/check_pfstate, contrib/check_qmailq.pl, contrib/check_rbl.c,
contrib/check_remote_nagios_status.pl, contrib/check_rrd_data.pl,
contrib/check_sap.sh, contrib/check_smart.pl, contrib/check_smb.sh,
contrib/check_snmp_disk_monitor.pl, contrib/check_snmp_printer.pl,
contrib/check_snmp_process_monitor.pl, contrib/check_snmp_procs.pl,
contrib/check_sockets.pl, contrib/check_temp_cpq,
contrib/check_temp_fsc, contrib/check_timeout.c,
contrib/check_traceroute-pure_perl.pl, contrib/check_traceroute.pl,
contrib/check_uptime.c, contrib/check_vcs.pl, contrib/check_wave.pl,
contrib/check_wins.pl, contrib/checkciscotemp.pl, contrib/mrtgext.pl,
contrib/nagios_sendim.pl, contrib/packet_utils.pm, contrib/rblcheck-dns,
contrib/rblcheck-web, contrib/restrict.pl, contrib/sched_downtime.pl,
contrib/tarballs/bowen-langley_plugins.tar.gz,
contrib/tarballs/check_bgp-1.0.tar.gz,
contrib/tarballs/check_radius.tar.gz,
contrib/tarballs/check_traffic-0.91b.tar.gz,
contrib/tarballs/fetchlog-0.94.tar.gz, contrib/urlize.pl,
contrib/utils.py: Remove "contrib" plugins
These days, sites such as "Nagios Exchange" are a much better place for
publishing plugins not maintained by the Plugins Development Team.
* command.cfg.in, configure.in: Remove the outdated "command.cfg" file
2013-08-27 Holger Weiss <holger@zedat.fu-berlin.de>
* doc/developer-guidelines.sgml: developer-guidelines.sgml: Update
copyright year
We touched the Development Guidelines this year.
* NEWS: Mention that check_snmp now supports >8 OIDs
Closes #37.
* plugins/common.h: Partially revert "check_snmp: Close potential for
using uninitialized memory"
This reverts the changes to plugins/common.h applied by commit
a20611d4357c3c3ebe0a62776a1642e7904c1410.
- Clang defines __GNUC__.
- The new name of the __attribute__ parameter was misleading.
* plugins/check_snmp.c: check_snmp: Fix --help segfault
2013-08-26 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention new "check_disk -f" option
Closes #22.
2013-08-23 Ton Voon <ton.voon@opsera.com>
* tools/build_perl_modules: Use own variable instead of ENV
* perlmods/Makefile.am, perlmods/install_order,
tools/build_perl_modules: Updated with last working copy of
build_perl_modules used by Opsview
2013-08-23 Sven Nierlein <Sven.Nierlein@consol.de>
* perlmods/install_order, tools/build_perl_modules: perlmods: fixed
install_order
on older systems Module::Build is not available by default, therefore we have
to change the order of installation.
2013-08-22 Holger Weiss <holger@zedat.fu-berlin.de>
* doc/developer-guidelines.sgml: developer-guidelines.sgml: Multiline
output
Document the multiline output format properly.
Thanks to Jochen Bern for providing this patch.
2013-08-21 Holger Weiss <holger@zedat.fu-berlin.de>
* doc/developer-guidelines.sgml: developer-guidelines.sgml: Allow
special value "U"
Allow a literal "U" to be specified in place of an actual value within
the performance data string. An "U" corresponds to RRDtool's "UNKNOWN"
value; i.e., it's meant to indicate that data acquisition failed for
some reason. PNP4Nagios already supports this extension.
2013-08-21 Sven Nierlein <sven@nierlein.de>
* doc/developer-guidelines.sgml: removed duplicate entry
* plugins/t/check_tcp.t: fixed check_tcp test
A check with thresholds 9000,1 must exit with warning if the certificate expires in less
than 9000 but more than one day.
* test.pl.in: no need to set verbose mode, thats what "make test-debug"
is for
* plugins/t/check_snmp.t: check_snmp: added threshold tests
2013-08-21 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_snmp.c: check_snmp: Fix support for inverse thresholds
Commit bd782990566eec91b8312cfc2765a7e2bd9e67da reintroduced support for
inverse threshold ranges such as "2:1", but it broke standard thresholds
such as "1:2" (by converting this range into "1") or "1:" (by converting
this range into "@:2"). This commit fixes those two bugs, plus an
off-by-one error while computing the number of bytes to allocate when
handling inverse thresholds (two additional bytes were allocated where
three were required to hold '@' and ':' and '\0'). While at it, we also
check whether malloc(3) succeeded.
2013-08-21 Ton Voon <ton.voon@opsera.com>
* perlmods/Class-Accessor-0.31.tar.gz,
perlmods/Class-Accessor-0.34.tar.gz, perlmods/Config-Tiny-2.10.tar.gz,
perlmods/Config-Tiny-2.14.tar.gz, perlmods/Math-Calc-Units-1.06.tar.gz,
perlmods/Math-Calc-Units-1.07.tar.gz,
perlmods/Module-Build-0.4007.tar.gz,
perlmods/Module-Implementation-0.07.tar.gz,
perlmods/Module-Metadata-1.000014.tar.gz,
perlmods/Module-Runtime-0.013.tar.gz, perlmods/Perl-OSType-1.003.tar.gz,
perlmods/Test-Simple-0.70.tar.gz, perlmods/Test-Simple-0.98.tar.gz,
perlmods/Try-Tiny-0.18.tar.gz, perlmods/install_order,
perlmods/parent-0.226.tar.gz, perlmods/version-0.9903.tar.gz,
tools/build_perl_modules: Updated perl modules
2013-08-19 Holger Weiss <holger@zedat.fu-berlin.de>
* perlmods/Params-Validate-0.88.tar.gz,
perlmods/Params-Validate-1.08.tar.gz, tools/build_perl_modules: Update
the bundled Params::Validate module
Building the old version fails with recent Perl releases:
| Validate.xs: In function `get_type':
| Validate.xs:208:5: error: duplicate case value
| Validate.xs:205:5: error: previously used here
2013-08-20 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/sslutils.c: Set SSL_MODE_AUTO_RETRY flag
We use OpenSSL (or GnuTLS) with blocking semantics, and we don't want
SSL_read(3) or SSL_write(3) calls to return SSL_ERROR_WANT_READ or
SSL_ERROR_WANT_WRITE (see #3614716).
* contrib/check_http-with-client-certificate.c: Ditch
contrib/check_http-with-client-certificate.c
The standard check_http plugin now supports client certificate
authentication.
* .gitignore: Add new Gnulib files to .gitignore
* configure.in: Check for who(1) only if utmpx(5) isn't available
The who(1) command is only called by check_users if the system doesn't
provide an utmpx(5) interface.
* configure.in, plugins/Makefile.am, plugins/check_users.c: check_users:
Use utmpx(5) only if available
For systems that don't provide an utmpx(5) interface, restore the code
that was replaced in commit 3e622f3a47bc7d31f22513a79892c3c52febd2d3.
2013-08-20 Sven Nierlein <Sven.Nierlein@consol.de>
* lib/utils_base.c, plugins/common.h: added missing header to fix build
on freebsd
* po/Makefile.in.in: changed obsolete automake macro
2013-08-20 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_ide_smart.c: check_ide_smart: "__linux__" instead of
"linux"
C compilers in standards compliance mode will not define "linux", as it
doesn't begin with an underscore.
* NEWS, THANKS.in, configure.in, plugins/check_ide_smart.c:
check_ide_smart: Add support for NetBSD
Thanks to Emmanuel Dreyfus for providing the patch.
2013-08-19 Holger Weiss <holger@zedat.fu-berlin.de>
* gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4: Replace
Gnulib's "getopt" module with "getopt-gnu"
The "getopt" module is marked as deprecated, these days we're supposed
to choose either "getopt-posix" or "getopt-gnu".
* build-aux/config.rpath, build-aux/snippet/_Noreturn.h,
build-aux/snippet/arg-nonnull.h, build-aux/snippet/c++defs.h,
build-aux/snippet/warn-on-use.h, gl/Makefile.am, gl/alignof.h,
gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c,
gl/base64.c, gl/base64.h, gl/basename-lgpl.c, gl/basename.c, gl/btowc.c,
gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c, gl/cloexec.h,
gl/close-hook.c, gl/close-hook.h, gl/config.charset, gl/dirname-lgpl.c,
gl/dirname.c, gl/dirname.h, gl/dosname.h, gl/dup-safer.c, gl/dup2.c,
gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c, gl/exitfail.h,
gl/fcntl--.h, gl/fcntl-safer.h, gl/fcntl.c, gl/fcntl.in.h, gl/fd-hook.c,
gl/fd-hook.h, gl/fd-safer.c, gl/float+.h, gl/float.c, gl/float.in.h,
gl/floor.c, gl/floorf.c, gl/fsusage.c, gl/fsusage.h, gl/full-read.c,
gl/full-read.h, gl/full-write.c, gl/full-write.h, gl/gai_strerror.c,
gl/getaddrinfo.c, gl/getdtablesize.c, gl/gethostname.c, gl/getloadavg.c,
gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h,
gl/gettext.h, gl/glthread/lock.c, gl/glthread/lock.h,
gl/glthread/threadlib.c, gl/inet_ntop.c, gl/intprops.h, gl/itold.c,
gl/langinfo.in.h, gl/localcharset.c, gl/localcharset.h, gl/locale.in.h,
gl/localeconv.c, gl/m4/00gnulib.m4, gl/m4/alloca.m4,
gl/m4/arpa_inet_h.m4, gl/m4/asm-underscore.m4, gl/m4/base64.m4,
gl/m4/btowc.m4, gl/m4/c-strtod.m4, gl/m4/codeset.m4,
gl/m4/configmake.m4, gl/m4/dirname.m4, gl/m4/dos.m4,
gl/m4/double-slash-root.m4, gl/m4/dup2.m4, gl/m4/eealloc.m4,
gl/m4/environ.m4, gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exponentd.m4,
gl/m4/extensions.m4, gl/m4/extern-inline.m4, gl/m4/fcntl-o.m4,
gl/m4/fcntl-safer.m4, gl/m4/fcntl.m4, gl/m4/fcntl_h.m4,
gl/m4/float_h.m4, gl/m4/floorf.m4, gl/m4/fstypename.m4,
gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4, gl/m4/getdtablesize.m4,
gl/m4/gethostname.m4, gl/m4/getloadavg.m4, gl/m4/getopt.m4,
gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4,
gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4,
gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inline.m4,
gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4,
gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4,
gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4, gl/m4/largefile.m4,
gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4,
gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4,
gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4,
gl/m4/localeconv.m4, gl/m4/lock.m4, gl/m4/longlong.m4,
gl/m4/ls-mntd-fs.m4, gl/m4/malloc.m4, gl/m4/malloca.m4, gl/m4/math_h.m4,
gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/mbtowc.m4,
gl/m4/memchr.m4, gl/m4/mktime.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4,
gl/m4/mountlist.m4, gl/m4/msvc-inval.m4, gl/m4/msvc-nothrow.m4,
gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4,
gl/m4/nl_langinfo.m4, gl/m4/nls.m4, gl/m4/nocrash.m4, gl/m4/off_t.m4,
gl/m4/onceonly.m4, gl/m4/open.m4, gl/m4/po.m4, gl/m4/printf-posix.m4,
gl/m4/printf.m4, gl/m4/progtest.m4, gl/m4/read.m4, gl/m4/regex.m4,
gl/m4/safe-read.m4, gl/m4/safe-write.m4, gl/m4/servent.m4,
gl/m4/setenv.m4, gl/m4/sha1.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4,
gl/m4/socketlib.m4, gl/m4/sockets.m4, gl/m4/socklen.m4,
gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdalign.m4,
gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4,
gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4,
gl/m4/string_h.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/strsep.m4,
gl/m4/strstr.m4, gl/m4/sys_socket_h.m4, gl/m4/sys_stat_h.m4,
gl/m4/sys_types_h.m4, gl/m4/sys_uio_h.m4, gl/m4/threadlib.m4,
gl/m4/time_h.m4, gl/m4/time_r.m4, gl/m4/timegm.m4, gl/m4/uintmax_t.m4,
gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4,
gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4,
gl/m4/warn-on-use.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4,
gl/m4/wcrtomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/write.m4,
gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4, gl/malloc.c,
gl/malloca.c, gl/malloca.h, gl/math.c, gl/math.in.h, gl/mbrtowc.c,
gl/mbsinit.c, gl/mbtowc-impl.h, gl/mbtowc.c, gl/memchr.c, gl/mktime.c,
gl/mountlist.c, gl/mountlist.h, gl/msvc-inval.c, gl/msvc-inval.h,
gl/msvc-nothrow.c, gl/msvc-nothrow.h, gl/netdb.in.h, gl/netinet_in.in.h,
gl/nl_langinfo.c, gl/open-safer.c, gl/open.c, gl/pipe-safer.c,
gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c,
gl/printf-parse.h, gl/read.c, gl/ref-add.sin, gl/ref-del.sin,
gl/regcomp.c, gl/regex.c, gl/regex.h, gl/regex_internal.c,
gl/regex_internal.h, gl/regexec.c, gl/safe-read.c, gl/safe-read.h,
gl/safe-write.c, gl/safe-write.h, gl/setenv.c, gl/sha1.c, gl/sha1.h,
gl/size_max.h, gl/snprintf.c, gl/sockets.c, gl/sockets.h, gl/stat.c,
gl/stdalign.in.h, gl/stdbool.in.h, gl/stddef.in.h, gl/stdint.in.h,
gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h, gl/str-two-way.h,
gl/strdup.c, gl/streq.h, gl/strerror-override.c, gl/strerror-override.h,
gl/strerror.c, gl/string.in.h, gl/stripslash.c, gl/strndup.c,
gl/strnlen.c, gl/strsep.c, gl/strstr.c, gl/sys_socket.c,
gl/sys_socket.in.h, gl/sys_stat.in.h, gl/sys_types.in.h,
gl/sys_uio.in.h, gl/time.in.h, gl/time_r.c, gl/timegm.c, gl/unistd--.h,
gl/unistd-safer.h, gl/unistd.c, gl/unistd.in.h, gl/unsetenv.c,
gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c, gl/verify.h,
gl/vsnprintf.c, gl/w32sock.h, gl/wchar.in.h, gl/wcrtomb.c,
gl/wctype-h.c, gl/wctype.in.h, gl/write.c, gl/xalloc-die.c,
gl/xalloc-oversized.h, gl/xalloc.h, gl/xmalloc.c, gl/xsize.c,
gl/xsize.h, gl/xstrndup.c, gl/xstrndup.h: Sync with the latest Gnulib
code (6f2d632)
* configure.in, plugins/common.h: Clean up check for
_SC_NPROCESSORS_ONLN
Closes #62.
2013-08-19 Booker C. Bense <bbense@gmail.com>
* configure.in, plugins/common.h: Bug fix for ncpus if hyperthreading
turned off in linux
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Document the new -E option
Mention the -E/--extended-perfdata flag in the --help output.
* plugins/check_http.c, plugins/netutils.h, plugins/sslutils.c:
Abbreviate function name
Make a very long function name at least a little bit shorter.
* NEWS: Mention the new "check_http -J/-K" options
Closes #48.
* NEWS: Mention the new "check_mysql -f/-g" options
Closes #32.
* plugins/check_mysql.c: check_mysql: Don't accept new positional
arguments
Do not also accept the new -f/--file and -g/--group options as
positional arguments (especially not prior to "db_pass" and "db", as
that would break backward compatibility).
* plugins/check_mysql.c: check_mysql: Use xasprintf instead of asprintf
* plugins/check_mysql.c: check_mysql: Fix copy'n'pasted comments
2013-08-18 Steve Weinreich <steve@weinreich.org>
* plugins/check_fping.c: check_fping error handling enhanced, generates
UNKNOWN on
fping parameter error (i.e. wrong interface, missing perms ..)
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins/check_snmp.c: NEWS: Mention the new "check_snmp
--offset" option
... and apply two small cosmetic changes to check_snmp.c.
Closes #59.
2013-08-05 Simon Kainz <simon@familiekainz.at>
* plugins/check_snmp.c: added --offset option to allow adjustment of
sensor data
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Use xasprintf instead of asprintf
* plugins/check_http.c: check_http: s/--header_string/--header-string/
The name of the new option is "--header-string".
* plugins/check_snmp.c: check_snmp: Allocate space for the new -Le
option
Closes #41.
2013-03-14 Mark Keisler <grimm26@gmail.com>
* plugins/check_snmp.c: Add -Le option to snmpcmd to avoid error message
of 'No Log Handling Enabled...'
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the check_mysql changes
Closes #14.
2012-11-20 Tim Laszlo <tim.laszlo@gmail.com>
* plugins/check_mysql.c: check_mysql: Connections should have been
defined as a counter
* plugins/check_mysql.c: Counter increments were incorrect; remove the
leading space from perfdata
2012-08-06 Tim Laszlo <tim.laszlo@gmail.com>
* plugins/check_mysql.c: check_mysql: add perfromance metrics for all
checks
2012-08-03 Tim Laszlo <tim.laszlo@gmail.com>
* plugins/check_mysql.c: check_mysql: when checking slave thread add
performance data for seconds behind master
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the new "check_http -d" option
Closes #7.
* plugins/tests/check_http.t: Fix the "check_http -d" tests
2012-06-06 linkslice <sparctacus@gmail.com>
* plugins/check_http.c, plugins/tests/check_http.t: added ability to
check regex against http headers. booyah!
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the new check_procs behavior
Closes #60.
2013-08-18 Sebastian Schmidt <sschmidt@interhyp.de>
* plugins/check_procs.c: check_procs: clarify debug message
* plugins/check_procs.c: check_procs: Assume we have stat()
stat() is in gnulib anyway, so we can safely depend on it.
* configure.in, plugins/check_procs.c: check_procs: Get rid of
HAVE_PROC_PID_EXE
Don't check for /proc/pid/exe at compile time, it could be gone in a
build chroot or the like. Checking at runtime (once) is sufficient.
2012-12-09 Sebastian Schmidt <sschmidt@interhyp.de>
* plugins/check_procs.c: check_procs: Ignore ENOENT when checking for
myself
Previously, when a process exited between the call to /bin/ps and
stat("/proc/his/exe") was exiting it was not considered as possible
instance of check_procs. This commit makes check_procs ignore all
processes where /proc/pid/exe does not exist.
2012-11-07 Sebastian Schmidt <sschmidt@interhyp.de>
* plugins/check_procs.c: check_procs: fix typo
Fix a typo in previous commit where st_ was missing in the mock
struct_stat_t, causing check_procs.c to not compile without sys/stat.h.
* configure.in, plugins/check_procs.c: check_procs: filter out self by
/proc/pid/exe
Make check_procs filter out itself in the process list by comparing the
file pointed to by /proc/pid/exe. On platforms where this is not
available or when check_procs is passed the -T flag, the old behaviour
(check whether PID equals getpid()) is retained.
This fixes some false alarms when e.g. Nagios has, for whatever reasons,
some backlog of checks to run and check_procs with -a is called more
than once in a short time, matching its sister process.
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* gl/Makefile.am, gl/fsusage.c, gl/m4/fcntl-o.m4, gl/m4/fsusage.m4,
gl/m4/gnulib-comp.m4, gl/m4/lib-link.m4, gl/m4/malloc.m4,
gl/m4/stdlib_h.m4, gl/stdlib.in.h, gl/str-two-way.h, gl/string.in.h:
Sync with the latest Gnulib code (6f2d632)
* NEWS: Mention check_mysql's SSL support
Closes #51.
* plugins/check_mysql.c: check_mysql: Cosmetic changes to SSL support
Use (slightly) more intuitive option names etc.
2013-05-22 Juan Carlos Fernandez <jcfernandez@cediant.es>
* plugins/check_mysql.c: Added ssl support to check_myslq
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the new check_procs -k option
Closes #53.
2013-05-29 Richard Leitner <me@g0hl1n.net>
* plugins/check_procs.c: Fixed SF.net bug #3552839, check_procs: added
-k option to ignore kernel threads
This commit fixes sourceforge.net bug #3552839.
It adds a -k|--no-kthreads option to ignore kernel thread processes.
Please note: currently this feature only works for GNU/Linux systems (due to the fact I have no other systems to test/develop on)
Sorry for that, but I'm sure this can be accomplished by somebody else ;-)
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* contrib/check_linux_raid.pl: Fix whitespace errors
Use tabs instead of spaces for indentation.
2013-06-11 Erwan Ben Souiden <erwan@aleikoum.net>
* contrib/check_linux_raid.pl: update check_linux_raid to take in
consideration resync status and rise up a warning alert
2013-08-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the new check_fping features
* configure.in, plugins/check_fping.c: check_fping: Use fping6(8) only
if available
Let check_fping use IPv6 only if
- the operating system supports IPv6,
- the user didn't specify --without-ipv6, and
- the "configure" script found the fping6(8) binary.
2013-08-17 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_fping.c: check_fping: Remove unused printf(3) arguments
2012-12-20 Steve Weinreich <steve@weinreich.org>
* plugins/check_fping.c: Added -S und -I parameter to match fping -S and
-I parameters.
-S allows to specify the source ip for ICMP pakets
-I allows to specify a interface to bind to
2013-08-17 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_pgsql.c: check_pgsql: Add missing printf(3) argument
* NEWS: Mention the new check_pgsql features
Closes #16.
* plugins/check_pgsql.c: check_pgsql: Remove -4/-6 flags from help
output
The -4/-6 options are currently not supported.
* plugins/t/check_procs.t: Expect performance data
The check_procs plugin now emits performance data, fix the test(s)
accordingly.
* plugins/t/check_apt.t: Expect performance data
The check_apt plugin now emits performance data, fix the test(s)
accordingly.
2013-01-26 Dominique Broeglin <dominique.broeglin@gmail.com>
* lib/tests/test_utils.c: Adding tests for range @1:1
2013-08-15 Sven Nierlein <sven@nierlein.de>
* NEWS, THANKS.in, plugins/check_http.c, plugins/t/check_http.t: cleanup
after check_http patch (fixes #50)
- cleanup whitespace
- added test cases
- print time_ssl only if ssl is in use
- updated news and thanks file
2013-05-19 Sebastian Nohn <sebastian@nohn.net>
* plugins/check_http.c: log more perfdata in check_http
2013-08-15 Sven Nierlein <sven@nierlein.de>
* NEWS, THANKS.in: updated news and thanks file
* plugins/t/check_http.t: corrected http test
multiple headers have to be set by multiple -k switches. Seperating them
by semicolons is not longer supported as semicolons are valid characters in
http headers.
2013-08-12 Rafael <rafa.driutti@gmail.com>
* plugins-scripts/check_disk_smb.pl: Changed the smbclient command used
to fetch the free space available on the samba shares. Using du instead
of ls, since it's much faster, specially with shares that have a lot of
files.
2013-07-11 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins/check_smtp.c: Fixed SF.net bug 2555775, threshold
can be double for check_smtp
Thanks to Roman Fiedler for reporting the issue and providing a fix
2013-07-08 Jan Wagner <waja@cyconet.org>
* THANKS.in, plugins/check_nt.c: check_nt: Fixes NULL pointer
dereference
Thanks to Vaclav Ovsik for reporting the issue and providing a fix
2013-06-30 Holger Weiss <holger@zedat.fu-berlin.de>
* .gitignore: Add libnpcommon.a file to .gitignore
* plugins/check_ntp_peer.c: check_ntp_peer: Verify type of response
packets
The check_ntp_peer plugin now ignores response packets with an
unexpected "Operation Code" and/or "Sequence" number (cf. RFC 1305,
Appendix B). This fixes an issue where the check_ntp_peer requests got
duplicated on their way to the server (due to some network switch bug),
and the server therefore sent multiple responses per request.
Thanks to Marc Haber for reporting the issue.
2013-06-25 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention that check_apt spits out perfdata
2013-06-25 Jan Wagner <waja@cyconet.org>
* plugins/check_apt.c: Fixed SF.net bug 1614553, Debian bug #708343,
Adding performace data
2013-05-30 Richard Leitner <me@g0hl1n.net>
* plugins/check_apt.c: check_apt now correctly exits when apt-get return
!= 0
This commit fixes an issue with check_apt where check_apt doesn't exit
with the appropriate return code when apt-get returned a non-zero value.
2013-05-29 Richard Leitner <me@g0hl1n.net>
* plugins/check_http.c: Fixed SF.net bug #3571331, check_http converts
semicolon to newline in -k
This commit fixes sourceforge.net bug id 3571331.
The semicolon was defined as input delimiter for multiple values in the -k arguments.
Due to the fact the semicolon is a valid character for HTTP header fields this input delimiter function was removed.
It is still possible to pass multiple header fields via multiple -k (like described in helptext).
2013-05-19 Gabriele Tozzi <gabriele@tozzi.eu>
* plugins-scripts/check_sensors.sh: Made verbose output of check_sensors
compilant
2013-05-17 Lionel Cons <lionel.cons@cern.ch>
* plugins/check_http.c, plugins/netutils.h, plugins/sslutils.c: added
support for client authentication via SSL
2013-05-12 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, THANKS.in: NEWS, THANKS: Mention the latest changes
2012-08-17 Diego Elio Pettenò <flameeyes@flameeyes.eu>
* configure.in: configure: add --without-ldap, --without-radius and
--without-dbi options.
When building for distributions such as Gentoo Linux, or FreeBSD
ports, it's convenient to be able to disable building certain
functionalities even if the dependencies are present, to avoid what
are called "automagic dependendencies".
Adding these parameters solve the issue.
* plugins/Makefile.am: build: fix building with parallel make.
By using a more automake-style handling of dependencies and a single
convenience library, it's tremendously easy to build in parallel.
Note that since the linking happens with the static archives, the
unused objects are discarded and provide no overhead whatsoever.
* plugins/check_dig.c, plugins/check_dns.c, plugins/runcmd.c,
plugins/runcmd.h: plugins: rename runcmd's signal handler.
The previous name would collide with popen's. Even if the two are
never used together, it's still a good idea not to have the same
symbol in multiple object files.
2013-03-25 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, THANKS.in: NEWS, THANKS: Mention Richard Leitner's changes
2013-03-22 Richard Leitner <me@g0hl1n.net>
* plugins/check_disk.c: Fixed SF.net bug 3560976, added
--include-type/-N option
2013-03-17 Richard Leitner <me@g0hl1n.net>
* plugins/check_nagios.c: Fixed SF.net bug 3602586, added timeout option
for check_nagios
* plugins/check_apt.c: Fixed SF.net bug 3539317, typo in --help of
check_apt
2013-03-25 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, THANKS.in: NEWS, THANKS: Mention check_oracle --connect flag
2013-01-15 Brian De Wolf <git@bldewolf.com>
* plugins-scripts/check_oracle.sh: Add option to perform real login in
check_oracle
The Oracle plugin has no option for testing for a successful login. The
closest option to this is --login, which uses a fixed set of credentials and
expects to receive the logon failure error code.
This patch adds an option called --connect. This option takes a full SID and
returns success if it doesn't detect any error codes. With this, we can check
that a database is allowing logins from valid credentials (and avoid filling up
DB logs with failed authentications).
2013-02-27 Joerg Linge <joerg.linge@pnp4nagios.org>
* plugins/check_procs.c: Update plugins/check_procs.c
added missing longopt --user
2013-02-27 Fabio Rueda <fabio@vizzuality.com>
* contrib/check_nmap.py: working on ubuntu precise12.04
* contrib/check_nmap.py: ported use whrandom to random
2013-02-10 Sven Nierlein <sven@nierlein.de>
* plugins/check_tcp.c, plugins/t/check_tcp.t: check_tcp: don't ignore
trailing options
"./check_tcp -6 -p 80 host" leads to an error:
TCP CRITICAL - Invalid hostname, address or socket: 127.0.0.1
because 127.0.0.1 is the fallback host, the tailing hostname
was ignored.
2013-01-29 Robin Sonefors <robin.sonefors@op5.com>
* plugins/check_snmp.c, plugins/common.h: check_snmp: Close potential
for using uninitialized memory
This was reported by clang, and in order for it to understand attributes
properly, I had to modify the macro that checks for non-gcc compilers.
* plugins/check_snmp.c: check_snmp: Dynamically grow all data structures
Before this patch, there was a constant, MAX_OIDS, that determined the
amount of slots most (but not all - see labels) array data structures
would have. It was set to 8.
Some users would like to use more than that, but rather than bumping the
constant, let's use the same type of logic we already use for labels -
grow the space 8 slots at a time. This will allow us to potentially
support an infinite amount of oids - or at least as many as the
packetsize on the SNMP server allows, which is usually significantly
smaller than infinity, yet often larger than 8.
2013-01-24 Daniël van Eeden <git@myname.nl>
* REQUIREMENTS, plugins/check_mysql.c: Apply my patch from:
http://sourceforge.net/tracker/index.php?func=detail&aid=3269273&group_id=29880&atid=397597
2013-01-23 Sven Nierlein <sven@nierlein.de>
* NEWS, THANKS.in: added latest commits to NEWS file
* plugins/t/check_dig.t: updated check dig tests
nagios.com seems to have changed their ip address. Also added tests
about -4/-6 option.
2012-12-28 Ville Mattila <vmattila@csc.fi>
* plugins/check_dig.c: check_dig: query transport selection support
Add command line options -4 and -6 (--use-ipv4 and
--use-ipv6) to check_dig.
Effectively this adds no new functionality, just a
shortcut for:
check_dig -A "-4"
check_dig -A "-6"
Needed for using check_dig with the check_v46 wrapper
(see e.g.
https://gitorious.org/nagios-monitoring-tools/nagios-monitoring-tools/blobs/master/check_v46)
which requires -4/-6 command line option support.
2013-01-23 Sven Nierlein <sven@nierlein.de>
* ChangeLog, THANKS.in: updated changelog and thanks file for previous
patch
2013-01-23 Robin Sonefors <robin.sonefors@op5.com>
* plugins/check_snmp.c: check_snmp: Don't thrash memory when using
multiple label/unit argument
The memory allocation mixed up number of bytes with number of pointers,
meaning as soon as we'd reach (on 64 bit systems) the second argument,
we'd start writing it outside of our allocated memory.
Normally, this isn't too visible, but as soon as you (again, on my 64
bit system) reach argument number 8, you get a segfault. It is easily
reproducible with:
check_snmp -o '' -l '' -o '' -l '' -o '' -l '' -o '' -l '' \
-o '' -l '' -o '' -l '' -o '' -l '' -o '' -l ''
This patch allocates the proper amount of memory, to fix the issue.
2012-12-28 Jonathan Milby <jon@uky.edu>
* plugins/check_mysql.c: Updated check_mysql.c to take client options
file and group parameters
2012-12-28 Ville Mattila <vmattila@csc.fi>
* configure.in, plugins/check_fping.c: check_fping: IPv6 support
Add command line options -4 and -6 (--use-ipv4 and
--use-ipv6) to check_fping. IPv4 is used by default,
maintaining backwards compatibility with older
check_fping versions. IPv6 support requires the
fping6 program.
The implementation is really just an imitation of
check_ping IPv6 support: Plugin command line option
-4/-6 designates whether to run fping/fping6.
Please note that especially the changes to
configure.in might be all wrong - I don't know
what's the proper autoconf way, patching
configure.in just seemed to work for me.
2012-12-03 palli <palli-github@minor.is>
* doc/developer-guidelines.sgml: Table 4 example 5 updated
Description did not specify that it condition is critical if "stuff"
is less than zero.
* doc/developer-guidelines.sgml: Description for table4 example7
My original patch was based on the online version which was apparently out of date.
In the meantime someone changed the description of example7 instead of the example. I think this is better because
otherwise example 6 and 7 are basically the same.
2012-10-24 Pall Sigurdsson <palli@opensource.is>
* doc/developer-guidelines.sgml: Bugfix, fixed a broken command-line
example
The last example in the table contradicted the previous example. Surely
it's purpose was to showcase the @ behaviour to invert threshold, but the
@ sign was missing.
I also clarified the description to the second last example so it is in same
style as the others.
2012-11-28 Sven Nierlein <sven@nierlein.de>
* plugins/check_ntp.c, plugins/check_ntp_time.c: check_ntp(_time): don't
die on connect errors
connect errors may happen if clients check agains dual
stacked ipv4/6 ntp servers.
* plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c, plugins/check_pgsql.c, plugins/check_ssh.c:
unified ipv4/6 usage and help text
2012-11-14 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the check_procs performance data
* plugins/check_procs.c: check_procs: Remove superfluous newline
character
2011-04-08 Sebastian Harl <sh@teamix.net>
* plugins/check_procs.c: check_procs: Added performance data to plugin
output.
* plugins/check_procs.c: check_procs: Use the range/threshold support
functions from libnagiosplug.
This adds support for @<range> and makes stuff a bit simpler by removing code
duplications.
Note: Previously, the compatibility code for 'check_procs <warn> <max>'
accepted something like 'check_procs -w 10:-1 -c 10:-1 20 50' as well
(treating it as if '-w 10:20 -c 10:50' was specified). This is no longer the
case ... additional arguments are only used as warn/crit thresholds in case
-w/-c is not specified at all.
2012-11-07 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, doc/makefile, tools/sfwebcron: Fix sfwebcron probe file
The initial file was created in the user's home and later tested in the
doc directory. Instead, just rsync if the file is missing.
Also add some temporary files to gitignore/make clean
2012-11-04 dermoth <dermoth@nagiosplugins.org>
* NEWS: Update NEWS for bd78299 - check_snmp reverse ranges fix
2012-11-03 dermoth <dermoth@nagiosplugins.org>
* tools/sfwebcron, tools/snapshot: Update tools
- fix sfwebcron (tool updating sf developer guidelines)
- remove obsolete snapshot script
* tools/np_build_from_sf, tools/update_man_pages: Add scripts that
update man pages in drupal
2012-11-02 Andreas Ericsson <ae@op5.se>
* plugins/check_snmp.c: plugins/check_snmp: Show snmp error when we fail
to parse its output
Dying without a hint of what went wrong is just plain annoying. With
this patch we at least get a hint.
While at it, we fix the string offset so the output we're interested
in doesn't keep the equal sign that snmpget prints.
* lib/utils_base.c: Stop dumping core on bad args to check_snmp
Since the state patch introduction, we've been freeing uninitialized
memory in lib/utils_base.c::np_cleanup(), which caused coredumps
with check_snmp when illegal threshold ranges (for example) were
passed, or when we called 'die' without having read any state.
This patch fixes it by replacing the malloc() calls in there (all of
them, since using malloc() is almost always an error) with calloc().
malloc() either doesn't initialize the memory at all, or taints it
with a special marker so it can tell us when we're free()'ing memory
that hasn't been initialized. calloc() explicitly initializes the
allocated memory to nul bytes, which is a zero-cost operation when
we get the memory from the kernel (which alread does that) and almost
always desirable everywhere else.
* plugins/check_snmp.c: Make check_snmp backwards compatible in how it
parses thresholds
Once upon a time, check_snmp used to accept inverse ranges in the
format of '2:1' to mean "alert if value is inside this range".
Since commit 7cb3ae09334796f3b54e4e6438e38c2cc679b360, ranges such
as those have instead triggered the error "Range format incorrect"
and resulted in an UNKNOWN warning state. This patch attempts to
fix the situation so that the old-style ranges continues to mean
exactly what the once did and people with lots of snmp checks can
avoid a bazillion false positives from their environments.
2012-10-12 chl <dev+github@bugness.org>
* plugins/check_disk.c: check_disk: option to ignore reserved space
This commit add a runtime option to ignore the root-reserved space
when calculating perfdata.
Before / after:
./check_disk -w 2% -c 1% /home
./check_disk -w 2% -c 1% -f /home
DISK CRITICAL - free space: /home 272 MB (1% inode=83%);| /home=17551MB;18401;18589;0;18777
DISK CRITICAL - free space: /home 272 MB (1% inode=83%);| /home=17551MB;17466;17644;0;17823
Well, it doesn't really give me more space :) but the perfdata are a
little bit more coherent.
Note that there are still a rounding issue on the percent calculation
(cf calculate_percent() comments, taken from coreutils 'df' command).
272/17823 -> 1.526%
Since the warning/critical/min/max data are usually not saved in RRD DB,
you can activate the option without seeing landslides in the graphs.
2012-10-09 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the OPENSSL_config(3) support
2012-10-05 Marc Huffnagle <marc@huffnagle.net>
* plugins-scripts/utils.sh.in: Added additional documentation to the
check_range function
2012-10-09 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/common.h: Allow for configuring OpenSSL
Let OpenSSL load its configuration file. See the OPENSSL_config(3) man
page for details.
(Suggested by Max Kosmach in Debian bug report #689960, forwarded by Jan
Wagner.)
2012-10-03 Alex Bradley <a.bradley@alumni.cs.ubc.ca>
* plugins/check_apt.c, plugins/t/check_apt.t,
plugins/t/check_apt_input/debian1, plugins/t/check_apt_input/debian2,
plugins/t/check_apt_input/debian3, plugins/t/check_apt_input/ubuntu1,
plugins/t/check_apt_input/ubuntu2: Tests for check_apt
Add a hidden "--input-file" option to check_apt (modelled on
check_procs) so that it can take files with sample apt output as input.
Add tests for my SECURITY_RE fix (debian3) and for the include, exclude
and critical options.
* plugins/check_apt.c: Fix SourceForge bug 1904965 - check_apt:
SECURITY_RE is not correct
For the default security upgrade detection regular expression, match
"Debian-Security" in package description when it's anywhere after the
first parenthesis (not just the second space-delimited word). For
example:
... (4.0.1-5.4 Debian:6.0.6/stable, Debian-Security:6.0/stable ...
2012-10-02 Alex Bradley <a.bradley@alumni.cs.ubc.ca>
* plugins/check_apt.c: Don't prepend "^Inst" or append a space to the
"include", "exclude", or
"critical" regular expressions. Instead, check for lines beginning
with "Inst" using strncmp and apply the regular expressions only when
such lines are found.
Fixes Debian bug #522812, along the lines suggested by the bug
submitter, Justin T Pryzby.
2012-09-25 Gianluca Varisco <gianluca.varisco@gmail.com>
* plugins/check_disk.c: Update plugins/check_disk.c
CRITCAL -> CRITICAL typo
2012-09-21 Alex Bradley <a.bradley@alumni.cs.ubc.ca>
* contrib/check_linux_raid.pl: This patch fixes the regular expression
for the array recovery
completion percentage to detect the percentage when there is more than
one space between between "recovery =" and the percentage. (When
the percentage is less than 10%, /proc/mdstat shows it left-padded
with an extra space: "recovery = 7.6%".)
2012-08-10 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Update description of -C option
Mention that the -C option now accepts two comma-separated values.
* plugins/check_http.c: check_http: Add missing newline to --help output
2012-07-26 William Leibzon <william@leibzon.org>
* plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c:
fixing bug in certificate experiation patch checking for bad warning
threshold data
2012-08-10 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/tests/check_http.t: tests/check_http.t: Fix whitespace issues
In tests/check_http.t, tabs are used for indentation.
While at it, apply another few cosmetic changes.
* plugins/tests/check_http.t: tests/check_http.t: Update the number of
SSL tests
* plugins/tests/check_http.t: tests/check_http.t: Fix test case
Fix the test case which is meant to make sure that
check_http -C <n>,<m> [...]
returns a CRITICAL state if <m> is large enough.
2012-08-06 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention fixed compilation without SSL
* plugins/check_ntp_peer.c: check_ntp_peer: Fix --help output for -m and
-n
Fix the threshold specifications in the example for checking the number
of truechimers.
Reported by Marc Haber on the "nagios-users" mailing list (Message-ID:
<20120722142840.GA6931@torres.zugschlus.de>).
* plugins/check_ntp_peer.c: check_ntp_peer: Fix --help output for -W and
-C
Mention that the check_ntp_peer plugin checks the stratum of the
synchronization peer, not the stratum of the monitored server itself.
Thanks to Marc Haber for bringing this up on the "nagios-users" mailing
list (Message-ID: <20120722142840.GA6931@torres.zugschlus.de>).
2012-07-18 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Fix whitespace issues
In check_http.c, tabs aren't used for indentation.
* plugins/check_http.c: check_http: Fix compilation without SSL support
The "ssl_version" variable was undeclared when the plugins were compiled
--without-openssl and --without-gnutls.
Bug reported by Michael LaCorte on the "nagiosplug-help" mailing list
(Message-ID: <CCD30C91-A2A8-463A-82A9-F99B54F741D3@gmail.com>).
2011-04-08 Sebastian Harl <sh@teamix.net>
* plugins/check_pgsql.c: check_pgsql: Determine connection time in
µs-resolution.
… thus, treat "elapsed time" and the thresholds as floating point values.
* plugins/check_pgsql.c: check_pgsql: Leave 'min' value in query
perfdata empty.
There is no reasonable default value for that.
2011-04-07 Sebastian Harl <sh@teamix.net>
* plugins/check_pgsql.c: check_pgsql: Updated copyright.
* plugins/check_pgsql.c: check_pgsql: Added support for the -o command
line option.
This option may be used to specify further connection parameters to be passed
to PQconnectdb(). For example, this may be used to specify a service name in
pg_service.conf to be used for additional connection parameters: -o
'service=<name>' or to specify the SSL mode: -o 'sslmode=require'.
See the chapter "libpq - C Library" in the PostgreSQL manual for details.
* plugins/check_pgsql.c: check_pgsql: Removed -4/-6 flags from help
output.
These options are not currently supported.
* plugins/check_pgsql.c: check_pgsql: Allow UNIX socket directories as
hostname as well.
PostgreSQL accepts the directory name of its UNIX socket as hostname as well,
e.g. /var/run/postgresql/.
* plugins/check_pgsql.c: check_pgsql: Use PQconnectdb() rather than
PQsetdbLogin().
This is more flexible and the recommended way to connect to a PostgreSQL
database.
Also, the verbose output now includes detailed information about the
connection.
2011-04-06 Sebastian Harl <sh@teamix.net>
* plugins/check_pgsql.c: check_pgsql: Fixed query perfdata output for
empty warn/crit ranges.
Previously, "(null)" was printed (when using GNU's libc). This has been
changed to print the empty string instead.
* plugins/check_pgsql.c: check_pgsql: Added support for executing
queries.
The query result (the double value of the first column in the first row, to be
precise) will be checked against threshold ranges specified using the -C and
-W options.
Note that this also allows to query PostgreSQL internal values using the
information available from the database daemon's "statistics collector" -- see
the chapter "Monitoring Database Activity" in the PostgreSQL manual for
details.
2012-07-04 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention the new check_dbi plugin
2012-07-04 Eric Stanley <estanley@nagios.com>
* plugins/check_smtp.c: Re-added missing variable declarations to
check_smtp.c
A recent update removed the declarations for a couple variables in
check_smtp.c that are still being used, which caused a failure
in the compilation of check_smtp.c. This commit restores those variable
declarations so the check_smtp.c will again compile.
2012-06-29 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_smtp.c: check_smtp: Remove a comment regarding MAIL FROM
Earlier versions of check_smtp generated an (invalid) "MAIL FROM"
command without arguments by default. These days, a "MAIL FROM" command
is only sent if the --from option is specified.
This commit removes a comment which explains the old behaviour, and it
updates a variable name accordingly.
* plugins/check_smtp.c: check_smtp: Fix help and usage output regarding
-R
* NEWS, THANKS.in: NEWS, THANKS: Mention Anders Kaseorg's changes
2012-06-29 Anders Kaseorg <andersk@mit.edu>
* plugins/check_smtp.c: check_smtp: Fix strcat overflows
* contrib/check_http-with-client-certificate.c, plugins/check_by_ssh.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c, plugins/utils.c, plugins/utils.h:
Die when asprintf fails
Fixes many instances of
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
* plugins/check_smtp.c: check_smtp: Strip angle brackets from -f
argument, if provided
Apparently some people used -f '<nagios@example.com>' to work around
the bug I just fixed in the MAIL FROM: command generation. Although
the resulting command wasn't RFC-compliant, it was working with some
MTAs, so let's continue to support this syntax now that we generate
RFC-compliant commands.
2012-06-28 Anders Kaseorg <andersk@mit.edu>
* plugins/check_smtp.c: check_smtp: Change MAIL FROM: command to comply
with the SMTP standard
Every version of the SMTP standard (from RFC 821 to the current RFC
5321) requires the address following MAIL FROM: to follow the colon
immediately (with no space) and to be surrounded by angle brackets.
2012-06-28 Holger Weiss <holger@zedat.fu-berlin.de>
* package.def: Remove the package.def file
The package.def file is not included in release tarballs, and I'm not
aware of anyone (still) using it.
2012-06-27 Holger Weiss <holger@zedat.fu-berlin.de>
* BUGS: Remove #990948 from the BUGS file
Issue #990948 has been fixed by commit
0892c4ac28c4c2e3b6275187f845813b4cd6d320.
* BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def:
Prepare for the 1.4.16 release
* plugins/check_tcp.c: check_tcp: Print performance data even with -D
When using the 1.4.15 release of the Nagios Plugins, a command such as
check_tcp -H pop.example.com -p 995 -D 14
usually produced two lines of output, e.g.:
OK - Certificate will expire on 12/13/2014 23:59.
TCP OK - 0.009 second response time on port 995|time=0.008849s;;;0.000000;10.000000
The second line was removed by 4d06603060fc1233861b164870f0d3a2e0d8d2eb.
However, as the old two-line output is a valid (though in this case
unintended) way to spit out performance data, removing the second line
might break current setups. Therefore, we revert to the old behaviour,
at least for the moment.
The issue was reported by Jochen Bern on the "nagiosplug-devel" mailing
list (Message-ID: <4FEAE812.8030309@LINworks.de>).
* BUGS: Update the BUGS file
Remove the bug reports that were closed, and add two new items.
2012-06-27 Sven Nierlein <sven@nierlein.de>
* plugins/check_snmp.c, plugins/tests/check_snmp.t: check_snmp: use
single quotes for perf data labels
2012-06-26 Sven Nierlein <sven@nierlein.de>
* NEWS, THANKS.in, plugins/check_snmp.c, plugins/tests/check_snmp.t: Fix
performance data label containing spaces in check_snmp (Jochen Bern)
Add --perf-oids option for check_snmp to retain optional 1.4.14 compatibility
2012-06-26 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in: Remove team members from the THANKS file
The (current and past) team members are listed in the AUTHORS file.
* AUTHORS, THANKS.in: Add Sven Nierlein to the list of AUTHORS
2012-06-25 William Leibzon <william@leibzon.org>
* plugins/tests/check_http.t: added test case for certificate checs with
both warning and critical values
2012-06-25 Sven Nierlein <sven@nierlein.de>
* plugins/sslutils.c, plugins/t/check_http.t, plugins/t/check_tcp.t:
check_http: added test for warning thresholds
fixed typo in sslutils
* NEWS, THANKS.in: updated changelog
2012-05-21 William Leibzon <william@leibzon.org>
* plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c,
plugins/netutils.h, plugins/sslutils.c: applied patch that adds both
critical and warning thresholds to certificate expiration checks of
check_tcp, check_http, check_smtp
2012-06-25 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_ping.c: check_ping: Add missing newline to die() calls
Our die() function expects the caller to append the trailing newline
character.
* NEWS: Improve the wording a bit
2012-06-24 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in, plugins/check_ping.c: check_ping: Ignore ping(1)'s exit
status
Don't return a WARNING state if the number of lost packets is greater
than zero but below the specified warning threshold. This happened
because the check_ping plugin used the exit status of the ping(1)
utility. (#3535140 - Tobias Brox)
2012-06-23 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: check_disk_smb:
Add performance data
(Debian #654259 - Charles-Henri Larose)
2012-06-22 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/t/check_by_ssh.t: Fix check_by_ssh test for non-Bash login
shells
In the C shell and in the Z shell, the "?" character must be quoted or
backslash-escaped in order to use it verbatim. Therefore, a command
such as
check_by_ssh -H test.example.com -l joe echo huh?
might fail, depending on joe's login shell on test.example.com.
Just to make sure, this commit removes most punctuation characters from
our test strings.
2012-06-14 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in, plugins-root/check_dhcp.c: check_dhcp: Don't misinterpret
the "siaddr" field
RFC 2131 (2.) says: "DHCP clarifies the interpretation of the 'siaddr'
field as the address of the server to use in the next step of the
client's bootstrap process." So, we shouldn't interpret this field as
the DHCP server's own address. (#3503921 - Jason Ellison)
2012-06-13 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins-root/check_dhcp.c: check_dhcp: Fix handling of "pad"
options
Don't let "pad" options[*] terminate the parsing of DHCP options. This
bug was triggered by using check_dhcp against Windows 2003 DHCP servers
(see #3503921).
[*] Cf. RFC 2132, 3.1.
2012-06-11 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, THANKS.in, plugins/check_ping.c: Improve parsing of ping6(1)
output
The ping6(1) implementation provided by Debian's iputils-ping package
may produce output such as the following:
| 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2009ms
There's a corresponding pattern in check_ping.c:458:
| "%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss"
Without this fix, the pattern in check_ping.c:456 matched first (as
sscanf(3) interprets "+3" as a match for "%d"):
| "%*d packets transmitted, %*d received, %d%% loss, time"
(#1894850 - Debian bug report #514588 - Matej Vela)
* plugins/sslutils.c: Fix whitespace and capitalization issues
Fix indentation and whitespace issues, and correct some capitalization
errors in error messages. The behaviour is unchanged.
* plugins/sslutils.c: Don't use SSLv2 when compiling against GnuTLS
GnuTLS doesn't support SSL version 2.
2012-06-08 Sebastian Harl <sh@tokkee.org>
* plugins/t/check_dbi.t: t/check_dbi.t: Don't use 'INSERT … VALUES
(a,b), (c,d)' with SQLite3.
Older versions of SQLite3 don't seem to support that.
2012-06-08 Sebastian Harl <sh@teamix.net>
* plugins/t/check_dbi.t: Added a few test cases for the check_dbi
plugin.
All tests use sqlite3. A temporary database is created for the purpose of the
tests.
2012-06-07 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_users.c: check_users: Whitespace fixes, etc.
* NEWS, THANKS.in: Update NEWS and THANKS w.r.t. check_users change
2012-04-17 M. Remy <mremy@gmx.ch>
* plugins/Makefile.am, plugins/check_users.c: check_users: improve
performance
This patch use the utxent function family to collect the user data. It improve the check speed.
Need a system conforming to POSIX.1-2001.
2012-06-06 Sebastian Harl <sh@teamix.net>
* plugins/check_dbi.c: check_dbi: Hint the user about cause when dbi
init fails.
2011-04-18 Sebastian Harl <sh@teamix.net>
* plugins/check_dbi.c: check_dbi: Added simple regex example to help
output.
* plugins/check_dbi.c: check_dbi: Added SERVER_VERSION metric.
This metric compares the database engine server version with the specified
ranges. The version string [[[[A.]B.]C.]D.]E[.] is returned as E + D*100 +
C*10000 + B*1000000 + A*100000000 (see libdbi's dbi_conn_get_engine_version()
documentation).
* plugins/check_dbi.c: check_dbi: Added -r and -R options.
These options may be used to specify an extended POSIX regular expression that
is applied to the query result. When using -R, a case-insensitive match is
done.
The options may not be mixed with -w/-c/-e.
2011-04-15 Sebastian Harl <sh@teamix.net>
* plugins/check_dbi.c: check_dbi: Added -e option.
This option may be used to specify a string that is expected as the query
return value. The string is compared to the query result using strcmp().
The option may not be mixed with -w/-c.
* plugins/check_dbi.c: check_dbi: Added some examples to the help
output.
* plugins/check_dbi.c: check_dbi: Added QUERY_TIME metric.
This metric checks the execution time of the specified query. In case the
query does not return any (parsable) data, this is not treated as an error
when using this metric.
* plugins/check_dbi.c: check_dbi: Replaced -W/-C with -m.
The -m option may be used to specify a metric to check the thresholds against.
This is more flexible than --conntime-warning/--conntime-critical (-W/-C) as
it may be extended to support further metrics without introducing tons of
arguments. Also, it does not make much sense to check the conntime and query
result at the same time.
Currently, the metrics CONN_TIME and QUERY_RESULT are available.
A query is no longer required unless QUERY_RESULT (the default) is used.
2011-04-08 Sebastian Harl <sh@teamix.net>
* plugins/check_dbi.c: check_dbi: Fixed/improved perfdata output.
- do not use zero as 'min' value for the query result perfdata
- added all semicolons
2011-04-07 Sebastian Harl <sh@teamix.net>
* plugins/check_dbi.c: check_dbi: Check and report the time used by the
query.
* plugins/check_dbi.c: check_dbi: Added threshold ranges for the
connection time.
The -W and -C options are used for that. The plugin return value is determined
by the worst check result.
* plugins/check_dbi.c: check_dbi: Include extra opts in help output.
* .gitignore, REQUIREMENTS, configure.in, plugins/Makefile.am,
plugins/check_dbi.c: Initial version of the 'check_dbi' plugin.
This plugin connects to an SQL database using libdbi, thus supporting all
database backends supported by libdbi. It will then issue the specified SQL
query and check the result (the numeric value of the first column of the first
row to be precise) against the specified warning/critical ranges.
The performance data includes the connection time (µs-resolution as provided
by gettimeofday()) and the query result.
2012-06-06 Sebastian Harl <sh@teamix.net>
* plugins/sslutils.c: sslutils: Check if OpenSSL supports SSLv2.
Recent versions/builds seem to disable that feature.
2012-05-29 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, THANKS.in, plugins-scripts/utils.sh.in: Mention the check_range
function in NEWS, etc.
2012-04-18 Alex Griffin <griffin.aj@gmail.com>
* plugins-scripts/utils.sh.in: Added check_range shell function to
utils.sh.in
2012-05-29 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Fix -C/--certificate option handling
The support for specifying the desired SSL protocol version via an
optional -S/--ssl argument broke the -C/--certificate option. This is
fixed now.
2012-05-28 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: check_http: Don't ignore SSL initialization
errors
SSL initialization errors are now handled properly by check_http
(#3095106 - Eric Schoeller).
* NEWS, THANKS.in, plugins/check_http.c, plugins/sslutils.c: Add support
for specifying SSL protocol version
The check_http -S/--ssl option now takes an optional argument which
specifies the desired SSL/TLS protocol version (#3285367 - Jason Lunn).
2012-05-07 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins/sslutils.c: Disable stateless SSL session resumption
Some versions of OpenSSL fail to negotiate the SSL connection with at
least some versions of Tomcat if stateless SSL session resumption
support (see RFC4507) is enabled:
| CRITICAL - Cannot make SSL connection
| 140099330348712:error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message:s3_pkt.c:1195:SSL alert number 10
The problem is reproducible with OpenSSL 1.0.0h, but not with OpenSSL
0.9.8o-4squeeze12 (as shipped with Debian 6.0.4). We work around it by
disabling the RFC4507 functionality when using OpenSSL versions which
support it.
Thanks to Dag Bakke for reporting the issue and for giving me access to
a server I could use to reproduce the problem.
2012-04-17 Holger Weiss <holger@zedat.fu-berlin.de>
* .gitignore: Add nagios-plugins.spec file to .gitignore
The nagios-plugins.spec file is created from nagios-plugins.spec.in and
should be ignored by Git.
2012-04-17 Jan Wagner <waja@cyconet.org>
* NEWS, plugins/check_ping.c: Fix check_ping where output of ping6 when
unreachable (Debian #662638)
2012-04-09 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS: Mention check_by_ssh -F option in NEWS file
2012-04-09 Sven Nierlein <sven@nierlein.de>
* plugins/check_by_ssh.c, plugins/t/check_by_ssh.t: check_by_ssh: added
-F config file to specify alternative ssh config
2012-04-06 Eric Stanley <estanley@nagios.com>
* Makefile.am, configure.in, nagios-plugins.spec.in,
po/nagios-plugins.pot: Updated to support compiling and building RPM on
AIX.
2012-02-24 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_http.c: Clarify that check_http won't verify
certificates
Add a note to the --help output which clarifies that check_http doesn't
perform certificate verification (beyond what the "-C" option does).
(Suggested by Michael Renner in Debian bug report #644627, forwarded by
Jan Wagner.)
* plugins/check_snmp.c: Cosmetic change
Replace all occurrences of "strstr(s, "c") == s" with "s[0] == 'c'".
* plugins/check_snmp.c: Accept multiple labels specified with "-l"
Fix the code which accepts a comma-separated list of labels specified
via the "-l" option.
(Spotted by Oskar Liljeblad in Debian bug report #647020, forwarded by
Jan Wagner.)
2012-02-10 Eric Stanley <estanley@nagios.com>
* configure.in, plugins/common.h: Enable compiling on AIX 6.1
2012-01-20 Eric Stanley <estanley@nagios.com>
* Makefile.am, pkg/solaris/solpkg: Added pst3 to Solaris package.
2011-12-25 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, perlmods/Nagios-Plugin-0.34.tar.gz,
perlmods/Nagios-Plugin-0.36.tar.gz: Updated Nagios::Plugin library
2011-12-16 Eric Stanley <estanley@nagios.com>
* Makefile.am, pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Commit files
which were inadvertently omitted from the previous commit.
* pkg/solaris/preinstall: Updated Solaris package creation to newer
standards
The Solaris package creation has been updated to newer standards to match those
of the NRPE package. The following changes have been made:
- the plugins now install under /opt/nagios
- the name of package is now NGOSplugin
- the files installed are now owned by the nagios user
- the package includes a pre-installation script that creates a nagios user
and a nagios group if one did not previously exist
* m4/np_mysqlclient.m4: Fixed issue for compiling mysql plugin on
Solaris
On Solaris, in the case where the mysql libraries were compiled using a
non-gcc compiler, but the plugins are being compiled with gcc, the configure
process would incorrectly determine the MYSQLCFLAGS. This has been corrected
in the m4/np_mysqlclient.m4 file.
2011-09-07 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins-scripts/check_sensors.sh: check_sensors: Use symbolic exit
codes
Specify the exit codes by using the constants from utils.sh.
* plugins-scripts/check_sensors.sh: check_sensors: Minor whitespace
fixes
* NEWS, plugins-scripts/check_sensors.sh: check_sensors: Detect FAULT
status
Return an UNKNOWN status if a faulty sensor is detected. This can be
suppressed with the new "--ignore-fault" option.
(Fixes Debian bug #615133, patch suggested by Jan Wagner.)
2011-09-06 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_radius.c: Make GCC happy
It won't trust us about msg containing no format string, and fail miserably
when compiled with -Werror=format-security. Reported by spy6 on IRC.
2011-08-13 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_ldap.c: Fix: check_ldap now correctly handles the long
option --hostname for -H
The undocumented --host has been changed to --hostname which is actually
mentioned in --help. Thanks to lgarrett (#3191388)
2011-07-15 Ton Voon <ton.voon@opsera.com>
* NEWS, plugins/check_smtp.c, plugins/check_tcp.c: Fix check_smtp and
check_tcp where duplicate messages were displayed for certificate errors
(Opsview team)
* NEWS, plugins/check_smtp.c: New option to check_smtp to ignore
failures when sending QUIT (#3358348 - Duncan Ferguson)
2011-04-28 Sebastian Harl <sh@teamix.net>
* NEWS, THANKS.in, plugins-root/check_icmp.c: check_host: Allocate a
large-enough buffer for the host table.
When specifying a host-name on the command line, each of its IPs is added to
the host table (and each one is pinged). So, the buffer has to be large enough
to hold all of the respective host objects. (argc - 1) only fits hosts with a
single IP.
Thanks to Max Kosmach <max@tcen.ru> for reporting this in Debian bug #623702.
2011-03-26 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/check_ssh.c: Add perfdata to check_ssh
(#3244097 - Marco Beck)
2011-02-08 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_smtp.c: check_smtp: Abort on missing/unexpected greeting
Abort immediately if we don't receive a server greeting or if the
greeting doesn't contain the "--expect"ed string (by default: "220")
instead of blindly sending the EHLO/HELO line.
Spotted by Daniel Piddock, see Debian bug report #611914.
2011-02-04 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/sslutils.c, plugins/t/check_http.t,
plugins/tests/check_http.t: check_http: check for and print the
certificate cn
This patch adds a check for the certificate cn (hostname) to normal
certificate checks. It returns CRITICAL if th cn is missing, otherwise it
prints it in the normal output.
Patch by Stéphane Urbanovski
2011-01-21 Ton Voon <ton.voon@opsera.com>
* NEWS, plugins/check_procs.c, plugins/tests/check_procs.t: Fix for
regex input of '|', being output causing problems with Nagios' parsing
of
performance data. Now replaced with ','
2011-01-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/t/check_snmp.t, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl: Test updates...
1. Timetick test could fail with uptime > 115 days. Thresholds are
double type, so it's safe to put a large number even for 32bit systems.
2. Add a test based on an invalid bug report, worthy anyway.
2011-01-01 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/sfsnapshot-upload: Update the README text
* NEWS, plugins/check_http.c: Make check_http use standard threshold
functions
This enables floating point and ranges, and make the code more standard.
2010-12-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_ldap.c: Fix check_ldap overriding the port when
--ssl was specified after -p
2010-11-30 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/tests/check_http.t, plugins/tests/check_snmp.t: Fix minor test
issues
My Test::More wouldn't print the total number of tests anymore, moving
the plan at the top appears to fix it.
At the same time I made check-http.t eval the special modules so it can
skip the tests instead of failing.
* NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t: Revert
"check_snmp now considers strings returned by SNMP that contain just"
This reverts commit 896962a1ad1b7d7c75d42c565b06cc799feb0a7c.
Conflicts:
NEWS
plugins/tests/check_snmp.t
Notes:
Reverting because I rebased a patch that was doing the same thing, plus
fixing more related regressions, and both didn't work together.
I kept the tests intact except for one that wouldn't pass on 1.4.14
either
* plugins/tests/check_snmp.t: State-based tests enhancements
- Use /var/tmp for state if no state dir environment variable is set,
this avoid the need for a writable localstatedir during tests.
- Use "rm -f", mostly to avoid printing out garbage of the directory
doesn't exists
* NEWS, plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp: Remove
that is_numeric madness
Original patch to make Timeticks works as in check_snmp v1.4.14, it turns
out is_numeric isn't so useful and treating all types as numeric works
best for backwards-compatibility. This is how it used to work in 1.4.14.
As a special case, I also make calculate_rate look up for numeric values
as it would otherwise return the last value instead.
2010-11-28 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins-scripts/t/check_disk_smb.t: add test cases for check_disk_smb
* NEWS, plugins-scripts/check_disk_smb.pl: check_disk_smb now handles
NT_STATUS_ACCESS_DENIED properly (Debian #601696)
* NEWS, plugins-scripts/check_disk_smb.pl: Make check_disk_smb accept
spaces in share names (#990948, #1370031, Debian #601699)
2010-11-15 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c: Fix
check_disk free space calculation if blocksizes differ within a disk
group (Bekar - #2973603)
Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in
the parameter_list structure. Assignments have been moved to a subroutine preventing
code redundancies.
Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation
when blocksizes differ within a group.
2010-11-15 nagios <nagios@opsviewdev32.(none)>
* NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl: check_snmp now considers strings
returned by SNMP that contain just
numbers (according to strtod) to be a numeric value for threshold and
performance data
2010-10-16 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS: Update NEWS for last commit
2010-10-13 Thomas Guyot-Sionnest <dermoth@aei.ca>
* THANKS.in, plugins/check_nt.c: check_nt: make UPTIME accept
warning/critical levels
Patch originally by Ryan Kelly
2010-10-11 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/sfsnapshotgit: sfsnapshotgit: Better handling of remote refs
This commit allow to track branches from unusually-named remote refs and
makes possible using external remotes (other than origin) for snapshots.
2010-10-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* contrib/check_linux_raid.pl: Patch for check_linux_raid with on
linear/raid0 arrays
Fixes bug #3049988, Debian bug #579049
2010-08-31 Ton Voon <ton.voon@opsera.com>
* plugins/check_http.c: Fix typos in -f help text
2010-07-27 Holger Weiss <holger@zedat.fu-berlin.de>
* COPYING: Update the COPYING file to the GPLv3
We switched to the GPLv3 early in 2008, but we forgot to update the
COPYING file accordingly.
2010-07-27 Ton Voon <ton.voon@opsera.com>
* BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def:
1.4.15 prep
2010-07-14 Ton Voon <ton.voon@opsera.com>
* tools/sfsnapshot-upload: Added text re: MD5SUM updates in nightlies,
but tarballs not
2010-07-09 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_snmp.c, po/de.po, po/fr.po, po/nagios-plugins.pot: Fix
--help output when MAX_OIDS is altered.
2010-07-07 Ton Voon <ton.voon@opsera.com>
* NEWS, plugins/check_disk.c: Fix examples in check_disk, where it
implied was possible to suffix unit values to warn/crit parameters
* NEWS, THANKS.in, plugins-scripts/check_ifstatus.pl: Allow
check_ifstatus to accept version=2c
2010-07-02 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, lib/utils_cmd.c: Fix cmd_run overwriting the environment
Some commands need the environment to function properly. One such
example is check_ssh and check_by_ssh when a SOCKS proxy is required.
This patch use setenv and extern char **environ to alter and pass the
new environment to the child process Those modules have been added to
Gnulib for portability.
* gl/Makefile.am, gl/m4/gnulib-cache.m4: Import the environ module from
gnulib (86ba51)
2010-07-02 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify: git-notify: Be careful with "--no-merge"
The "-X" option (which asks git-notify to not report merge commits) was
implemented by setting the "--no-merge" option on each invocation of
git-rev-list(1). However, we do not only use git-rev-list(1) to get the
list of new commits, but also to check whether the old branch head (or
tag) is a parent of the new branch head (or tag). For this latter
check, the "--no-merge" option should not be set; otherwise, git-notify
would be fooled to believe that the branch has been rewritten if the old
head was a merge commit.
2010-06-30 tonvoon <ton.voon@opsview.com>
* plugins/check_snmp.c, plugins/tests/check_snmp.t: Corrected
rate_multiplier calculation
* plugins/check_snmp.c, plugins/tests/check_snmp.t: Removed suffix of
"-rate" and let user decide label via --label
* plugins/check_snmp.c, plugins/tests/check_snmp.t: Tests for
--rate-multiplier option
2010-06-30 Ton Voon <ton.voon@opsera.com>
* plugins/check_snmp.c: Fixed rate-multiplier option
2010-06-25 tonvoon <ton.voon@opsview.com>
* lib/tests/Makefile.am: Add test file directory
2010-06-24 Ton Voon <ton.voon@opsera.com>
* lib/tests/test_utils.c, lib/utils_base.c: Cleanup some warnings
displayed from IRIX tinderbox server
* gl/Makefile.am, gl/m4/eealloc.m4, gl/m4/environ.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/malloca.m4,
gl/m4/setenv.m4, gl/malloca.c, gl/malloca.h, gl/malloca.valgrind,
gl/setenv.c, gl/unsetenv.c: Added unsetenv and setenv from gnulib
* gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4,
gl/m4/strsep.m4, gl/strsep.c: Added strsep to gnulib, for check_snmp.c
2010-06-23 tonvoon <ton.voon@opsview.com>
* NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl, po/de.po, po/fr.po,
po/nagios-plugins.pot: Added option to invert search results
* NEWS, plugins/check_http.c, plugins/tests/check_http.t: Display
missing search string and URL when failed (Duncan Ferguson #2999924)
2010-06-17 Ton Voon <ton.voon@opsera.com>
* NEWS, build-aux/c++defs.h, build-aux/warn-on-use.h, gl/Makefile.am,
gl/alloca.c, gl/config.charset, gl/error.c, gl/getopt.c,
gl/getopt_int.h, gl/localcharset.c, gl/m4/asm-underscore.m4,
gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/gnulib-cache.m4,
gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4, gl/m4/iconv.m4,
gl/m4/intl.m4, gl/m4/lib-link.m4, gl/m4/netdb_h.m4, gl/m4/onceonly.m4,
gl/m4/po.m4, gl/m4/printf.m4, gl/m4/sha1.m4, gl/m4/sockpfaf.m4,
gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/string_h.m4, gl/m4/strnlen.m4,
gl/m4/time_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4,
gl/m4/visibility.m4, gl/netdb.in.h, gl/regex_internal.c,
gl/regex_internal.h, gl/sha1.c, gl/sha1.h, gl/stdbool.in.h,
gl/stdio-write.c, gl/stdio.in.h, gl/strerror.c, gl/string.in.h,
gl/sys_stat.in.h, gl/time.in.h, gl/unistd.in.h, gl/vasnprintf.c,
gl/verify.h, gl/wchar.in.h, lib/Makefile.am, lib/tests/Makefile.am,
lib/tests/test_utils.c, lib/tests/var/.gitignore, lib/tests/var/baddate,
lib/tests/var/missingdataline, lib/tests/var/oldformat,
lib/tests/var/statefile, lib/utils_base.c, lib/utils_base.h,
plugins/Makefile.am, plugins/check_snmp.c, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl: Added state retention APIs.
Implemented for check_snmp with --rate option.
See http://nagiosplugin.org/c-api-private for more details on the API.
Also updated check_snmp -l option to change the perfdata label.
2010-06-18 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS: NEWS entry for last commit
2009-08-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* configure.in: Attempt at detecting 64bit compilation flags between
gcc, old, and new versions of sun cc
Gcc accepts -m64, just as newer version of Suncc.
Older Suncc required -xarch=v9 (SPARC) or -xarch=amd64 (x86-64) to generate 64bit code.
2010-05-08 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_smtp.c: Add missing --fqdn help (Jan Wagner)
2010-04-28 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/utils.h, po/de.po, po/fr.po, po/nagios-plugins.pot: Update
extra-opts help text based on ML agreement
* .gitignore, tools/distclean: use git-clean when possible
git-clean is much faster and more reliable...
Also add confdefs.h in gitignore, although this file is normally removed
at the end of the configure script.
* build-aux/ltmain.sh, gl/m4/libtool.m4, gl/m4/ltoptions.m4,
gl/m4/ltsugar.m4, gl/m4/ltversion.m4, gl/m4/lt~obsolete.m4: Update
libtool
Nagios-plugins wouldn't compile on Ubuntu 10.04 (Lucid) with the old libtool
2010-04-22 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c: Add newline after "Usage:" in --help
* plugins/check_cluster.c: Split long line in check_cluster --help
2010-04-21 Thomas Guyot-Sionnest <dermoth@aei.ca>
* po/de.po, po/fr.po, po/nagios-plugins.pot: Update French translations
with extra-opts change
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/utils.h: Standardize the extra-opts notes
* NEWS, plugins/tests/check_snmp.t: Fix tests and update NEWS file
2010-04-15 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_snmp.c: Replace the lousy multiline parser with a robust
one.
This one counts double quotes and backslashes so it should handle any
level of escaping.
2009-09-17 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_snmp.c, plugins/tests/check_snmp_agent.pl: Attempt at
fixing check_snmp multiline output:
This patch tries to detect and output nicely multi-line strings. This
method is broken by design; only a count of double-quotes and escapes
could work in every situation.
2010-04-15 tonvoon <ton.voon@opsera.com>
* NEWS, perlmods/Nagios-Plugin-0.27.tar.gz,
perlmods/Nagios-Plugin-0.34.tar.gz: Updated Nagios::Plugin library
2010-04-14 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify: git-notify: Fix the ordering of commits
If notifications for multiple commits are created, sort them
chronologically instead of in reverse chronological order.
2010-04-14 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c, plugins/utils.h, po/POTFILES.in,
po/de.po, po/fr.po, po/nagios-plugins.pot: Fix translations when
extra-opts aren't enabled
Bug #2832884 reported problem with translations outputting pot file
headers. This is caused by "" matching the header of the translation
files.
This patch moves gettext macros inside utils macros and update some
french translations.
* plugins/check_ntp.c, plugins/negate.c, po/de.po, po/fr.po,
po/nagios-plugins.pot: Update french translation (fix all fuzzy's)
* NEWS, THANKS.in, plugins/check_radius.c: Fix check_radius returning OK
on unexpected results
REJECT_RC is defined on some radiusclient versions and differenciates
between auth errors and bad responses. This patch will affect only the
behaviour of those clients exporting REJECT_RC.
In addition, unexpected return codes are now handled properly and
return UNKNOWN.
* NEWS: Typo
2010-04-08 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins-root/Makefile.am, plugins-root/pst3.c: pst3.c must not
use nagiosplug/gnulib includes
2010-04-07 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, build-aux/arg-nonnull.h, build-aux/c++defs.h,
build-aux/config.rpath, build-aux/mkinstalldirs,
build-aux/warn-on-use.h, gl/Makefile.am, gl/alignof.h, gl/alloca.c,
gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c,
gl/base64.c, gl/base64.h, gl/basename-lgpl.c, gl/basename.c, gl/btowc.c,
gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c, gl/cloexec.h,
gl/close-hook.c, gl/close-hook.h, gl/config.charset, gl/creat-safer.c,
gl/dirname-lgpl.c, gl/dirname.c, gl/dirname.h, gl/dup-safer.c,
gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h, gl/exitfail.c,
gl/exitfail.h, gl/fcntl--.h, gl/fcntl-safer.h, gl/fcntl.c,
gl/fcntl.in.h, gl/fd-safer.c, gl/float+.h, gl/float.in.h, gl/floor.c,
gl/floorf.c, gl/fsusage.c, gl/fsusage.h, gl/full-read.c, gl/full-read.h,
gl/full-write.c, gl/full-write.h, gl/gai_strerror.c, gl/getaddrinfo.c,
gl/getdtablesize.c, gl/gethostname.c, gl/getloadavg.c, gl/getopt.c,
gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h, gl/gettext.h,
gl/inet_ntop.c, gl/intprops.h, gl/langinfo.in.h, gl/localcharset.c,
gl/localcharset.h, gl/locale.in.h, gl/m4/00gnulib.m4, gl/m4/alloca.m4,
gl/m4/arpa_inet_h.m4, gl/m4/base64.m4, gl/m4/btowc.m4,
gl/m4/c-strtod.m4, gl/m4/cloexec.m4, gl/m4/codeset.m4, gl/m4/dirname.m4,
gl/m4/dos.m4, gl/m4/double-slash-root.m4, gl/m4/dup2.m4,
gl/m4/errno_h.m4, gl/m4/error.m4, gl/m4/exitfail.m4,
gl/m4/extensions.m4, gl/m4/fcntl-o.m4, gl/m4/fcntl-safer.m4,
gl/m4/fcntl.m4, gl/m4/fcntl_h.m4, gl/m4/float_h.m4, gl/m4/floorf.m4,
gl/m4/fstypename.m4, gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4,
gl/m4/getdtablesize.m4, gl/m4/gethostname.m4, gl/m4/getloadavg.m4,
gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4,
gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4,
gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inline.m4,
gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4,
gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4,
gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4, gl/m4/lcmessage.m4,
gl/m4/lib-ld.m4, gl/m4/lib-link.m4, gl/m4/lib-prefix.m4,
gl/m4/localcharset.m4, gl/m4/locale-fr.m4, gl/m4/locale-ja.m4,
gl/m4/locale-zh.m4, gl/m4/locale_h.m4, gl/m4/lock.m4, gl/m4/longlong.m4,
gl/m4/ls-mntd-fs.m4, gl/m4/malloc.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4,
gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/memchr.m4, gl/m4/mktime.m4,
gl/m4/mmap-anon.m4, gl/m4/mode_t.m4, gl/m4/mountlist.m4,
gl/m4/multiarch.m4, gl/m4/netdb_h.m4, gl/m4/netinet_in_h.m4,
gl/m4/nl_langinfo.m4, gl/m4/nls.m4, gl/m4/onceonly.m4, gl/m4/open.m4,
gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4,
gl/m4/regex.m4, gl/m4/safe-read.m4, gl/m4/safe-write.m4,
gl/m4/servent.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4,
gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4, gl/m4/ssize_t.m4,
gl/m4/stat.m4, gl/m4/stdbool.m4, gl/m4/stddef_h.m4, gl/m4/stdint.m4,
gl/m4/stdint_h.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4,
gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strndup.m4,
gl/m4/strnlen.m4, gl/m4/strstr.m4, gl/m4/sys_socket_h.m4,
gl/m4/sys_stat_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4,
gl/m4/time_r.m4, gl/m4/timegm.m4, gl/m4/uintmax_t.m4,
gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4,
gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4,
gl/m4/warn-on-use.m4, gl/m4/wchar_h.m4, gl/m4/wchar_t.m4,
gl/m4/wcrtomb.m4, gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/write.m4,
gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4, gl/malloc.c,
gl/math.in.h, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c,
gl/memchr.valgrind, gl/mktime-internal.h, gl/mktime.c, gl/mountlist.c,
gl/mountlist.h, gl/netdb.in.h, gl/netinet_in.in.h, gl/nl_langinfo.c,
gl/open-safer.c, gl/open.c, gl/pipe-safer.c, gl/printf-args.c,
gl/printf-args.h, gl/printf-parse.c, gl/printf-parse.h, gl/ref-add.sin,
gl/ref-del.sin, gl/regcomp.c, gl/regex.c, gl/regex.h,
gl/regex_internal.c, gl/regex_internal.h, gl/regexec.c, gl/safe-read.c,
gl/safe-read.h, gl/safe-write.c, gl/safe-write.h, gl/size_max.h,
gl/snprintf.c, gl/sockets.c, gl/sockets.h, gl/stat.c, gl/stdbool.in.h,
gl/stddef.in.h, gl/stdint.in.h, gl/stdio-write.c, gl/stdio.in.h,
gl/stdlib.in.h, gl/str-two-way.h, gl/strdup.c, gl/streq.h,
gl/strerror.c, gl/string.in.h, gl/stripslash.c, gl/strndup.c,
gl/strnlen.c, gl/strstr.c, gl/sys_socket.in.h, gl/sys_stat.in.h,
gl/time.in.h, gl/time_r.c, gl/timegm.c, gl/unistd--.h,
gl/unistd-safer.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h,
gl/vasprintf.c, gl/verify.h, gl/vsnprintf.c, gl/w32sock.h,
gl/wchar.in.h, gl/wcrtomb.c, gl/wctype.in.h, gl/write.c,
gl/xalloc-die.c, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c,
gl/xstrndup.h, tools/setup: Sync with the latest Gnulib code (177f525)
2010-04-13 Holger Weiss <holger@zedat.fu-berlin.de>
* plugins/check_ntp_peer.c: Fix typo
2010-04-12 Holger Weiss <holger@zedat.fu-berlin.de>
* contrib/check_linux_raid.pl: Fix Debian bug #574612: Return WARNING on
rebuild
Let check_linux_raid return a WARNING instead of an OK state during
volume recovery.
See: http://bugs.debian.org/574612
(Fixed by Christoph Martin, forwarded by Jan Wagner.)
* contrib/check_linux_raid.pl: Fix Debian bug #534604: Checking md10 and
above
| check_linux_raid malfunctions if system has software RAID devices with
| two or more digits. For example, for system having /dev/md10,
| /dev/md11 etc, the plugin returns 'UNKNOWN' in automatic mode (if RAID
| devices are manually specified it works). Also, if system has both
| one-digit, and two-digit RAID devices, the two-digit devices are
| silently ignored in checks, which is even more problematic.
[ http://bugs.debian.org/534604 ]
(Fixed by Matija Nalis, forwarded by Jan Wagner.)
* NEWS, plugins-scripts/check_ircd.pl: Fix Debian bug #545940: Failure
when run via ePN
If Perl's "shift" function is called outside of a subroutine and without
any argument, it usually shifts @ARGV. However, if a plugin is executed
via ePN, such a call will shift @_ instead, so we must explicitly
specify @ARGV for this to work as expected.
This fixes Debian bug #545940, see: http://bugs.debian.org/545940
Commit de7191e3424e02ba278a39b86e8b1906a25d0362 fixed the same issue for
check_disk_smb.
(Reported by Hendrik Jaeger, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins/check_radius.c: Fix Debian bug #482947: No
--nas-ip-address option
| check_radius doesn't seem to provide any way to modify the
| NAS-IP-Address attribute that it uses in the packets it sends, but it
| does so for NAS-Identifier.
|
| Instead, it hardcodes the IP address that it gets from the
| rc_own_ipaddress() library call, and that in turn translates into
| calling gethostbyname() on the result of uname(). This call can easily
| fail, and its result can easily be unsuitable - for example when the
| Nagios instance uses its own virtual host, and you don't want the
| original system hostname leaked to the RADIUS servers you monitor with
| this.
|
| Furthermore, this behaviour is inconsistent with RFC 2865, which
| defines the two attributes as analogous and never suggests hardcoding
| the value of either of them in client software.
Therefore, this commit adds the "-N, --nas-ip-address" option which
allows for specifying the value of the NAS-IP-Address attribute.
| I've also noticed that the original code for NAS-IP-Address hardcoding
| is broken in its error handling - it does "return (ERROR_PC)", which
| is meaningless in the context of check_radius.c. That actually seems
| to be copy&waste from radiusclient-0.3.2/src/radexample.c. :) I fixed
| that.
|
| While debugging, I also took the opportunity to decouple the
| nas-identifier rc_avpair_add() instance from the initial three,
| because this is just bad practice to lump a fourth optional attribute
| into the same block with the required attributes, the error handling
| for which is throwing the same daft message "Out of Memory?"...
[ http://bugs.debian.org/482947 ]
(Contributed by Josip Rodin, forwarded by Jan Wagner.)
* NEWS, plugins/check_ldap.c: Fix Debian bug #479984: Allow empty LDAP
base
The check_ldap plugin did not allow for specifying an empty LDAP base.
See: http://bugs.debian.org/479984
(Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
* plugins/check_http.c: Fix Debian bug #460097: check_http -M broken
See: http://bugs.debian.org/460097
One instance of this bug has already been fixed in commit
888358122004b9571c8fbdfa52ceee1ba5e5f4f2.
(Fixed by Hilko Bengen, forwarded by Jan Wagner.)
* plugins-scripts/check_disk_smb.pl: Fix Debian bug #478942: Fragile
argument passing
Fix some problems regarding the way check_disk_smb passes command line
arguments to smbclient(1).
| It runs:
|
| $res = qx/$smbclient "\/\/$host\/$share" $pass -W $workgroup \
| -U $user $smbclientoptions -I $address -c ls/;
|
| [...]
|
| The documentation says that if the password is not passed, it
| defaults to "". That is not true above, as $pass expands to
| nothing which leaves no argument at all (instead of an empty
| argument) so is different from providing with an empty password
| or with the -N option.
|
| Also, if the password starts with "-", you're in trouble, that's
| why -U $user%$pass may be prefered.
|
| Also, the doc says that if $user is not provided, then it
| defaults to "guest" but the problem is that if it is provided
| but empty, it is changed to "guest" as well, which prevents us
| from querying hosts that don't do user authentication.
[ http://bugs.debian.org/478942 ]
(Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
* NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: Fix Debian bug
#478906: Failure when run via ePN
| When perl plugin scripts are run with the embedded perl interpreter in
| nagios3, the "shift" perl command doesn't shift @ARGV, but @_ (which
| happens to contain the same thing as @ARGV at the time the script was
| started).
|
| [...]
|
| A fix is to replace all the instances of "shift" with "shift @ARGV".
[ http://bugs.debian.org/478906 ]
(Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
* THANKS.in, plugins/check_ldap.c: Fix Debian bug #463322: Use
deprecated libldap API
| Our automated build log filter[1] detected a problem that is likely to
| cause your package to segfault on architectures where the size of a
| pointer is greater than the size of an integer, such as ia64 and
| amd64.
|
| This is often due to a missing function prototype definition. For
| more information, see [2].
|
| Function `ldap_init' implicitly converted to pointer at
| check_ldap.c:124
|
| [1] http://people.debian.org/~dannf/check-implicit-pointer-functions
| [2] http://wiki.debian.org/ImplicitPointerConversions
|
| The libldap API has been updated and many functions used by the ldap
| plugin are now deprecated. This package should either update to the
| new API or define LDAP_DEPRECATED to continue using the deprecated
| interfaces.
|
| This patch implements the lazy solution.
[ http://bugs.debian.org/463322 ]
(Contributed by Dann Frazier, forwarded by Jan Wagner.)
* NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: Fix Debian bug
#425129: SMB guest mode won't work
| The check_disk_smb plugin purports to support guest users, but it
| doesn't work out, because it doesn't specify the -N command line
| option to smbclient when no password is specified, making smbclient
| stop and ask.
[ http://bugs.debian.org/425129 ]
(Fixed by Josip Rodin, forwarded by Jan Wagner.)
* plugins/check_game.c: Fix Debian bug #307905: Incorrect usage output
The usage output of check_game was wrong, see:
http://bugs.debian.org/307905
(Fixed by Sean Finney, forwarded by Jan Wagner.)
* NEWS, plugins-scripts/check_disk_smb.pl: check_disk_smb: Allow for
specifying an IP address
Add the "-a, --address option" which allows for specifying the IP
address of the server to connect to. If this option is used, the IP
address will be handed over to smbclient(1)'s "-I" option. (Contributed
by Sean Finney, forwarded by Jan Wagner.)
2010-04-06 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS: check_http: Add warning about SNI not enabled by default anymore
2010-04-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_http.c: Fix regression in check_http ssl checks on
some servers
The fix is making SNI an option.
2010-03-31 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_snmp.c: check_snmp: Update last patch to copy value
verbatim
Rework last patch, copying the converted portion of the string rather
than re-converting it. This is safer for backwards-compatibility as the
value is never modified.
2010-03-30 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_snmp.c: check_snmp: Fix regression introduced in
#1867716
Bug #1867716 fixed what it meant to fix: broken perfdata strings.
Unfortunately some users relied on half-broken perfdata string where at
least the first token was OK. This patch do a two-way conversion
(string to double then back to string) instead and use the conversion
result for the performance data.
A possible caveat is that the string may change where it normally
shouldn't but the result should be somewhat similar.
2010-03-27 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/check_ide_smart.c: Fix compilation with GCC
2.96 (Konstantin Khomoutov - #2977105)
2010-03-18 Holger Weiss <holger@zedat.fu-berlin.de>
* NEWS, plugins/check_ntp_peer.c, plugins/t/check_ntp.t: Let
check_ntp_peer check the number of truechimers
Add support for checking the number of usable time sources (i.e., the
number of peers which are classified as so-called "truechimers" by NTP's
intersection algorithm). The new "-m" and "-n" options allow for
specifying the according WARNING and CRITICAL thresholds (and thereby
activating the truechimers check), respectively.
2010-03-16 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS: Typo in NEWS
2010-03-15 Ton Voon <ton.voon@opsera.com>
* doc/developer-guidelines.sgml: Corrected example
2010-02-26 Ton Voon <ton.voon@opsera.com>
* NEWS, THANKS.in, plugins/check_http.c: Fix memory leak in check_http
for large pages (Jimmy Bergman - #2957455)
2009-12-07 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify, tools/git-post-receive-hook: git-notify: Pipe
e-mails directly to sendmail(8)
Use sendmail(8) instead of mail(1) in order to be able to set the
"Content-Type" header field on systems where the available mail(1)
command doesn't allow for setting it. This makes the "-H" flag (cf.
commit 71350c5a) unnecessary.
2009-12-06 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify, tools/git-post-receive-hook: Enable CIA's commit
notifications
We now use CIA's service to send commit notifications to IRC. They are
currently sent to the #Nagios-Devel channel on Freenode. See:
http://cia.vc/stats/project/nagiosplug/
http://cia.vc/account/bots/15699/
2009-12-04 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, configure.in: Detect arguments passed via --with-ping[6]-command
(#2908236)
* configure.in: Whitespace fixes
2009-12-02 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_http.c: Fix short help using "warn" for the -f option
instead of "warning" (onredirect).
2009-11-19 Ton Voon <tonvoon@nagiosplugins.org>
* tools/sfsnapshot-upload: Updated link to sfsnapshotgit
2009-11-18 Thomas Guyot-Sionnest <dermoth@aei.ca>
* doc/developer-guidelines.sgml: Update developer guideline regarding
CVS Commits
(mostly for testing my snapshot script, though it had to be updated anyway)
2009-11-11 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/sfsnapshotgit: Fix fetching of remote branches
2009-11-11 dermoth <dermoth@nagiosplugins.org>
* tools/sfsnapshot-upload, tools/sfsnapshotgit: Many fixes to snapshot
scripts
sfsnapshotgit:
- Use fetch/reset instead to pull to avoid merges on forced updates
sfsnapshot-upload:
- Fix link deletion walking the entire home dir
- Allow CLEAN_TIME=0 (no retention)
- Re-add per-branch links when CLEAN_TIME > 0
- Add many comments
2009-11-07 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-post-receive-hook, tools/git-update-mirror: Git commit
notifications via post-receive hook
Now that we moved our Git repositories to SourceForge, we don't need to
maintain local clones for generating commit notifications anymore, as
SourceForge provides shell access to the repositories. Instead, we now
run git-notify as a post-receive hook on the SourceForge server.
Actually, we use a wrapper which executes git-notify with the desired
options and which makes it easy to add other post-receive hooks in the
future.
* tools/git-notify: git-notify: Support SourceForge repositories
The Gitweb URLs for repositories hosted by SourceForge are slightly
different than other Gitweb URLs. The correct URL cannot be specified
via "-u" if we append "/$repos_name.git/?" to that URL as we usually do.
If the new "-S" flag is specified or "notify.sourceforge" is set, we'll
append "/$repos_name;" instead, which makes the "-u" option usable for
SourceForge repositories.
* tools/git-notify: git-notify: Optionally call mail(1) without "-a"
Not all mail(1) implementations support specifying additional header
fields via "-a": with some, this flag is used for attaching files,
others don't provide an "-a" flag at all (this is true for the /bin/mail
utility currently installed on the SourceForge servers, for example).
We now provide the "-H" flag and the "notify.legacyMail" configuration
key for these cases.
* tools/git-notify: git-notify: Polish up the "tag notifications"
Use better labels for the tag ref and the SHA1 name of the tag object.
* tools/git-notify: git-notify: Distinguish between tag types
Distinguish between annotated tags and lightweight tags. In the former
case, send an annotated "tag notification", in the latter case, send a
"ref change notification" (as we did in both cases before).
* tools/git-notify: git-notify: Fix "global" notifications
If the number of commits included with a single push exceeds the maximum
specified via "-n", a single notification will be generated instead of
individual e-mails. For listing the commits within such a notification,
git-rev-list(1)'s "--pretty" option is used. This yields output which
the git_rev_list() subroutine didn't accept. That's now fixed.
* tools/git-notify: git-notify: Optionally [tag] the subject
If the new "-T" option is specified or "notify.emitRepository" is set,
the subject of e-mail notifications will be prefixed with [<tag>], where
<tag> is the name of the updated repository.
* tools/git-notify: git-notify: Optionally omit the author name
If the new "-A" option is specified (or "notify.omitAuthor" is set), the
author name will be omitted from the subject of e-mail notifications.
* tools/git-notify: git-notify: Make abbreviating Gitweb URLs optional
The SHA1 object name part of Gitweb URLs is now only shortened if the
user requested this by specifying the new "-z" option (or by setting
"notify.shortURLs").
While at it, also shorten the additional URL which references a diff in
e-mail notifications which don't include that diff inline because its
size exceeds the maximum number of bytes specified via "-s".
Note that while the abbreviated SHA1 object names will be unique at push
time, this cannot be guaranteed for the future, so the shortened URLs
might break some day.
* tools/git-notify: git-notify: Make showing the committer optional
Only the author's name and address will now be mentioned in a commit
notification by default. However, if the "-C" option is specified (or
"notify.showCommitter" is set), the committer's name and address will
also be included in the notification if the committer is not the author
of the commit (as we previously did by default).
* tools/git-notify: git-notify: Make using a state file optional
Making use of a state file in order to prevent duplicate notifications
is now optional. The user must explicitly specify a file path via the
"-t" option or by setting the git-config(1) variable "notify.statefile"
to activate this functionality.
* tools/git-notify: git-notify: Don't abort if mail(1) exits non-zero
As nothing in git-notify depends on the success of the mail(1) call,
don't abort if it fails, just spit out a warning.
* tools/git-notify: git-notify: Drop the $sent_notices variable
Now that we don't ignore empty commits anymore, there's no need to keep
track of the number of commits actually notified about, as that will
always be equal to the number of commits returned by get_new_commits().
* tools/git-notify: Revert "git-notify: Ignore `empty' commits"
This reverts commit db63fbfa036f5cd757aedf4547fef9e195a8c285, as it is
no longer needed and we'd like to keep the diff against the git-notify
version maintained by the Wine people as small as possible. The purpose
of db63fbfa was to suppress notifications on empty merge commits, which
can now be requested directly by specifying git-notify's "-X" option.
(Our change was implemented before the "-X" option was available, even
though the Git history suggests otherwise.)
Conflicts:
tools/git-notify
* tools/git-notify: Revert "git-notify: Remove unused [...] code"
This reverts commit 5445b9769f254781e482062bacc6603a5cd63059. Alexandre
Julliard pointed out that the code in question was used if git-notify
was explicitly called with the SHA1 name of an annotated tag object. At
the moment, the code in question actually _is_ unused due to later
modifications, but it wasn't at the time 5445b976 was committed, and
we'll add further changes so that the code will be used again in the
future.
Conflicts:
tools/git-notify
2009-11-06 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify: git-notify: Minor cosmetic changes
Fix the description of the "-U" option.
2009-10-25 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/sfsnapshot-upload: Allow rsyncing to local paths
* tools/sfsnapshot-upload: Add snapshots upload scripts
2009-10-26 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify: git-notify: Make the state file group writable
For shared repositories, the state file used by git-notify should
usually be group writable, so we now set the umask to 0002 by default.
This can be adjusted by setting the "notify.umask" configuration key or
by using the "-U" option on the command line.
* tools/git-notify: git-notify: Remove an empty subroutine
The gitweb_url() subroutine was an unused and empty hangover.
2009-10-25 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-update-mirror: git-update-mirror: Remove a useless sed(1)
call
The sed(1) command in question was a hangover which had no effect
anymore.
2009-10-24 Holger Weiss <holger@zedat.fu-berlin.de>
* tools/git-notify: git-notify: Check the exit status of pipes
Properly check the exit status of all processes we execute and abort on
error.
* tools/git-notify: git-notify: Handle non-UTF-8 commits
Make sure that commit messages which use an encoding other than US-ASCII
or UTF-8 are handled correctly. Also, assume that the diff contents use
the same encoding as the commit message. This assumption may well be
wrong, but that's the best we can do.
* tools/git-notify: git-notify: Don't generate duplicate notifications
Never notify on a given commit more than once, even if it's referenced
via multiple branch heads. We make sure this won't happen simply by
maintaining a list of commits we notified about. The file path used for
saving this list can be specified using the new "-t" option. (The
contrib/hooks/post-receive-email script distributed with Git tries hard
to avoid such a list, but it doesn't get the necessary magic right.)
* tools/git-notify: git-nofity: Try to shorten Gitweb URLs
Instead of using the full SHA1 values of commit object names within
Gitweb URLs, try to abbreviate them to a shorter unique name.
* tools/git-notify: git-notify: Move the Gitweb URL to the bottom
In commit notifications, specify the Gitweb URL (if any) at the bottom
of the ASCII "table" which summarizes the commit. That looks better.
* tools/git-notify: git-notify: Truncate summary after 50 characters
If the first line of a commit message is longer than 50 characters,
truncate it before adding the resulting string to the subject line of a
notification. This makes sure the subject line won't get too long
(unless the commit author name is unusually long, which we don't check).
The Git User's Manual recommends keeping the first line of a commit
message shorter than that, anyway:
| Though not required, it's a good idea to begin the commit message with
| a single short (less than 50 character) line summarizing the change,
| followed by a blank line and then a more thorough description. Tools
| that turn commits into email, for example, use the first line on the
| Subject line and the rest of the commit in the body.
[ http://www.kernel.org/pub/software/scm/git/docs/user-manual.html ]
* tools/git-notify: git-notify: Send notifications on ref changes, too
Do not only generate notifications on commits, but also if a branch head
or lightweight tag was created, removed, or modified. Notifications on
branch head updates are omitted if one or more commit notification have
been generated and the branch head now references a descendant of the
originally referenced commit (which should be the usual case).
* tools/git-notify: git-notify: Call git-rev-list(1) via a subroutine
Add a subroutine which abstracts away executing git-rev-list(1) and
checking the result in order to avoid code duplication.
* tools/git-notify: git-notify: Mention the committer where applicable
If the committer is not the author of the commit, mention the committer
in addition to the author.
* tools/git-notify: git-notify: New subroutine for column alignment
Most notifications include an ASCII "table" with two columns. The
formatting of these columns is now handled by the new format_table()
subroutine, so that the alignment can easily be changed in the future.
* tools/git-notify: git-notify: Ignore "empty" commits
Omit notifications regarding commits which don't change the tree
whatsoever.
* tools/git-notify: git-notify: Remove unused tag notification code
The code which handles notifications regarding tags was unused, as only
objects listed by git-rev-list(1) are considered, and git-rev-list(1)
never spits out the sha1 of a tag object.
* tools/git-notify: git-notify: Save author without trailing space
Adjust the regular expression which catches the commit author name so
that it doesn't include the space character which follows that name.
* tools/git-notify, tools/git-update-mirror: Import git-update-mirror
and git-notify
Import the (self-written) git-update-mirror script, which updates clones
of Git repositories and then calls git-notify (in just the same way as a
post-receive hook would be called by Git). The git-notify script is
imported from git://source.winehq.org/git/tools.git (commit: 03d66f34)
and generates notifications on repository changes. We'll use these
scripts for generating our commit e-mails.
2009-10-22 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_snmp.c, plugins/t/check_snmp.t: Fix usage of
repeated -o options in check_snmp
2009-10-15 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins-root/check_icmp.c: Set proper network byte order for icmp_id
and icmp_seq in icmp packets
2009-10-14 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins-root/check_icmp.c: Increment per-host sequence in
check_icmp
2009-09-26 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/sfsnapshotgit: Change default for SFSNAP_DEST
* tools/sfsnapshotgit: Correcting name and email address
* tools/sfsnapshotgit: Enhancements to tools/sfsnapshotgit
2009-09-25 Thomas Guyot-Sionnest <dermoth@aei.ca>
* configure.in: Using $srcdir is the proper way to go
2009-09-25 nagiosplugins <nagiosplugins@nagiosplugins.org>
* tools/sfsnapshotgit: Add sfsnapshotgit
* configure.in, plugins-root/Makefile.am, plugins-scripts/Makefile.am,
plugins/Makefile.am: Allow custom versions with the release file...
2009-09-24 Ton Voon <ton.voon@opsera.com>
* NEWS, doc/developer-guidelines.sgml: Updated documentation re: no
equals sign and single quote
* NEWS: Updated NEWS file with docs changes
2009-09-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS: Test, again
* NEWS: Test
2009-09-21 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in: Oops - wrong author/bug in last commit!
* NEWS, THANKS.in, plugins/check_http.c: Add proxy-authorization option
to check_http (Peter Doherty - #2863772, Bryan Irvine - #2863925)
2009-09-19 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins-scripts/check_ircd.pl: Fix check_ircd binding to wrong
interface (#668778)
* doc/RELEASING: Update RELEASING document with proper tag creation and
push commands
2009-09-16 Ton Voon <ton.voon@opsera.com>
* BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def: Prep
for 1.4.14 release
2009-09-14 Ton Voon <ton.voon@opsera.com>
* plugins-root/pst3.c: Ensure dirhandle is closed (Duncan Ferguson)
2009-09-11 Ton Voon <ton.voon@opsera.com>
* plugins/t/check_snmp.t: Fix skip number
2009-09-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/tests/check_snmp.t: Add a test that succeeds on check_snmp
v1.4.13. Newer versions skip additional
lines so this new test fails on the current head.
Note: check_snmp v1.4.13 with multi-line strings return somewhat v3 output;
it's not exactly what the specs say but it doesn't appears to break them
either. The fix could eventually supports both v2 and v3 output formats.
2009-08-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_snmp.c: Fix segfault in check_snmp (definitive fix is
still in the works - see bug #2832451)
2009-07-31 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_snmp.c: Fix check_snmp passing single-quotes as -m
argument when it should be empty
* plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp: Add some
verbose output and tests
* plugins/tests/check_snmp.t, plugins/tests/check_snmp_agent.pl,
plugins/tests/conf/snmpd.conf: Add tests using custom snmp agent
Only multi-line string test for now (regression test), counter rollover
tests planed with my snmp_counters_new branch.
NB: 64bit counters are broken in NetSNMP::agent from NetSNMP version 5.4.1
and lower, but might come in handy one day
* plugins/t/check_snmp.t: Fix check_snmp Timetick test with <1 day
uptime
2009-07-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* doc/RELEASING: Add accidentally removed line plus a note about the web
copy
* doc/RELEASING: Merge changes from web
2009-07-17 Ton Voon <ton.voon@opsera.com>
* doc/developer-guidelines.sgml: Updated links for exchange.nagios.org
2009-07-14 Ton Voon <ton.voon@opsera.com>
* NEWS, THANKS.in, plugins-root/pst3.c: pst3 compile with Sun Studio
Compiler
2009-06-22 Ton Voon <ton.voon@opsera.com>
* plugins/check_cluster.c: Added example for check_cluster to alert if
more than X non-OK states
2009-06-16 Matthias Eble <psychotrahe@gmx.de>
* NPTest.pm: Switch back to "use Test" and plain prints instead of
diag()
* NPTest.pm: Tinderbox output testing commit
2009-06-15 Matthias Eble <psychotrahe@gmx.de>
* NPTest.pm, test.pl.in: Make output of "make test" more verbose
This is intended to make error fixing based on tinderbox output
easier.
2009-06-14 Matthias Eble <psychotrahe@gmx.de>
* plugins-root/check_icmp.c: Fixed error in rtt/rta calculation in case
of system clock problems
Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more.
The RTA calculation hopefully gets a more accurate value in these cases also.
2009-06-13 Matthias Eble <psychotrahe@gmx.de>
* plugins-scripts/t/check_ifoperstatus.t,
plugins-scripts/t/check_ifstatus.t, plugins/t/check_snmp.t: Fixed
testcases for check_snmp, check_ifstatus and check_ifoperstatus when no
snmp community is specified
The checks for invalid/unavailable hosts need a complete command line.
They failed on hosts where no community was specified. Now, an invalid community is used so
the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway.
* plugins-scripts/t/check_ifoperstatus.t,
plugins-scripts/t/check_ifstatus.t: Further test parameters and skip
blocks for check_ifoperstatus.t. getTestparam changes for
check_ifstatus.t and ifoperstatus.t
Added snmp_interface and snmp_ifxtable test parameters to check_ifoperstatus.t.
Also getTestParameter calls for both plugins were converted to use three arguments
instead of undocumented >3 arg behaviour which led to redundant data in NPTest.cache.
2009-06-11 Matthias Eble <psychotrahe@gmx.de>
* NEWS, plugins-scripts/check_ifoperstatus.pl: renamed
check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus
check_ifstatus already used -x so both plugins can use same short option, now.
to specify privacy protocol.
* NEWS, plugins-scripts/check_ifstatus.pl,
plugins-scripts/t/check_ifstatus.t: Fixed SNMPv3 behaviour of
check_ifstatus. Added -P to define privprotocol (#2343438 - Robin
Schroeder)
check_ifstatus didn't function correctly with SNMPv3. This is fixed now.
Created argument-hash for SNMP session creation. This removes redundant code.
Session creation was moved out of process_arguments() and now takes place
after setting the timeout handler.
Additionally the -P argument was added to specify the privprotocol.
* plugins-scripts/t/check_ifoperstatus.t: Added testcases for
check_ifoperstatus
Added testcases for check_ifoperstatus. No SNMPv3 testing
included for now.
* plugins-scripts/check_ifoperstatus.pl: minor fixes to
check_ifoperstatus
Minor output fixes for check_ifoperstatus.
Fixed typo so that -n now implies -I as documented.
2009-06-10 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/extra_opts.h, lib/tests/test_opts1.c, lib/tests/test_opts2.c: Use
a more "natural" way of writing argument lists in extra-opts tests.
2009-06-11 Matthias Eble <psychotrahe@gmx.de>
* NEWS, plugins-scripts/check_ifoperstatus.pl: check_ifoperstatus is now
more user friendly in case of missing arguments
Added proper usage messages in case of missing arguments.
Removed accidently committed Data::Dumper call.
Minor whitespace fixes.
* plugins-scripts/check_ifoperstatus.pl: Whitespace and indent fixes for
check_ifoperstatus
* NEWS, plugins-scripts/check_ifoperstatus.pl: Fixed SNMPv3 behaviour of
check_ifoperstatus. Added -x to define privprotocol (#2343438 - Robin
Schroeder)
check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now.
Created argument-hash for SNMP session creation. This removes redundant code.
Session creation was moved out of process_arguments() and now takes place
after setting the timeout handler.
Additionally the -x argument was added to specify the privprotocol.
2009-06-02 Holger Weiss <holger@zedat.fu-berlin.de>
* THANKS.in, lib/utils_base.c: Fix the memory allocation for the
thresholds data
Allocate the appropriate amount of memory for storing the thresholds
data. Before, we allocated the amount of memory required for storing a
_pointer_ to the thresholds data. This crashed (at least) check_mysql
when using its "-S" option on FreeBSD/amd64 (as reported and analyzed by
Nikita Kalabukhov - 2797757).
* plugins-root/check_icmp.c: Don't use the plain char type for data
buffers
Buffers which are used for holding arbitrary data should be referenced
using pointers to void and accessed using pointers to unsigned char.
2009-06-01 Matthias Eble <psychotrahe@gmx.de>
* plugins/check_pgsql.c: Whitespace indent fixes for check_pgsql
* plugins-root/check_icmp.c: Fixed check_icmp compiler warnings by
including float.h
Self defined DBL_MAX caused compiler warnings. Now float.h
which defines DBL_MAX is included.
* plugins-root/check_icmp.c: Fixed --help output for warn and critical
thresholds (sf.net #2796624, debian #530553)
check_icmp wrongly calculated the current thresholds in --help output.
* plugins/check_pgsql.c: Added verbose output to check_pgsql (#2799281 -
Jun Kuriyama)
check_pgsql displayed the -v flag in help output, but didn't
accept the verbosity argument. Added -v and basic verbose output.
* NEWS, plugins/check_fping.c: check_fping now supports passing target
timeout and interval to fping (#2347686 - Martin Foster)
Added support for passing timeout and interval length to check_fping.
To protect compatibility, both options use fping's defaults if they
are not specified on the command line.
2009-05-27 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, lib/utils_base.h, plugins/check_snmp.c, plugins/t/check_snmp.t:
check_snmp: Make use of standard threshold functions
This patch makes use of standard threshold functions. This allows using
doubles as thresholds.
Since SNMP supports only integers, double precision numbers are only
printed when parsed from a STRING type.
In addition, support for printing properly Timeticks type has been added,
and the code has been thoroughly cleaned.
* plugins/check_snmp.c: Fix whitespaces in check_snmp
2009-05-26 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/Makefile.am, plugins/check_by_ssh.c: Fix
check_by_ssh interpretation of quotes in -C parameter (#1985246,
#2268675)
2009-05-22 Matthias Eble <psychotrahe@gmx.de>
* NEWS, plugins/check_mrtgtraf.c: Fixed wrong perfdata label for output
traffic in check_mrtgtraf
check_mrtgtraf used the label "in" for both input and output traffic.
This fixed, now.
* plugins/check_smtp.c: Removed -n option in check_smtp's help and usage
output (#2782784)
Check_smtp's help showed the -n/--nocommand options to not send an
SMTP command. This usage is covered by check_tcp and is thus not needed
in check_smtp.
2009-05-20 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/sslutils.c: Whitespace changes only
* NEWS, THANKS.in, plugins/check_http.c, plugins/netutils.h,
plugins/sslutils.c: check_http: Add SSL/TLS hostname extension support
(SNI) - (#1939022 - Joe Presbrey)
* NEWS, THANKS.in, plugins-scripts/subst.in: Fix awk subst.in/subst
script path error (#2722832 - Martin Foster)
* NEWS, THANKS.in, plugins/check_mysql.c, plugins/check_mysql_query.c:
Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)
2009-05-20 Holger Weiss <holger@zedat.fu-berlin.de>
* gl/Makefile.am, gl/alignof.h, gl/arpa_inet.in.h, gl/c-strtod.c,
gl/c-strtod.h, gl/config.charset, gl/dup-safer.c, gl/fd-safer.c,
gl/fsusage.c, gl/gai_strerror.c, gl/getloadavg.c, gl/getopt1.c,
gl/gettext.h, gl/localcharset.c, gl/m4/00gnulib.m4, gl/m4/btowc.m4,
gl/m4/c-strtod.m4, gl/m4/errno_h.m4, gl/m4/extensions.m4,
gl/m4/fcntl_h.m4, gl/m4/floorf.m4, gl/m4/gnulib-common.m4,
gl/m4/gnulib-comp.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4,
gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/locale-fr.m4,
gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/mbrtowc.m4,
gl/m4/mktime.m4, gl/m4/multiarch.m4, gl/m4/printf.m4, gl/m4/regex.m4,
gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4,
gl/m4/sys_socket_h.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4,
gl/m4/wchar.m4, gl/m4/wcrtomb.m4, gl/math.in.h, gl/mbrtowc.c,
gl/mountlist.c, gl/regex_internal.h, gl/stdint.in.h, gl/stdio.in.h,
gl/stdlib.in.h, gl/strdup.c, gl/strerror.c, gl/sys_socket.in.h,
gl/unistd.in.h, gl/vasnprintf.c, gl/wchar.in.h, gl/xmalloc.c: Sync with
the latest Gnulib code (cb75dc5)
2009-05-19 Chris Pepper <pepper@reppep.com>
* plugins/check_ups.c, plugins/urlize.c: Fix a few minor typos
2009-05-19 Holger Weiss <holger@zedat.fu-berlin.de>
* doc/developer-guidelines.sgml: Talk about Git instead of CVS
Update the Developer Guidelines to reflect the fact that our development
is done using Git instead of CVS these days (as noted by Chris Pepper on
the "nagiosplug-devel" list).
While at it, apply another few minor cleanups.
* doc/developer-guidelines.sgml: Remove comments regarding former
requirements
Don't explain why Libtool and Gettext are no longer needed. Libtool
actually is a requirement, as (at least) the M4 macros provided by
Libtool are needed for our Autotools setup. And the fact that Gettext
is no longer needed probably isn't that interesting for new developers.
2009-05-07 Ton Voon <tonvoon@macbook-2.local>
* NEWS, THANKS.in, plugins/check_disk.c: Fixed typo in check_disk
2009-05-01 Matthias Eble <psychotrahe@gmx.de>
* NEWS, plugins/check_nt.c, plugins/tests/check_nt.t: Fixed crash from
check_nt when -H unspecified or given multiple times (sf.net #2731755,
debian #521097)
2009-03-24 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_nt.c: check_nt: allow returning UNKNOWN on
timeouts (-u)
* plugins/netutils.c, plugins/netutils.h: Make socket alarm handler
customisable (like c459ca07)
* NEWS, THANKS.in, plugins/check_mysql.c: check_mysql: Fix segfault with
old slaves (#2696823 - Oskar Ahner)
* plugins/check_nt.c: Whitespace and intend cleanup
2009-03-21 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/check_http.c: Update check_http short help with new stycky and
stickyport options.
* plugins/check_http.c: check_http: die when an invalid --onredirect
option is specified
* NEWS, plugins/check_http.c, plugins/tests/check_http.t: check_http:
add --onredirect=stickyport - also follow the same port
2009-03-20 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, gl/Makefile.am, gl/m4/gnulib-cache.m4,
gl/m4/gnulib-comp.m4, gl/m4/mktime.m4, gl/m4/time_h.m4, gl/m4/time_r.m4,
gl/m4/timegm.m4, gl/mktime.c, gl/time.in.h, gl/time_r.c, gl/timegm.c:
Add the timegm Gnulib module
* NEWS, plugins/negate.c, plugins/t/negate.t: negate: make timeouts
configurable
* plugins/utils.c, plugins/utils.h: Make alarm handler customisable
* NEWS, plugins/negate.c: negate: Fix not printing the real timeout in
ALRM handler when timeout is left to default
* plugins/tests/check_http.t: tests/check_http.t: Add various
timeout-related tests
2009-03-19 Thomas Guyot-Sionnest thomas@aei.ca <root@sinnms01.180solutions.com>
* NEWS, plugins/check_http.c: Fixed check_http not timing-out on
redirects
2009-03-18 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/sslutils.c, plugins/tests/check_http.t: Revert "Add timezone
support and fix checks around cert expiration" (keep the expiration fix)
This reverts commit d41a33a434558189300113c28b26e2d3d681d390.
* plugins/t/check_snmp.t: Add suggested multi-oid test (John A. Barbuto)
* plugins/check_snmp.c: check_snmp: Fix potential buffer overflow -
enforce MAX_OIDS limit (John A. Barbuto)
* tools/tinderbox_build: Fix logging of STDERR in tinderbox tests phase
2009-03-17 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/sslutils.c, plugins/tests/check_http.t: Add timezone support
and fix checks around cert expiration
2009-03-17 Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net>
* plugins/t/check_procs.t: Check for existence of pre-instaleld pst3 for
Solaris tests in t/check_procs.t
2009-03-17 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_http.c: Fix check_http sending HTTP/1.0 with v1.1
headers (#2638765)
2009-03-16 Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net>
* plugins/t/check_snmp.t: Fix check_snmp test on solaris
2009-03-16 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins/tests/check_http.t: Update extended check_http tests for
0d78171...
Also add some tests, and make debug mode loop infinitely.
* plugins/check_http.c: check_http fixes:
- Fix broken printf on 500 errors
- Add bytes to normal output (accidentally removed in 0d78171)
* plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp fixes:
- Fix broken compilation caused by typo in command ending
- Remove extra whitespaces at EOL
- Fix invalid host test on Ubuntu Hardy (and possibly others)
2009-03-14 Ton Voon <tonvoon@macbook.local>
* plugins/check_snmp.c: Ignore stderr messages unless return code is
non-zero or there is no output
* NEWS, THANKS.in, plugins/Makefile.am, plugins/check_snmp.c,
plugins/t/check_snmp.t: Fixed passing of quotes in OID for check_snmp
(#1985230 - Jan Wagner, patch by John Barbuto)
2009-03-06 Ton Voon <tonvoon@macbook.local>
* plugins/tests/certs/expired-cert.pem,
plugins/tests/certs/expired-key.pem, plugins/tests/check_http.t: Create
expired cert for testing purposes. Updated tests to check
expired and unexpired certificates
2009-03-05 Ton Voon <tonvoon@macbook.local>
* plugins/tests/certs/server-cert.pem,
plugins/tests/certs/server-key.pem, plugins/tests/check_http.t: Added
inline tests for HTTPS using HTTP::Daemon::SSL
2009-02-24 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/check_snmp.c: check_snmp long help missing
retries entry (#2608223)
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-20 Ton Voon <tonvoon@macbook.local>
* po/fr.po: Updated string ids, due to typo fixes
* plugins-scripts/check_mailq.pl, plugins/check_dns.c,
plugins/check_http.c, plugins/check_ldap.c, plugins/check_mysql.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_snmp.c,
plugins/check_tcp.c, plugins/check_ups.c: Typo fixes (Jan Wagner - SF
1878971)
2009-02-19 Ton Voon <tonvoon@macbook.local>
* NEWS, THANKS.in, plugins/check_nt.c, plugins/tests/check_nt.t: Fixed
coredump from check_nt when drive not found (Olli Hauer - SF 2179754)
2009-02-06 Thomas Guyot-Sionnest <dermoth@aei.ca>
* doc/RELEASING: Devel doc: NP-VERSION-GEN needs to be updated as well
* NEWS: Small correction in NEWS entry
* doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Update the devel notes
for Git
* doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Revert "Moving project
administration documents to nagiosplugins.org site"
This reverts commit f4a52594818e7c3634a397ac1f86ef87a68bd121.
2009-02-05 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, plugins/check_http.c: check_http --onredirect=sticky follows
using the same IP address (sf.net #2550208).
2009-02-03 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS: Add NEWS entry for last commit
* plugins/check_http.c: Fix aberrant behaviours in check_http:
check_http used to ignore many parameters with check combinations - sometimes
even time thresholds(!!)
With this commit as long as a response is received *all* checks are performed
on it.
This fixes #1460312 plus a number of other issues I discovered over time.
2009-01-26 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h,
plugins/check_ntp_peer.c: Make extract_value more generic:
Add a separator argument passed using defines.
2009-01-24 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_ini1.c, lib/tests/test_opts1.c: Remove the commented
out blocks
The die tests are implemented in the test_*3.t files
* lib/tests/test_ini1.t, lib/tests/test_ini3.t: Fix paths in test_ini
tests
2009-01-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, configure.in, lib/tests/Makefile.am,
lib/tests/test_ini1.c, lib/tests/test_ini1.t, lib/tests/test_ini3.c,
lib/tests/test_ini3.t, lib/tests/test_opts3.t: Add die tests for
parse_ini
2009-01-22 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/parse_ini.c, lib/tests/test_opts3.t: Return UNKNOWN if none of the
default files can be found.
It makes no sense to return unknown if an implicit section is not found, but
go on if the file is missing
2009-01-21 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, configure.in, lib/tests/Makefile.am,
lib/tests/test_opts1.c, lib/tests/test_opts2.c, lib/tests/test_opts3.c,
lib/tests/test_opts3.t: Add die tests for extra-opts
2009-01-19 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h,
plugins/check_ntp_peer.c: Move check_ntp's extract_value to
utils_base.c.
This function can also be used to parse performance data strings which
could be useful in the future.
2009-01-21 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, lib/tests/test_opts1, lib/tests/test_opts2: Accidentally
included built executables - also updated .gitignore
2009-01-20 Thomas Guyot-Sionnest <dermoth@aei.ca>
* configure.in, lib/tests/Makefile.am, lib/tests/test_opts.t,
lib/tests/test_opts1, lib/tests/test_opts1.c, lib/tests/test_opts1.t,
lib/tests/test_opts2, lib/tests/test_opts2.c, lib/tests/test_opts2.t:
Some platform are missing setenv
Instead of adding the gnulib module for solving tests only I split the test
in two, setting environment from Perl for the later.
* lib/tests/Makefile.am: Fix (or try at least) for IRIX compile to tap
tests
Gnulib says: "$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise"
Everywhere else we use LTLIBINTL so I assume the tests should use it as well.
* plugins/t/check_users.t: Trick for check_users test without users
logged-in
2009-01-19 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/tinderbox_build: Build extra-opts in tinderbox so they can be
tested
2009-01-18 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/Makefile.am: Re-apply "Cleanup; fix the way libraries are
linked; Make-It-Simple(tm)"
This reverts commit 7449b16b1781c645751e2c05b93893e93630fb2a.
* gl/wchar.in.h: Trying out new patch for IRIX 6.5 from Bruno Haible
See: http://article.gmane.org/gmane.comp.lib.gnulib.bugs/16341
* gl/wchar.in.h: Revert "Trying out a patch for IRIX 11"
This reverts commit d190c5d25865a7414eea4fe6409a94842fba220e.
2009-01-16 Thomas Guyot-Sionnest <dermoth@aei.ca>
* gl/wchar.in.h: Trying out a patch for IRIX 11
See: http://lists.gnu.org/archive/html/bug-gnulib/2009-01/msg00098.html
2009-01-15 Thomas Guyot-Sionnest <dermoth@aei.ca>
* configure.in: Removing AC_FUNC_ALLOCA from configure.in (added in the
gnulib sync commit)
I added AC_FUNC_ALLOCA because of a mistake on my part (which has been fixed
before the final commit). Removing it now.
* lib/tests/test_disk.c: Typo
* .gitignore, build-aux/config.rpath, configure.in, gl/Makefile.am,
gl/alloca.in.h, gl/arpa_inet.in.h, gl/base64.c, gl/base64.h, gl/btowc.c,
gl/config.charset, gl/errno.in.h, gl/fcntl.in.h, gl/float.in.h,
gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h, gl/gethostname.c,
gl/getloadavg.c, gl/getopt.c, gl/inet_ntop.c, gl/localcharset.c,
gl/m4/absolute-header.m4, gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4,
gl/m4/btowc.m4, gl/m4/c-strtod.m4, gl/m4/codeset.m4,
gl/m4/double-slash-root.m4, gl/m4/eoverflow.m4, gl/m4/errno_h.m4,
gl/m4/extensions.m4, gl/m4/fcntl_h.m4, gl/m4/fsusage.m4,
gl/m4/getaddrinfo.m4, gl/m4/gethostname.m4, gl/m4/getloadavg.m4,
gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4,
gl/m4/gnulib-tool.m4, gl/m4/hostent.m4, gl/m4/iconv.m4,
gl/m4/include_next.m4, gl/m4/inet_ntop.m4, gl/m4/inline.m4,
gl/m4/intdiv0.m4, gl/m4/intldir.m4, gl/m4/intlmacosx.m4,
gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4,
gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4,
gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/localcharset.m4,
gl/m4/locale-fr.m4, gl/m4/locale-ja.m4, gl/m4/locale-zh.m4,
gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/ls-mntd-fs.m4, gl/m4/malloc.m4,
gl/m4/math_h.m4, gl/m4/mbrtowc.m4, gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4,
gl/m4/mountlist.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4,
gl/m4/netinet_in_h.m4, gl/m4/nls.m4, gl/m4/onceonly.m4, gl/m4/open.m4,
gl/m4/po.m4, gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4,
gl/m4/regex.m4, gl/m4/servent.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4,
gl/m4/sockpfaf.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4,
gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4, gl/m4/strerror.m4,
gl/m4/string_h.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4,
gl/m4/sys_socket_h.m4, gl/m4/threadlib.m4, gl/m4/uintmax_t.m4,
gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4, gl/m4/visibility.m4,
gl/m4/vsnprintf.m4, gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4,
gl/m4/wctype.m4, gl/m4/wint_t.m4, gl/m4/write.m4, gl/m4/xsize.m4,
gl/math.in.h, gl/mbrtowc.c, gl/mbsinit.c, gl/netdb.in.h,
gl/netinet_in.in.h, gl/open-safer.c, gl/open.c, gl/regcomp.c,
gl/regex_internal.c, gl/regex_internal.h, gl/regexec.c, gl/snprintf.c,
gl/stdbool.in.h, gl/stdint.in.h, gl/stdio-write.c, gl/stdio.in.h,
gl/stdlib.in.h, gl/strdup.c, gl/streq.h, gl/strerror.c, gl/string.in.h,
gl/sys_socket.in.h, gl/unistd.in.h, gl/vasnprintf.c, gl/vasprintf.c,
gl/verify.h, gl/vsnprintf.c, gl/wchar.in.h, gl/wcrtomb.c,
gl/wctype.in.h, gl/write.c, gl/xalloc.h, gl/xmalloc.c, gl/xsize.h,
plugins/Makefile.am, plugins/netutils.h: Sync with gnulib
* tap/tap.h: Clean up last commit - remove the __STDC_VERSION__ check in
tap.h
HP-UX refuses to compile tap with the check for __STDC_VERSION__ >= 199901L
even though it can.
2009-01-14 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tap/tap.h: Trying to see if HP-UX will compile without the
__STDC_VERSION__ check in tap.h
2009-01-13 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/Makefile.am: Make /lib before /lib/tests to satisfy dependencies
(building tests fails on IRIX)
2009-01-09 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_utils.c: Fix test from last commit
* lib/tests/test_utils.c: basename check in test_utils.c was accidentaly
added again.
In 538b97c I reverted a serie of libtap patch by Ton Voon; it included
the removal of the useless basename check.
Relevant portion of the changelog from which it was removed (f31cd40):
Removed basename test as we should use base_name from GNUlib which is
tested separately
* lib/Makefile.am, lib/tests/Makefile.am: Revert "Cleanup; fix the way
libraries are linked; Make-It-Simple(tm)"
Trying to see if this has any relation to the tinderbox failure. I doubt it
and will revert back as soon as it's tested.
This reverts commit a97e5fbda21a05574b0e3c5a5118402ebfbbd13c.
2009-01-08 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/tests/test_utils.c: Try to make IRIX happy (this fixes a similar
warning in Solaris)
2009-01-07 Thomas Guyot-Sionnest <dermoth@aei.ca>
* lib/Makefile.am, lib/tests/Makefile.am: Cleanup; fix the way libraries
are linked; Make-It-Simple(tm)
lib/Makefile.am | 2 +-
lib/tests/Makefile.am | 37 ++++---------------------------------
2 files changed, 5 insertions(+), 34 deletions(-)
2009-01-06 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/git2svn.pl: git2svn: Use --add-author-from with "git set-tree"
* tools/tinderbox_build: tinderbox_build: Add --enable-libtap configure
option
* tools/tinderbox_build: tinderbox_build: Clarify comment
2008-12-23 Ton Voon <tonvoon@macbook.local>
* plugins/check_snmp.c: Allow privproto to be passed through check_snmp
to snmpget. Defaults to DES
for compatibility
2008-12-03 Thomas Guyot-Sionnest <dermoth@aei.ca>
* NEWS, THANKS.in, plugins/check_mrtg.c: check_mrtg: fix plugin
returning UNKNOWN instead of OK (bug #2378068)
2008-12-02 Ton Voon <tonvoon@macbook.local>
* tools/sfsnapshot: Updated to latest due to SF policy changes
2008-11-28 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore, Makefile.am, NEWS, configure.in, lib/tests/Makefile.am,
tap/Makefile.am, tap/README, tap/tap.3, tap/tap.c, tap/tap.h,
tap/tests/Makefile.am, tap/tests/README, tap/tests/diag/Makefile.am,
tap/tests/diag/test.c, tap/tests/diag/test.pl, tap/tests/diag/test.t,
tap/tests/fail/Makefile.am, tap/tests/fail/test.c,
tap/tests/fail/test.pl, tap/tests/fail/test.t, tap/tests/ok/Makefile.am,
tap/tests/ok/ok-hash/Makefile.am, tap/tests/ok/ok-hash/test.c,
tap/tests/ok/ok-hash/test.pl, tap/tests/ok/ok-hash/test.t,
tap/tests/ok/ok-numeric/Makefile.am, tap/tests/ok/ok-numeric/test.c,
tap/tests/ok/ok-numeric/test.pl, tap/tests/ok/ok-numeric/test.t,
tap/tests/ok/ok/Makefile.am, tap/tests/ok/ok/test.c,
tap/tests/ok/ok/test.pl, tap/tests/ok/ok/test.t,
tap/tests/pass/Makefile.am, tap/tests/pass/test.c,
tap/tests/pass/test.pl, tap/tests/pass/test.t,
tap/tests/plan/Makefile.am, tap/tests/plan/no-tests/Makefile.am,
tap/tests/plan/no-tests/test.c, tap/tests/plan/no-tests/test.pl,
tap/tests/plan/no-tests/test.t, tap/tests/plan/no_plan/Makefile.am,
tap/tests/plan/no_plan/test.c, tap/tests/plan/no_plan/test.pl,
tap/tests/plan/no_plan/test.t,
tap/tests/plan/not-enough-tests/Makefile.am,
tap/tests/plan/not-enough-tests/test.c,
tap/tests/plan/not-enough-tests/test.pl,
tap/tests/plan/not-enough-tests/test.t, tap/tests/plan/sane/Makefile.am,
tap/tests/plan/sane/test.c, tap/tests/plan/sane/test.pl,
tap/tests/plan/sane/test.t, tap/tests/plan/skip_all/Makefile.am,
tap/tests/plan/skip_all/test.c, tap/tests/plan/skip_all/test.pl,
tap/tests/plan/skip_all/test.t,
tap/tests/plan/too-many-plans/Makefile.am,
tap/tests/plan/too-many-plans/test.c,
tap/tests/plan/too-many-plans/test.pl,
tap/tests/plan/too-many-plans/test.t,
tap/tests/plan/too-many-tests/Makefile.am,
tap/tests/plan/too-many-tests/test.c,
tap/tests/plan/too-many-tests/test.pl,
tap/tests/plan/too-many-tests/test.t, tap/tests/skip/Makefile.am,
tap/tests/skip/test.c, tap/tests/skip/test.pl, tap/tests/skip/test.t,
tap/tests/todo/Makefile.am, tap/tests/todo/test.c,
tap/tests/todo/test.pl, tap/tests/todo/test.t: Add Libtap as a bundled
library (does not change any behaviour without --enable-libtap)
Detects system library as pre-1.4.13 and does not install the built-in library anymore
Tested on:
- Linux x86_64, with and without local libtap (System libtap installed)
- Linux x86, with and without local libtap (System libtap NOT installed)
- Solaris SPARC, with and without local libtap, with and without system libtap installed
* Makefile.am, configure.in, external/README,
external/tap-1.01-nagios-plugins.tar.gz, lib/tests/Makefile.am,
lib/tests/test_all.t, lib/tests/test_base64.t, lib/tests/test_cmd.t,
lib/tests/test_disk.t, lib/tests/test_ini.t, lib/tests/test_opts.t,
lib/tests/test_tcp.t, lib/tests/test_utils.c, lib/tests/test_utils.t,
tools/setup: Revert inclusion of libtap into nagiosplugins
(except for the NEWS file)
This reverts the following commits (latest first): f3e0909, 9f16b54, be8df51, f31cd40, 5270c7d, a25083f, f1bfe40, c503d85 and 6c476db
2008-11-27 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/tinderbox_build: tinderbox: Don't alter SunOS path if we're
building off a repository tree
SunOS make will work only out of snapshots and releases.
2008-11-26 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins-root/Makefile.am, plugins-scripts/Makefile.am,
plugins/Makefile.am: Fixing build breakages (I totally forgot this rule
was there...)
* NP-VERSION-GEN: Fix it for good now
* NP-VERSION-GEN: Minor fix in NP-VERSION-GEN
* Makefile.am, NP-VERSION-GEN, configure.in, plugins-root/Makefile.am,
plugins-scripts/Makefile.am, plugins/Makefile.am: Disable dynamic
versionning for releases, and allow generating version out of
subversion.
This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.
At the same time I added code for generating svn-based version strings.
2008-11-25 Thomas Guyot-Sionnest <dermoth@aei.ca>
* plugins-root/Makefile.am, plugins-scripts/Makefile.am,
plugins/Makefile.am: Workaround to support more make programs
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
* plugins-scripts/Makefile.am: Exporting ENV vars from Makefile is
supported only with GNU Make. Use the shell instead.
2008-11-24 Thomas Guyot-Sionnest <dermoth@aei.ca>
* tools/distclean: No need to bailout on distclean failures
* tools/tinderbox_build: Revert "tinderbox: Comment out additional PATH
conponent added for SunOS builds"
This reverts commit 088452683cf881c6ed717cc559ca2eee3faa95ca.
2008-11-23 Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net>
* tools/tinderbox_build: tinderbox: Comment out additional PATH
conponent added for SunOS builds
* plugins-root/Makefile.am, plugins-scripts/Makefile.am,
plugins/Makefile.am: Avoid the use of .PHONY (target s created twice and
I have no idea if it's right).
2008-11-23 Thomas Guyot-Sionnest <dermoth@aei.ca>
* .gitignore: Update .gitignore to include missing file/extention
* .gitignore: Add .gitignore (Imported from svn:ignore)
2008-11-23 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* BRANCHES, Makefile.am, NP-VERSION-GEN, NPTest.pm, acinclude.m4,
autogen.sh, command.cfg.in, configure.in, contrib/check_adptraid.sh,
contrib/check_apc_ups.pl, contrib/check_appletalk.pl,
contrib/check_arping.pl, contrib/check_email_loop.pl,
contrib/check_fan_cpq_present, contrib/check_fan_fsc_present,
contrib/check_frontpage, contrib/check_http-with-client-certificate.c,
contrib/check_hw.sh, contrib/check_ica_master_browser.pl,
contrib/check_ica_metaframe_pub_apps.pl,
contrib/check_ica_program_neigbourhood.pl,
contrib/check_inodes-freebsd.pl, contrib/check_javaproc.pl,
contrib/check_joy.sh, contrib/check_log2.pl, contrib/check_lotus.pl,
contrib/check_mem.pl, contrib/check_ms_spooler.pl,
contrib/check_ora_table_space.pl, contrib/check_oracle_instance.pl,
contrib/check_oracle_tbs, contrib/check_pfstate, contrib/check_rbl.c,
contrib/check_smb.sh, contrib/check_snmp_disk_monitor.pl,
contrib/check_snmp_printer.pl, contrib/check_snmp_process_monitor.pl,
contrib/check_snmp_procs.pl, contrib/check_temp_cpq,
contrib/check_temp_fsc, contrib/check_traceroute.pl,
contrib/check_uptime.c, contrib/check_vcs.pl, contrib/check_wins.pl,
contrib/packet_utils.pm, contrib/utils.py, doc/BRANCHING,
doc/developer-guidelines.sgml, lib/extra_opts.c, lib/parse_ini.c,
lib/tests/test_base64.c, lib/tests/test_cmd.c, lib/tests/test_disk.c,
lib/tests/test_ini.c, lib/tests/test_opts.c, lib/tests/test_tcp.c,
lib/tests/test_utils.c, lib/utils_base.c, lib/utils_cmd.c,
lib/utils_disk.c, lib/utils_tcp.c, plugins-root/Makefile.am,
plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins-root/t/check_icmp.t, plugins-scripts/Makefile.am,
plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl,
plugins-scripts/check_file_age.pl, plugins-scripts/check_flexlm.pl,
plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_log.sh, plugins-scripts/check_mailq.pl,
plugins-scripts/check_mssql.pl, plugins-scripts/check_netdns.pl,
plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh,
plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh,
plugins-scripts/check_wave.pl, plugins-scripts/subst.in,
plugins-scripts/t/check_file_age.t, plugins-scripts/t/check_rpc.t,
plugins-scripts/t/utils.t, plugins-scripts/utils.pm.in,
plugins/Makefile.am, plugins/check_apt.c, plugins/check_by_ssh.c,
plugins/check_cluster.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide_smart.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/common.h, plugins/negate.c, plugins/netutils.c,
plugins/netutils.h, plugins/popen.c, plugins/popen.h, plugins/runcmd.c,
plugins/runcmd.h, plugins/sslutils.c, plugins/t/check_by_ssh.t,
plugins/t/check_cluster.t, plugins/t/check_dig.t,
plugins/t/check_disk.t, plugins/t/check_dns.t, plugins/t/check_dummy.t,
plugins/t/check_fping.t, plugins/t/check_ftp.t, plugins/t/check_hpjd.t,
plugins/t/check_http.t, plugins/t/check_imap.t,
plugins/t/check_jabber.t, plugins/t/check_load.t,
plugins/t/check_mysql.t, plugins/t/check_mysql_query.t,
plugins/t/check_nagios.t, plugins/t/check_ntp.t, plugins/t/check_ping.t,
plugins/t/check_pop.t, plugins/t/check_procs.t, plugins/t/check_smtp.t,
plugins/t/check_snmp.t, plugins/t/check_swap.t, plugins/t/check_tcp.t,
plugins/t/check_time.t, plugins/t/check_udp.t, plugins/t/check_users.t,
plugins/t/negate.t, plugins/urlize.c, plugins/utils.c, plugins/utils.h,
test.pl.in, tools/README, tools/git2svn.pl, tools/mini_epn.c,
tools/setup, tools/tinderbox_build: Removing CVS/SVN tags and replacing
with git-based versioning
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-20 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c: Add comment to recent check_disk patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2088 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/parse_ini.c, lib/utils_base.c, lib/utils_disk.c,
plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins-root/pst3.c, plugins/check_apt.c, plugins/check_cluster.c,
plugins/check_disk.c, plugins/check_dns.c, plugins/check_dummy.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ldap.c, plugins/check_mrtg.c, plugins/check_mysql.c,
plugins/check_nagios.c, plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_radius.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c,
plugins/netutils.c, plugins/popen.c, plugins/urlize.c: Bulk EOL cleanup
$ git diff --ignore-space-change|diffstat
0 files changed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_ntp.c, plugins/check_ntp_peer.c: Fixed buffer
overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2086 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, lib/utils_disk.c, plugins/check_disk.c: check_disk:
rerpopulate the mount list after doing a stat() on paths specified with
-p for better automount support.
NB: There's a memory leak here - properly freeing the mount list would invlove
much more work - there's many other places where leaks can happen so it
should be a project on its own.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2085 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-14 Ton Voon <tonvoon@users.sourceforge.net>
* tools/sfupload: Helper script to upload tarballs to SF and create
md5sum
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2081 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-11 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Updated tinderbox link
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2080 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_nt.c: Add missing long options for check_nt (for
use with extra-opts)
Extra-opts (ini files) requires long-options for setting up arguments. Added
the missing ones for check_nt so that it can be properly used with extra-opts.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2079 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_ide_smart.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql_query.c,
plugins/check_nt.c: Fix long options parsing in check_disk, check_dns,
check_mrtg and check_mrtgtraf (check_tcp was done in an earlier commit)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2078 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: Added Jan for check_http method patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2077 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins/check_http.c, plugins/tests/check_http.t:
Fixed bug where extra headers and redirect caused segfault (Dieter Van
de Walle - 2089159)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2076 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_http.c, plugins/tests/check_http.t: check_http now
has options to specify the HTTP method (Jan - 2155152)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2075 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: Fix for tar on Solaris
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2074 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-07 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, THANKS.in, plugins-root/check_icmp.c: check_icmp now reports min
and max round trip time perfdata (Steve Rader)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2073 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_tcp.c: Fix check_tcp longoptions handling
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2072 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05 Ton Voon <tonvoon@users.sourceforge.net>
* lib/tests/Makefile.am: Need to add in the libgnu.la for Solaris and
other platforms
where missing functions have been replaced by GNUlib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2071 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS: Missing NEWS item
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2070 f882894a-f735-0410-b71e-b25c423dba1c
* lib/extra_opts.c, lib/tests/test_opts.c: Fix calculation of extra-opts
parameters.
By reading the current list instead of the additional one when counting parameters, extra-opts calculation was allocating insuficient space for the final array if later sections contained more arguments than the sum of all previously parsed sections.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2069 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, NEWS, configure.in: Fixed libtap dependency issue.
Warning: will install tap into lib directories
if ./configure --enable-libtap is used, but as development tool, will be okay
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2068 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_http.t: Fix check_http test (altinity.com redirects
now).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2067 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-04 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/tests/test_ini.c, lib/tests/test_opts.c: Fixed the test (not the
bug yet) and added similar one to test_ini (that one works)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2066 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/test_opts.c: Corrected test_opts plan
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2065 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/plugins.ini, lib/tests/test_opts.c: Adding extra-opts check
that crash on my prod servers (*** glibc detected *** malloc(): memory
corruption: 0x0804e248 ***)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2064 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, lib/parse_ini.c, lib/tests/plugin.ini: Make extra-opts (C
plugins) behave more like N::P:
N::P allows both '#' and ';' for comments. Extra-opts used to allow only '#', it now allows both (';' is the standard for ini files)
Extra-opts does not allow trailing comments anymore (like N::P)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2063 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins/check_ups.c: check_ups now sends a LOGOUT
string (debian bug #387001)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2062 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-22 Matthias Eble <psychotrahe@users.sourceforge.net>
* BUGS, NEWS, plugins-scripts/check_ifoperstatus.pl: check_ifoperstatus
-n flag now works as expected (sf.net #1569488)
check_ifoperstatus now supports ifType based lookup for ifIndex
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2061 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-21 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, tools/tinderbox_build: Updated tinderbox server
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2060 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_users.c: check-users thresholds was >= rather than
> as documented.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2059 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-25 Ton Voon <tonvoon@users.sourceforge.net>
* BUGS, ChangeLog, NEWS, configure.in, package.def: Preparation for
1.4.13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2057 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/tests/check_http.t: Fix small test failure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c
* doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Moving project
administration documents to nagiosplugins.org site
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2055 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp_peer.c: Typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2054 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-02 Holger Weiss <hweiss@users.sourceforge.net>
* THANKS.in, plugins/check_http.c: Some HTTP server
applications/configurations cause trouble if the port is
explicitly specified in our "Host:" header line. Therefore, we now specify the
port only if we're using a non-default port (Erik Wasser - 2082501).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2053 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp_peer.c: Fix possible segfault in
check_ntp_peer with deliberately invalid packets
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2052 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-01 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp_peer.c, plugins/check_ntp_time.c:
check_ntp_peer/check_ntp_time used to show port in --help but ignored
the argument - now implemented.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2051 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins/check_http.c: Revert "Re-structure the HTTP
1.1 headers to prevent 301s on servers with virtual hosts"
This reverts commit 2030
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2050 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-01 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_http.c: Under some circumstances, the 'url' path of a
redirection target missed
a leading slash. While this was fixed later on, the incomplete 'url'
was used for redirection loop detection and error messages. This is now
fixed by adding the missing slash immediately.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2049 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/tests/check_http.t: Fix HTTP::Daemon::VERSION to get a fixed
header size for tests
(Sven Nierlein)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2048 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/tests/check_http.t: Updated with more tests re: multiple
status codes (Sven Nierlein)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2047 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_http.c, plugins/tests/check_http.t: The
"-e" option now accepts a comma-delimited list of expected status
lines (Sven Nierlein - 1894496).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2046 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-22 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/tests/check_http.t, plugins/tests/var/root: Added HTTP tests
for status codes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2045 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Only include extra-opts tests if libtap is enabled
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2044 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: Note re: --enable-libtap
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2043 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/Makefile.am, lib/tests/test_all.t, lib/tests/test_base64.t,
lib/tests/test_cmd.t, lib/tests/test_disk.t, lib/tests/test_ini.t,
lib/tests/test_opts.t, lib/tests/test_tcp.t, lib/tests/test_utils.c,
lib/tests/test_utils.t: Correctly link to included libtap. Simplify
invoking test scripts.
Removed basename test as we should use base_name from GNUlib which is
tested separately
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2042 f882894a-f735-0410-b71e-b25c423dba1c
* tools/tinderbox_build: Fix regexp of version number of snapshot
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Remove .svn files in distribution
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2040 f882894a-f735-0410-b71e-b25c423dba1c
* external/tap-1.01-nagios-plugins.tar.gz, tools/setup: Renamed altered
tap file to nagios-plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2039 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp_peer.c: Nothing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2038 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp_peer.c: Misplaced comment
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2037 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp_peer.c: Complete rewrite of the extract_value
function
The original one was flawed (easy to trigger segfaults) and did not allow some whitespaces as permitted by rfc1305. This one has been troughfully tested with tap (the testing code might get included later)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2036 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c, lib/parse_ini.h, lib/tests/test_opts.c: Typos in
comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2035 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-16 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_mysql.c, plugins/check_mysql_query.c: Fix assignment
written as a comparison in validate_arguments() when db_pass is NULL
(Patch from http://blog.barfoo.org/projects/rpms-for-sles10)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2034 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_fping.c: Fix check_fping --help output (Patch from
http://blog.barfoo.org/projects/rpms-for-sles10)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2033 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_by_ssh.t: Typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2032 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/pst3.c: Close on fd
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_http.c: Re-structure the HTTP 1.1
headers to prevent 301s on servers with virtual hosts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2030 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Typo in --help output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2029 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* tools/devmode: Set -D_FORTIFY_SOURCE=2, and added a comment with link
to explaination of this flag.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2028 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-28 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins-root/check_icmp.c: -b option now specifies ICMP data bytes
instead of packet size
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2027 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-17 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, plugins-root/check_icmp.c: Add support for packet size
modification (-b)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2026 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-10 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c: Verbose should not have to exceed 3 as per
developement guidelines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2025 f882894a-f735-0410-b71e-b25c423dba1c
* tools/devmode: Add -D_FORTIFY_SOURCE
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2024 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ups.c: Typo in check_ups
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2023 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-09 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/t/check_snmp.t: rewrote check_snmp.t to use Test::More
added perfdata checking for string values
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2022 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_snmp.c: check_snmp now only prints perfdata for
non numeric values (Joerg Linge #1867716)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2021 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, tools/tinderbox_build: Removed libtap configuration for
the moment, as tinderbox builds
are breaking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2020 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, lib/utils_cmd.c, lib/utils_cmd.h, plugins/Makefile.am,
plugins/check_procs.c: check_procs captures stderr and adds to plugin
output. This is
from a merge of branch nagiosplug/branches/new_threshold_syntax 1979:1982
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2019 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-06 Holger Weiss <hweiss@users.sourceforge.net>
* plugins-root/check_dhcp.c: Don't try to set the "SO_BROADCAST" socket
option for unicast requests.
(Also, removed the unused "DHCP_UNICAST_FLAG" macro.)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2018 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-02 Ton Voon <tonvoon@users.sourceforge.net>
* lib/tests/Makefile.am: Use tap.h from the libtap directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2017 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/Makefile.am, plugins-root/pst3.c: Change pst3 again, this
time to remove use of kvm which is not
available in Solaris 10 non-global zones. Uses /proc, which is not
available in older versions of Solaris.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2016 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-30 Ton Voon <tonvoon@users.sourceforge.net>
* tools/setup: Fixed bug in tools/setup if docbook was run
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2015 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Have to list tap_dir manually to get into make dist
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2014 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-26 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, configure.in, external/README,
external/tap-1.01-altinity.tar.gz, lib/tests/Makefile.am, tools/setup,
tools/tinderbox_build: Adding libtap into distribution to help run C
based tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2013 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/pst3.c: Fixed possible coredump. Removed one level of
subroutines (Duncan Ferguson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2012 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-09 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, plugins/check_dig.c, plugins/t/check_dig.t: Added testcases for
check_dig
check_dig's -l option is mandatory now (#1986306)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2011 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-02 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, plugins-root/pst3.c: Optimised pst3 for systems with large
number of processes (Duncan Ferguson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2010 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, perlmods/Nagios-Plugin-0.22.tar.gz,
perlmods/Nagios-Plugin-0.27.tar.gz: Updated Nagios::Plugin perl modules
to 0.27
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2009 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-30 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_http.c: Fix Debian bug #460097:
check_http --max-age broken (Hilko Bengen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2008 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-29 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* BUGS: typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2007 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-27 Ton Voon <tonvoon@users.sourceforge.net>
* doc/RELEASING: Changed SF file release to use sftp instead of ftp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2006 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, ChangeLog, NEWS, configure.in, package.def: Preparation for
1.4.12 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2004 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, configure.in: Not picking up solaris systems correctly for
check_dhcp. Only
affected SunStudio compiles of check_dhcp (1890260 - Rob Windsor)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2003 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: Addition to help to state that -f will always
return OK if ssh command
is executed (Alain Dewit - 1852198)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2002 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/pst3.c: Add additional PID column heading
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2001 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-26 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS: correct typo in NEWS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2000 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-23 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* REQUIREMENTS: Add a note about radiusclient
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1999 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-22 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, configure.in: Fix linking against OpenSSL where libdl is
required
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1998 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-21 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_by_ssh.c, plugins/t/check_by_ssh.t: Fixed passive
option in check_by_ssh
Also:
- On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse (result from command) instead of always UNKNOWN.
- Fixed passive tests and make is always run the specified number of tests (using fail if there's nothing to test).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1997 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-20 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_by_ssh.t: Oops - forgot to remove the SKIP block
(which didn't seem to work fine)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1996 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_by_ssh.t: Add check_by_ssh tests (passive checks are
broken - should be fixed before next release!)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1995 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_radius.c: Clobber password in check_radius process
list aguments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1994 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-13 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_dns.c: Typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1992 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-07 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/utils.h: Added support for --extra-opts in all C plugins
(disabled by default, see configure --help)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1991 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins/check_ping.c: Added performance data to
check_ping (Christian Schneemann)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1990 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/negate.c: negate now has the ability to replace the
status text as well (-s, --substitute)
Also changed:
- default timeout to 11 instead of 9 (since it's recommended to have a higher timeout, and many plugins default to 10 seconds)
- If there's no STDOUT lines returned, still returns the returned result if it's NON-ok instead of forcing it to UNKNOWN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1989 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-30 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/t/check_mysql.t: Add socket support to check_mysql*
Also clears the password from check_mysql command-line options
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1988 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-29 Holger Weiss <hweiss@users.sourceforge.net>
* configure.in: Support "--without-pgsql" (reported by Alex Songe via
IRC).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1987 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-29 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c: Use UT_THRESHOLDS_NOTES in all plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1986 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c: --help output
cleanup (plus removal of spaces on blank lines)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1985 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-27 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_snmp.c, plugins/check_swap.c, plugins/check_ups.c,
plugins/utils.h: --help output cleanup (plus removal of spaces on blank
lines)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1984 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-23 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_radius.c: Correct typo and make the --help notes a bit
simpler.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1983 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-17 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_dns.c: Correct the help text
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1979 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_dns.c: Allow to repeat -a to set multiple possible
addresses
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1978 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp.c, plugins/check_ntp_peer.c: check_ntp and
check_ntp_peer now show proper jitter/stratum thresholds longopts in
--help
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1977 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-04 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/extra_opts.c, lib/parse_ini.c, lib/tests/test_ini.c,
lib/tests/test_opts.c: make parse_ini die like in N::P if section isn't
found
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1976 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/Makefile.config-opts, lib/tests/Makefile.config-opts: Delete
obsolete files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1974 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/Makefile.am, lib/parse_ini.c, lib/tests/Makefile.am,
lib/tests/test_ini.t, lib/tests/test_opts.t, po/de.po, po/fr.po,
po/nagios-plugins.pot: - Add --enable-extra-opts configure option for
compiling extra-opts support
- Auto-update po/pot files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1973 f882894a-f735-0410-b71e-b25c423dba1c
2008-04-01 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/parse_ini.c: fix the obvious...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1972 f882894a-f735-0410-b71e-b25c423dba1c
* lib/extra_opts.c, lib/extra_opts.h: np_extra_opts now retain pointers
from argv so that plugins can still overwrite sensitive options
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1971 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-31 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* commit d043862c154070b2c58172289899dd14776e2d03, Author: Thomas
Guyot-Sionnest <dermoth@users.sourceforge.net>, Date: 2008-03-31: update
svn:ignore property (last gnulib update added many auto-generated files)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1970 f882894a-f735-0410-b71e-b25c423dba1c
* lib/extra_opts.c, lib/extra_opts.h, lib/parse_ini.c, lib/parse_ini.h,
lib/tests/test_ini.c, lib/tests/test_opts.c: Fix for last commit - I
accidentaly broke my local Makefile and tests weren't being re-compiled.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1968 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-30 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/extra_opts.c, lib/extra_opts.h, lib/tests/test_opts.c: - Remove
the last argument of np_extra_opts
- Code cleanups and comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1967 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-29 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* commit af71e9fc0ef268b322c4f4677773273c07926a7a, Author: Thomas
Guyot-Sionnest <dermoth@users.sourceforge.net>, Date: 2008-03-26: Update
svn:ignore property
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1966 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-24 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/extra_opts.c, lib/extra_opts.h, lib/tests/config-opts.ini,
lib/tests/test_opts.c, lib/tests/test_opts.t: Add extra-opts argument
parsing with tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1961 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c, lib/parse_ini.h: Replace broken usage of
NAGIOS_CONFIG_PATH with a stub function (that will try to find a config
file in the future...)
Allow NULL locator (default file/section)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1960 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-20 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_dig.c: - Fix bug #1920671
- Make --help output looks nice
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1959 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-18 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/tests/check_procs.t: Include test for check_procs, using input
file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1955 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c, plugins/tests/var/ps-axwo.darwin,
plugins/tests/var/ps_axwo.debian: Updated check_procs with a hidden
--input-file option.
Include some sample outputs for testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1954 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_nagios.t: Don't run check_nagios tests on Solaris,
because of pst3 requirement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1953 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-16 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/tests/config-dos.ini, lib/tests/plugin.ini, lib/tests/test_ini.c:
Add tests:
- DOS-newline ini file
- section defined twice
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1951 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-15 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/parse_ini.c: parse_ini now reads the default section if the
request one can't be found.
All tests should return ok now.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1950 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c: Oops - this line shouldn't have been here (doesn't
even work anyways) ;)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1949 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c, lib/tests/plugin.ini, lib/tests/test_ini.c: - Make
equal-less parameters illegal
- parameters without argument after '=' are now assumed to be argument-less
- Add a testcase for space in stanza and various argument-less parameters
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1948 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c: Fix handling of leading and trailing spaces in stanza
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1947 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c, lib/tests/test_ini.c: Fix segfault in test_ini.c and
uncomment the affected tests
Fix bug in stanza parsing where full section could be skipped
Fix single-argument options
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1946 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c, lib/parse_ini.h, lib/tests/test_ini.c,
lib/tests/test_ini.t: This commit consist of two changes:
1. Make np_get_defaults return a linked list instead of a string. It will then be easy to convert the linked list back to an argument array.
2. Fix tests 3-4 of test_ini.c.
A test_ini.t was added too. parse_ini and test_ini aren't included yet in the build makefiles.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1945 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-15 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_http.c: Add port to Host Header to prevent problems with
non default ports (Christophe Dupre #1881898)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1944 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-14 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, plugins/check_dig.c: Added -A/--dig-arguments to check_dig
(#1889453/#1874041)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1943 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: Enhanced check_smtp to actually print invalid
response text (#1911239)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1942 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-14 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, plugins-root/Makefile.am, plugins/Makefile.am: Fixed 64 bit pst3
when tries to link to gettext. Gettext linked
dynamically, if necessary
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1941 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-14 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* gl/charset.alias, gl/configmake.h, gl/math.h, gl/ref-add.sed,
gl/ref-del.sed, gl/stdio.h, gl/stdlib.h, gl/string.h, gl/unistd.h: These
files are generated automatically during the make process, and removed
by make clean.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1940 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-11 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, gl/m4/mbstate_t.m4: Possible fix for HP-UX compile
problems of regex_internal.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1939 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/utils_base.c, plugins-root/Makefile.am,
plugins/check_http.c, plugins/check_smtp.c, plugins/common.h: Fixed link
-m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS
redefinition warnings. Fixed helper ar error in ./configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1938 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-28 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, configure.in, plugins-root/Makefile.am, plugins-root/pst3.c,
plugins/check_procs.c, plugins/t/check_procs.t: Reverted check_procs for
solaris back to using pst3 due to truncation
for argument fields using other methods
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1937 f882894a-f735-0410-b71e-b25c423dba1c
* tools/build_perl_modules: Fix where PERL5LIB is blank
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1936 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-18 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS: Added CVE MITRE tracking number
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1935 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-13 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, plugins/check_pgsql.c: check_pgsql now builds with postgres lib
v8.3 (Jan Wagner #1878972)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1934 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Fix --local argument handling (Jan Wagner
#1878971)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1933 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-13 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c: Fix broken intending (The whole file use spaces
only except my last patch and 1-3 other places).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1932 f882894a-f735-0410-b71e-b25c423dba1c
* commit fe2e5f4aecab99a1c361994e4b678d6709d65f6c, Author: Thomas
Guyot-Sionnest <dermoth@users.sourceforge.net>, Date: 2008-02-13: Add
two files to svn:ignore
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1931 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: News, nothing else.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1929 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: This floorf workaround is Nnot needed anymore since
floorf is part of Gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/test_base64.c: Reverting patch to test 8-bit data: Still
broken on Solaris (7-bit works as before)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1927 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-12 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* gl/Makefile.am, gl/base64.c, gl/base64.h, gl/charset.alias,
gl/configmake.h, gl/floor.c, gl/floorf.c, gl/m4/base64.m4,
gl/m4/floorf.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4,
gl/m4/math_h.m4, gl/math.h, gl/math.in.h, gl/ref-add.sed,
gl/ref-del.sed, gl/stdio.h, gl/stdlib.h, gl/string.h, gl/unistd.h,
lib/Makefile.am, lib/base64.c, lib/base64.h, lib/tests/Makefile.am,
lib/tests/test_base64.c, plugins/check_http.c, plugins/check_smtp.c:
Import Gnulib floorf and base64 and removed our old base64 library.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1926 f882894a-f735-0410-b71e-b25c423dba1c
* build-aux/config.rpath, build-aux/link-warning.h, gl/Makefile.am,
gl/alloca.c, gl/alloca.in.h, gl/asnprintf.c, gl/asprintf.c,
gl/basename.c, gl/c-strtod.c, gl/cloexec.c, gl/config.charset,
gl/creat-safer.c, gl/dirname.c, gl/dirname.h, gl/dup-safer.c,
gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/exitfail.h,
gl/fcntl--.h, gl/fcntl-safer.h, gl/fd-safer.c, gl/float+.h,
gl/float.in.h, gl/fsusage.c, gl/fsusage.h, gl/full-read.c,
gl/full-read.h, gl/full-write.c, gl/full-write.h, gl/gai_strerror.c,
gl/getaddrinfo.c, gl/getaddrinfo.h, gl/gethostname.c, gl/getloadavg.c,
gl/getopt.c, gl/getopt.in.h, gl/getopt1.c, gl/getopt_int.h,
gl/gettext.h, gl/inet_ntop.c, gl/inet_ntop.h, gl/intprops.h,
gl/localcharset.c, gl/localcharset.h, gl/m4/absolute-header.m4,
gl/m4/alloca.m4, gl/m4/extensions.m4, gl/m4/float_h.m4,
gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4, gl/m4/getloadavg.m4,
gl/m4/gettext.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4,
gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/include_next.m4,
gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intlmacosx.m4, gl/m4/intmax_t.m4,
gl/m4/lib-link.m4, gl/m4/localcharset.m4, gl/m4/lock.m4,
gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/malloc.m4,
gl/m4/mbchar.m4, gl/m4/mbiter.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4,
gl/m4/minmax.m4, gl/m4/netinet_in_h.m4, gl/m4/po.m4,
gl/m4/printf-posix.m4, gl/m4/regex.m4, gl/m4/snprintf.m4,
gl/m4/socklen.m4, gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4,
gl/m4/strcase.m4, gl/m4/strdup.m4, gl/m4/strerror.m4, gl/m4/string_h.m4,
gl/m4/strndup.m4, gl/m4/strnlen.m4, gl/m4/sys_socket_h.m4,
gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4, gl/m4/unistd_h.m4,
gl/m4/vasnprintf.m4, gl/m4/vasprintf.m4, gl/m4/vsnprintf.m4,
gl/m4/wchar.m4, gl/m4/wctype.m4, gl/m4/wcwidth.m4, gl/m4/wint_t.m4,
gl/malloc.c, gl/mbchar.c, gl/mbchar.h, gl/mbuiter.h, gl/memchr.c,
gl/minmax.h, gl/mountlist.c, gl/mountlist.h, gl/netinet_in.in.h,
gl/open-safer.c, gl/pipe-safer.c, gl/printf-args.c, gl/printf-args.h,
gl/printf-parse.c, gl/printf-parse.h, gl/ref-add.sin, gl/ref-del.sin,
gl/regcomp.c, gl/regex.c, gl/regex.h, gl/regex_internal.c,
gl/regex_internal.h, gl/regexec.c, gl/safe-read.c, gl/safe-read.h,
gl/safe-write.c, gl/safe-write.h, gl/size_max.h, gl/snprintf.c,
gl/snprintf.h, gl/stdbool.in.h, gl/stdint.in.h, gl/stdio.in.h,
gl/stdlib.in.h, gl/strcase.h, gl/strcasecmp.c, gl/strdup.c, gl/strdup.h,
gl/strerror.c, gl/string.in.h, gl/stripslash.c, gl/strncasecmp.c,
gl/strndup.c, gl/strndup.h, gl/strnlen.c, gl/strnlen.h, gl/strnlen1.c,
gl/sys_socket.in.h, gl/unistd--.h, gl/unistd-safer.h, gl/unistd.in.h,
gl/unistd_.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c,
gl/vasprintf.h, gl/vsnprintf.c, gl/vsnprintf.h, gl/wchar.in.h,
gl/wctype.in.h, gl/wcwidth.h, gl/xalloc-die.c, gl/xalloc.h,
gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c, gl/xstrndup.h,
plugins/common.h, po/Makevars: Sync to latest Gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1925 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-11 Ton Voon <tonvoon@users.sourceforge.net>
* REQUIREMENTS: Hints re: SSL features
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1924 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Added link to FAQ for redhat spopen problem
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1923 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins-root/pst3.c: Bump plugins-root/ to GPLv3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h, plugins/netutils.h, plugins/popen.h,
plugins/runcmd.h: Bump plugins/ to GPLv3 (header files)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1919 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/negate.c, plugins/netutils.c, plugins/popen.c,
plugins/runcmd.c, plugins/sslutils.c, plugins/urlize.c, plugins/utils.c:
Bump plugins/ to GPLv3 (non-plugind files)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1918 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_ups.c, plugins/check_users.c: Bump plugin/ to GPLv3
(check_overcr to check_users)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1917 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_cluster.c,
plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c,
plugins/check_nwstat.c: Bump plugins/ to GPLv3 (check_apt to
check_nwstat)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1916 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_disk.c, lib/utils_tcp.c: details...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1915 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/test_base64.c, lib/tests/test_cmd.c, lib/tests/test_disk.c,
lib/tests/test_ini.c, lib/tests/test_tcp.c, lib/tests/test_utils.c: Bump
lib/tests to GPLv3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1914 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c, lib/utils_base.c, lib/utils_cmd.c, lib/utils_disk.c,
lib/utils_tcp.c: Bump /lib to GPLv3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1913 f882894a-f735-0410-b71e-b25c423dba1c
* lib/parse_ini.c: new standardized GPLv3 header (will be applied to all
C files)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1912 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-29 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp_peer.c: check_ntp_peer now checks for the
LI_ALARM flag
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1911 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1910 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_ntp.c, plugins/check_ntp_time.c: Fix bugs and
flaws in best offset server selection of check_ntp_time and (deprecated)
check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1909 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-26 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_ntp_peer.c, plugins/check_ntp_time.c:
Fix help text of check_ntp_* (Bug #1880095)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1908 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-15 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_disk.c: Fix check_disk disk usage calculation when
using --group=NAME (related to bug #1348746)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1907 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, configure.in: Add AC_SYS_LARGEFILE to configure.in (check_disk
should now work with large file systems (2TB+) on all archs that
supports it)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1906 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-10 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/tests/test_cmd.c: Add a return-code check (also test cmd_run
without out/err buffers)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1905 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-09 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* tools/tinderbox_build: make test-debug generate lots of false errors
in tinderbox. Turning off until we find a solution (so al least we can
watch the tinderbox for breakages again)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1904 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_dns.c: Fixed reverse lookup damaged by previous commit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1903 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_dns.t: Changed default test values for check_dns
(using nagios.com)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1902 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_ftp.t, plugins/t/check_imap.t,
plugins/t/check_jabber.t, plugins/t/check_pop.t, plugins/t/check_tcp.t:
Reverted commits 1898 and 1899 due to reversion of 1879
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_tcp.c: Reverted commit 1879 where an invalid
hostname returns UNKNOWN - back to CRITICAL
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1900 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_imap.t, plugins/t/check_jabber.t,
plugins/t/check_pop.t: more r1879 fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1899 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_ftp.t, plugins/t/check_tcp.t: Fix test breakages for
commit r1879: check_tcp now returns UNKNOWN with an invalid hostname on
command line
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08 Holger Weiss <hweiss@users.sourceforge.net>
* plugins-root/check_icmp.c: Hide some debug output which was printed
even without "-v" (under
certain circumstances).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1897 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Fix the handling of ICMP packets which are
not echo replies (such as
destination unreachable messages) or which are not directed at us.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1896 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Get rid of a cast which increases the
required alignment.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1895 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Mark some constant strings "const".
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1894 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-07 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/netutils.c: Support "[IPv6]" address syntax.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1893 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: My assumption that "-H example.com:80" didn't
work (see my previous
commit) was wrong, it worked if used together with "-I". So, here's
support for "-H [IPv6]:port", "-H [IPv6]", "-H IPv6", "-H IPv4:port",
"-H IPv4", and "-H host:port".
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1892 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-06 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_http.c: Remove support for specifying the port number
using "-H example.com:80".
Since this didn't work anyway (because ":80" wasn't stripped from the
"host_name" after extracting the "server_port"), nobody can be using
this syntax, and it prevents "-H" from accepting IPv6 addresses
(neufeind - 1865082). IMO, fixing it to recognize both ":80" and IPv6
addresses isn't worth it, as the ":80" syntax doesn't seem very useful
for Nagios plugins (given the way how they are usually called in Nagios
command definitions).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1891 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-06 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/tests/test_base64.c: Fix base64 test (known string wasn't
null-terminated)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1890 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/test_cmd.c: Fix tinderbox breakage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1889 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-06 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_ldap.c: If unspecified set LDAP_OPT_SUCCESS to
LDAP_SUCCESS (Sergei Haramundanis - #1498923)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1888 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-05 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp.c, plugins/check_ntp_time.c: Fix Bug #1862300:
check_ntp_time segfault in 1.4.11 (Also apply to check_ntp)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1887 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-05 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_dns.c: check_dns now sorts addresses
for -a support with multiple address replies (Matthias Urlichs #1724052)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1886 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-04 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_procs.c: Cleaned check_procs usage output (Ferenc Wagner
#1862218)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1885 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-21 Holger Weiss <hweiss@users.sourceforge.net>
* plugins-root/check_icmp.c: Fix INADDR_NONE value (for systems which
don't define it).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1884 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Include <sys/sockio.h> (if available) to
get SIOCGIFADDR defined on
Solaris.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1883 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins-root/check_icmp.c: New "-s" option to specify
the source IP address (thanks to Harald Jenny
for providing the patch and to Patrick Cervicek for looking into it!)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1882 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-21 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ldap.c: Remove c formating from translated strings
(makes translation easier)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1881 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-19 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_ldap.c: Fix the "--help" output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1880 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-19 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, plugins/check_tcp.c: check_tcp now returns UNKNOWN with an
invalid hostname on command line
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1879 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-17 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_nt.c: Add check_nt -v INSTANCES
(Alessandro Ren)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1877 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nwstat.c: Fixed help output (Christian Mies)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1876 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: NEWS edited for consistent grammar
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1875 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, ChangeLog, NEWS, configure.in, package.def: Preparation for
1.4.11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1873 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins-root/Makefile.am: Fixed VPATH problem in
plugins-root (Tom Payerle - 1789000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1872 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, perlmods/Nagios-Plugin-0.21.tar.gz,
perlmods/Nagios-Plugin-0.22.tar.gz: Update to latest Nagios::Plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1871 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* commit 151531173bd50d66548effa50ef7393a8c680513, Author: Ton Voon
<tonvoon@users.sourceforge.net>, Date: 2007-12-12: Add build
files/binaries to the svn:ignore propt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1867 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_ntp.t: D'oh! single escape will be handled by Perl....
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1865 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp_peer.c, plugins/t/check_ntp.t: - Fix check_ntp_peer
returning misleading information when an ICMP message came back
- Try to fix some servers apparently exanding the ~ in threshold ranges in t/check_ntp.t
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1864 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11 Ton Voon <tonvoon@users.sourceforge.net>
* lib/tests/test_cmd.c: Fixed test so works on MacOSX (use /bin/sh
instead of /bin/grep).
Added extra test for missing command - should drop into STATE_UNKNOWN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1863 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/Makefile.am: Add verbose flag so each test result is seen,
rather than grouped by test
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1862 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins-root/check_icmp.c, plugins/check_cluster.c,
plugins/check_http.c, plugins/check_mrtgtraf.c, plugins/check_ntp.c,
plugins/check_ntp_peer.c, plugins/check_ntp_time.c: Adding missing
function calls needed for i18n (only for plugins already in POTFILES.in)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1861 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* po/fr.po: Some corrections
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1860 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_cluster.c, plugins/check_mysql.c,
plugins/check_radius.c, plugins/check_snmp.c, plugins/check_swap.c,
plugins/negate.c, po/de.po, po/fr.po, po/nagios-plugins.pot: Plenty of
french translations (and a few fixes BTW)
- No more fuzzy french translations
- Only (!) 355 strings to translate
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1859 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c: OOPS! Last commit should have included these
files.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1858 f882894a-f735-0410-b71e-b25c423dba1c
* po/de.po, po/fr.po, po/nagios-plugins.pot: D'autres translations -
Err, I mean more translations :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1857 f882894a-f735-0410-b71e-b25c423dba1c
* po/fr.po: More translations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1856 f882894a-f735-0410-b71e-b25c423dba1c
* po/de.po, po/fr.po, po/nagios-plugins.pot: re-update the po files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1855 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp_peer.c, po/fr.po: Some translations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1854 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10 Matthias Eble <psychotrahe@users.sourceforge.net>
* po/de.po, po/fr.po, po/nagios-plugins.pot: Localization updates for
recent changes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1853 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Fix output when response time is critical.
Thanks to Nobuhiro Ban (patch #1817228)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1852 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_load.c, plugins/t/check_load.t: Fixed check_load
argument handling when passing non triplet thresholds. Thanks to
Jonathan Kamens (bug #1831890)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1851 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-09 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* po/POTFILES.in, po/de.po, po/fr.po, po/nagios-plugins.pot: Gettin'
ready for some translation frenzy :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1850 f882894a-f735-0410-b71e-b25c423dba1c
* po/de.po, po/fr.po, po/nagios-plugins.pot: update po files and fix a
few French translations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1849 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-08 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_disk.c: Fix check_disk reporting OK if disk usage
grows over 100% (bug #1348746).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1848 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-04 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp_time.c: Interesting... For some reason it did not
take this (patch barfed on it and I thought I had fixed it already)...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1847 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/Makefile.am, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c, plugins/t/check_ntp.t: Merge changes from
branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time)
NEWS | 13
plugins/Makefile.am | 8
plugins/check_ntp_peer.c | 628 ++++++++++++++++-------------------------------
plugins/check_ntp_time.c | 323 ++----------------------
plugins/t/check_ntp.t | 92 +++++-
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1846 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp_peer.c, plugins/check_ntp_time.c: Add the new checks
as check_ntp copies to keep full plug-in history
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1843 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: missing word in comment block.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1838 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-23 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp.c: - Use max_state_alt in check_ntp to fix
some issues with the latest commits.
- Roll back the stratum check as there were issues with it and a better one is already implemented in check_ntp_peer (about to be included)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1830 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h: Add a max_state_alt function that
put UNKNOWN and DEPENDENT ahead of OK.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1829 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-11 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_cluster.c, plugins/check_snmp.c: Fix broken usage2
in check_snmp and check_cluster
Fix check_cluster blocking some special characters for thresholds ("-", "@", "~")
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1827 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-10 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp.c: Fix newly added stratum check (has to be
decreased by one when using normal NTP packets versus control packets)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1822 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* lib/tests/test_base64.c: Adding svn:keywords props
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1819 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/tests/Makefile.am, lib/tests/test_base64.c,
lib/tests/test_base64.t, tools/distclean: Adding test for base64 lib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1818 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, lib/base64.c, lib/base64.h, plugins/check_http.c,
plugins/check_smtp.c: Moved base64 function to /lib.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1817 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_tcp.h: Nothing to see here...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1816 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in: Credits of check_snmp fix for bug #1815362 (CVE-2007-5623)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1815 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: Fix check_snmp buffer overflow (CVE-2007-5623)
This patch comes from the Gentoo Portage tree but I couldn't find the author. I sent an email and will give credits when I get an answer.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1814 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ssh.c: Close the socket on all exits (not just the OK
one)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1813 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: Fix missing \n in --help output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1812 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-25 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp.c: check_ntp now return UNKNOWN instead of
WARNING if jitter is
unavailable. If no offset threshold is specified and
the offset is unavailable, will return UNKNOWN as well.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1811 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-25 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/check_dhcp.c, plugins/check_ping.c, plugins/check_ups.c,
tools/sync_website: Automatically update website with --help output.
Cosmetic
fixes for some help output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1810 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-24 Holger Weiss <hweiss@users.sourceforge.net>
* THANKS.in, plugins/check_snmp.c: Hide the SNMP community string (and
v3 passwords) from error messages
(Bernhard Fischer on nagiosplug-devel@)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1809 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-15 Ton Voon <tonvoon@users.sourceforge.net>
* doc/RELEASING: Add reparagraph option to make ChangeLog output bit
prettier
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1808 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-14 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_http.c: Fix a possible segfault if using "-f follow" and
the server sends a
forged "LLLLocation" header prefixed with multiple "L"s (fabiodds -
1813346)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1807 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-11 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_ntp.c: Add stratum thresholds support for
check_ntp (feature request #1703823)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1806 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Use provided threshold functions (no functionnal
change apart the check for overlaping thresholds)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1805 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-02 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, plugins/check_http.c: Fix regression in 1.4.10 where following
redirects to relative URLs on
virtual hosts failed if both "-H" and "-I" were specified (noted by
Rodrigo A. G. Schichaschwili on nagiosplug-devel@)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1804 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-29 Ton Voon <tonvoon@users.sourceforge.net>
* doc/RELEASING: Updated notes on releasing, mainly for svn
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1803 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, ChangeLog, NEWS, configure.in, package.def: Prep for 1.4.10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1801 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-26 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, plugins/check_radius.c: Drop the weird and undocumented
behaviour of using positional argument
parsing instead of getopt(3) if 8 command line arguments were given (as
suggested by Matthias) and check whether all required arguments have
been specified in order to spit out proper error messages and to avoid a
possible segfault (as suggested by Thomas).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1800 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-26 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, THANKS.in, plugins/check_ntp.c: Patch #1798774: check_ntp: honor
ntp flags
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1799 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-24 Ton Voon <tonvoon@users.sourceforge.net>
* perlmods/Nagios-Plugin-0.20.tar.gz,
perlmods/Nagios-Plugin-0.21.tar.gz: Update N::P with new version,
redirecting help, version and usage to
stdout
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1798 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: State that stderr should not have any
output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1796 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-24 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, configure.in, plugins/netutils.c: Let ./configure --without-ipv6
suppress non-IPv4 DNS lookups (noted by
Mark Frost on nagios-users@)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1794 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-23 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_disk.c, plugins/negate.c: Removed some c99 style
comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1793 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_by_ssh.c: Added multiline output capability to
check_by_ssh. Thanks to Matthias Flacke (#1769653)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1792 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS: removed solved issues
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1791 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS: Added radiusclient-ng support to requirement notes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1790 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_disk.c: Fixed bug: stat was called on remote fs
even if -l was given
Added -L option to call stat on remote fs but without threshold comparison
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1789 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, configure.in, plugins/check_radius.c: Added
radiusclient-ng support for check_radius. Thanks to Sebastien Guay
(#1218438)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1788 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22 Matthias Eble <psychotrahe@users.sourceforge.net>
* lib/utils_disk.c, lib/utils_tcp.c, plugins/check_disk.c: substituted
bool/true/false with int/TRUE/FALSE (discussed on np-devel)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1787 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, lib/tests/test_disk.c, lib/utils_disk.c, lib/utils_disk.h,
plugins/check_disk.c, plugins/t/check_disk.t: Added -i/-I to ignore
pathes/partitions based on regular expressions
Added check_disk -A selecting all filesystems
-E option must now be passed before -p or -r/-R
Passing -E after -p or -r results in UNKNOWN state
Fixed bug when mixing case sensitive and insensitive regexes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1786 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/negate.c, plugins/t/negate.t: Rewrite the "map changes
to return codes" patch nearly from scratch.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1785 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, configure.in, lib/Makefile.am, lib/tests/Makefile.am,
lib/tests/test_cmd.c, lib/tests/test_cmd.t, lib/utils_cmd.c,
lib/utils_cmd.h, plugins/Makefile.am, plugins/negate.c,
plugins/t/negate.pl, plugins/t/negate.t: Stop double expansion of
parameters for negate - works like
time command now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1784 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c: My solaris box needs %llu to display 64bits
integers.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1783 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: - Added some variables at verbose==3
- Removed support for verbose<0 (-q). -q was broken and tried to to the same as -e.
- -q in now an undocumented alias of -e (for backward-compatibility).
NB: Long help text for -d was already missing.
- Reordered the switches so that:
  a. less-important ones are in alphabetical order
b. short and long help orders match.
- Enclosed "-p | -x" inside braces instead of brackets as one or the other is required.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1782 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-17 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am: Include directories and files required for perl modules
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1781 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-15 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, plugins/check_smtp.c: Properly handle SMTP server responses
which are split into multiple
packets (noted by Chris Adams on nagiosplug-help@). TODO: The new
recvline()/recvlines() functions should buffer received data instead of
reading one byte at a time and they should be moved to netutils.c so
that other plugins can use them, too.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1780 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins-root/check_icmp.c: Correct all instances of misaligned
memory access. This fixes bus erros
on platforms which require alignment (such as SPARC and MIPS).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1779 f882894a-f735-0410-b71e-b25c423dba1c
* tools/devmode: Remove "-Wtraditional" from our development GCC flags.
We use ANSI C.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1778 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-13 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, configure.in, perlmods/Class-Accessor-0.31.tar.gz,
perlmods/Config-Tiny-2.10.tar.gz, perlmods/Makefile.am,
perlmods/Math-Calc-Units-1.06.tar.gz,
perlmods/Nagios-Plugin-0.20.tar.gz,
perlmods/Params-Validate-0.88.tar.gz, perlmods/Test-Simple-0.70.tar.gz,
perlmods/install_order, tools/build_perl_modules: Adding in optional
Nagios::Plugin perl module (and
dependencies) compilation and installation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1777 f882894a-f735-0410-b71e-b25c423dba1c
2007-08-28 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* contrib/check_apc_ups.pl, contrib/check_appletalk.pl,
contrib/check_linux_raid.pl, contrib/check_snmp_procs.pl: These plugins
assumed the "use lib util.pm;" would be substituted like standard Perl
plugins (in plugins-scripts) which isn't the case in contrib. I changed
the "use lib" line to use the default path. People using custom paths
will have to change it manually.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1771 f882894a-f735-0410-b71e-b25c423dba1c
2007-08-09 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_disk.c: Don't use C++ style comments (noted by Johannes
Kingma on
nagiosplug-help@)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1770 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-31 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_smtp.c: Read the response to an SMTP QUIT command before
closing the socket
(noted by Dieter Hendricks on nagiosplug-help@)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1769 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-29 Holger Weiss <hweiss@users.sourceforge.net>
* lib/utils_base.c: Don't use C++ style comments.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1768 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-27 Holger Weiss <hweiss@users.sourceforge.net>
* tools/tinderbox_build: If the TMPDIR environment variable is set, use
that instead of "/tmp" as
the installation directory.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1767 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-26 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, plugins-root/check_dhcp.c: The "--serverip" and "--requestedip"
options now accept host names, too.
This doesn't quite fit the option names and so far I haven't changed the
"--help" output which currently only talks about IP addresses. However,
I don't see why resolving host names should not be supported.
Also note that for the moment, I added a quick'n'dirty resolve_host()
function which should really go into netutils.c. I just wanted to think
about its interface a bit more before providing such a function globally.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1766 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins-root/check_dhcp.c: New "-m, --mac" option which allows
for specifying the MAC address to
use in the DHCP request.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1765 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_dhcp.c: Make sure strncpy(3)d buffers are
nul-terminated.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1764 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_dhcp.c: A few minor fixes/improvements which were
included with (but unrelated
to) the "--unicast" patch (Andreas Ericsson and Heiti Ernits - 1218235)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1763 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, configure.in, plugins-root/check_dhcp.c: New "-u,
--unicast" option which gives check_dhcp the ability to mimic a
DHCP relay server in order to check remote subnets (Heiti Ernits and
Andreas Ericsson - 1218235)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1762 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-24 Ton Voon <tonvoon@users.sourceforge.net>
* .cvsignore, build-aux/.cvsignore, doc/.cvsignore, gl/.cvsignore,
intl/.cvsignore, lib/.cvsignore, lib/tests/.cvsignore, m4/.cvsignore,
pkg/solaris/.cvsignore, plugins-root/.cvsignore,
plugins-scripts/.cvsignore, plugins/.cvsignore, plugins/t/.cvsignore,
po/.cvsignore: Removing all .cvsignore files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1761 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot, tools/sfwebcron: Updated to use svn instead of cvs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1760 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-21 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS, plugins/check_http.c: Add "Connection: close" to the HTTP
request header, which tells HTTP/1.1
servers to close the connection after completion of the response. This
should be compatible with HTTP/1.0, as HTTP/1.0 allows for custom header
fields which should be ignored if not recognized by the server. With
some server configurations, the server would keep the connection alive
without this header line (despite the plugin requesting HTTP/1.0),
resulting in the plugin running into either the server's or it's own
timeout (reported by Roman Schliessmeyer and Jesse Morgan via IRC).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1759 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-15 Matthias Eble <psychotrahe@users.sourceforge.net>
* THANKS.in, plugins/check_procs.c: Make ps column count in zombie
detection less restrictive. Thanks to Andrew Elwell (#1280470)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1758 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-14 Matthias Eble <psychotrahe@users.sourceforge.net>
* THANKS.in, plugins/check_smtp.c: Fixed segfault in argument
processing. Thanks to Christoph Schell (#1742066)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1757 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_ntp.c: check_ntp: Fixed typo in typo in
argument sanity check. Thanks to Aurelien Bompard (#1753506)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1756 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-10 Matthias Eble <psychotrahe@users.sourceforge.net>
* NEWS, plugins/check_disk.c: Added examples for new features to
check_disk
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1755 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_disk.c, plugins/t/check_disk.t: Check_disk now
calls stat() for all filesystems to check.
Check_disk prints an strerror() message if the call of stat() fails.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1754 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-07 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_ldap.c: Added -v/--verbose argument to call
ldap_perror() for detailed messages on failure.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1753 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: Changed output order of print_revision
print_revision now uses clean_revstring
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1752 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/utils.pm.in: Changed print_revision output order in
utils.pm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1751 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_file_age.pl: substituted $ID$ through $Revision$
in print_revision call
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1750 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_log.sh, plugins-scripts/check_oracle.sh,
plugins-scripts/utils.sh.in: Changed order in -V/--version output
Fixed -V output for check_log and check_oracle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1749 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-06 Matthias Eble <psychotrahe@users.sourceforge.net>
* doc/developer-guidelines.sgml: Added hint to avoid using the boolean
type in C as discussed on the devel list
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1748 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-20 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_ldap.c: Fixed default behaviour of check_ldaps
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1747 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_ldap.c: Clarified check_ldaps behaviour. New
arguments to explicitly select secure connect behaviour
(--starttls/--ssl).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1746 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_cluster.c: added -V/--version to check_cluster
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1745 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-18 Matthias Eble <psychotrahe@users.sourceforge.net>
* REQUIREMENTS, configure.in, plugins/.cvsignore: Make Linux specific
plugin check_ide_smart build if appropriate headers are found
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1744 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-17 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_http.c: Minor fixes.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1743 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/check_http.c: Fix buffer overflow vulnerabilities when
parsing HTTP redirect
'Location:' strings using sscanf(3) (Nobuhiro Ban - 1687867)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1742 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-15 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_http.c: When following redirects, the plugin supported
'Location:' header fields
which spanned multiple lines. However, it was not checked whether extra
lines are preceeded with white space, which could lead to the following
header field name being interpreted as the value of the 'Location:'
field if the latter was empty for some reason.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1741 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: `host_name' is a NULL pointer if the "-I" flag
is used instead of "-H",
so use `server_address' instead. Fixes a possible segfault when
following redirects to relative URLs (reported by Ingo Lantschner).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1740 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-13 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_ide_smart.c: Fixed some syntax errors to make
check_ide_smart build
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1739 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-12 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_by_ssh.c: Add "-v" to help/usage output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1738 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-12 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/popen.c: Removed debug line
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1737 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-11 Matthias Eble <psychotrahe@users.sourceforge.net>
* THANKS.in, plugins/popen.c: Fixed problem with popen.c not parsing
--longopt='foo bar' correctly (Daniel Bimschas #1291987)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1736 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-04 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: Removed duplicate names
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1735 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, ChangeLog, NEWS, configure.in, package.def: For 1.4.9 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1733 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-03 Matthias Eble <psychotrahe@users.sourceforge.net>
* lib/tests/test_tcp.c: Minor corrections to test_tcp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1732 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/Makefile.am: Makefile.am changes for test_tcp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1731 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/tests/.cvsignore, lib/tests/test_tcp.c,
lib/tests/test_tcp.t: Added test cases for utils_tcp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1730 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, lib/Makefile.am, lib/utils_tcp.c, lib/utils_tcp.h,
plugins/check_tcp.c: Moved check_tcp's expect string testing into
utils_tcp for testing purposes.
Added -A/--all flag to test for every expect string passed.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1729 f882894a-f735-0410-b71e-b25c423dba1c
2007-06-01 Holger Weiss <hweiss@users.sourceforge.net>
* BUGS, NEWS: Fix possible check_http segfaults when following HTTP
redirects.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1728 f882894a-f735-0410-b71e-b25c423dba1c
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1727 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/sslutils.c: Call the SSL library initialization functions only
once (not for every
SSL connection).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1726 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/sslutils.c: Save an entire CPU cycle if c points to NULL
already.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1725 f882894a-f735-0410-b71e-b25c423dba1c
* 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).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1724 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-29 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_tcp.c: Fix segfault when -e is specified multiple times.
Thanks to John Rouillard and Ralph Roessner (#1475899)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1723 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: No more warn/crit values in performance data if
-w and -c are not specified.
Thanks to Simon Bellwood (#1181554)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1722 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-29 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_snmp.c: check_snmp don't warn anymore if something
is printed on stderr
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1721 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: change a bunch of whitespaces (no code was
harmed)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1720 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-27 Matthias Eble <psychotrahe@users.sourceforge.net>
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1719 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-27 M. Sean Finney <seanius@users.sourceforge.net>
* 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.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1718 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-24 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/negate.pl: Test for new functionality in negate (not
automatically run in make test)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1717 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dummy.c, plugins/t/check_dummy.t: Tests for check_dummy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1716 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-23 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, plugins/check_http.c, po/de.po, po/fr.po, 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.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1715 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-18 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_tcp.t: Make check_tcp.t compatible with picky web
servers.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1714 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-13 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_http.c: Add missing options to the usage output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1713 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-13 Matthias Eble <psychotrahe@users.sourceforge.net>
* THANKS.in, plugins-root/check_dhcp.c: check_dhcp now adds mandatory
end option (Thanks to Enrico Scholz - #1675306)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1712 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-12 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_cluster.c: Fixed glibc error caused in utils_base.c due
to uninitialized thresholds struct (spotted on ubundu 6.06 LTS).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1711 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-12 Ton Voon <tonvoon@users.sourceforge.net>
* ABOUT-NLS, build-aux/mkinstalldirs, configure.in: 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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1710 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-09 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/check_ups.c: small typo in --help
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1709 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_ups.c: Fixed --help output (Ask Bjoern Hansen
- #1714823)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1708 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_disk.t: added testcase to verify that old positional
arguments only select one path
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1707 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-03 Matthias Eble <psychotrahe@users.sourceforge.net>
* 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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1706 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* tools/distclean: Making Solaris happy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1705 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: /* Nothing */
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1704 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins/check_time.c: Fix check_time returning wrong
OK when time is before the epoch on some arch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1703 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-28 Matthias Eble <psychotrahe@users.sourceforge.net>
* plugins/t/check_cluster.t: added test cases for check_cluster
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1702 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-25 Ton Voon <tonvoon@users.sourceforge.net>
* tools/tinderbox_build: Test installs into temporary directories
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1701 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, configure.in, plugins/check_load.c, plugins/common.h,
plugins/t/check_load.t: check_load can optionally divide by number of
cpus
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1700 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-23 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_ping.c: #ifdef can only test a single macro, not an
expression.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1699 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-20 Holger Weiss <hweiss@users.sourceforge.net>
* plugins-root/check_dhcp.c: Remove unused variables.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1698 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_cluster.c: Include "utils_base.h".
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1697 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_base.h: Declare print_thresholds().
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1696 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_cluster.c: Predeclare functions and remove unused
variables.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1695 f882894a-f735-0410-b71e-b25c423dba1c
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1694 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-19 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, configure.in: Fix compilation of check_ldap, check_radius and
check_pgsql (*ding*)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1693 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-18 Holger Weiss <hweiss@users.sourceforge.net>
* 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.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1692 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-15 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_cluster.c: Localization and help fixes (Thanks Benoit
M.)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1691 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_cluster.c: Cosmetic change
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1690 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_cluster2.README: More details about the changes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1689 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, plugins/Makefile.am, plugins/check_cluster.c: Add thresholds
support for check_cluster + lots of standardization.
Add forgotten items to NEWS.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1688 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, plugins/check_snmp.c: Fix bug #1344584: Counter64 values not
handled correctly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1687 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-14 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* BUGS: Works for me
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1686 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-14 Holger Weiss <hweiss@users.sourceforge.net>
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1685 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-13 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/.cvsignore: ... Some CVS magic too
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1684 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_cluster2.README, plugins/Makefile.am,
plugins/check_cluster.c: automake magic for check_cluster
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1683 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-11 Ton Voon <tonvoon@users.sourceforge.net>
* doc/RELEASING: Add news item to nagiosplugins.org
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1682 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, BUGS, ChangeLog, NEWS, configure.in, package.def: 1.4.8
release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1680 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-10 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* po/POTFILES.in, po/de.po, po/fr.po, po/nagios-plugins.pot: Add some
check_ntp translations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1679 f882894a-f735-0410-b71e-b25c423dba1c
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1678 f882894a-f735-0410-b71e-b25c423dba1c
* po/de.po, po/fr.po, po/nagios-plugins.pot: Hopefully this is correct.
Need to make more changes so I'm commiting these.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1677 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-04 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp.c: Fix for getting dispersion instead of jitter on
older servers (like xntpd on Solaris).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1676 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-03 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_ntp.c: Fix the synchronization source selection on
big-endian systems.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1675 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-03 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp.c: Temporary fix for jitter calculation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1674 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-02 Holger Weiss <hweiss@users.sourceforge.net>
* 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).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1673 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-02 Ton Voon <tonvoon@users.sourceforge.net>
* lib/tests/Makefile.am: Add libgnu.a as regex functions required
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1672 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ntp.c: Fix byte order in verbose logging
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1671 f882894a-f735-0410-b71e-b25c423dba1c
* 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.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1670 f882894a-f735-0410-b71e-b25c423dba1c
2007-04-01 Matthias Eble <psychotrahe@users.sourceforge.net>
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1669 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_disk.c: utils_disk: fixed handling if check_disk -p is a
device (np_set_best_match())
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1668 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-31 Holger Weiss <hweiss@users.sourceforge.net>
* NEWS: Various check_ntp fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1667 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Fix an out-of-bounds memcpy(3) and add a
realloc(3) error check in
jitter_request().
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1666 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Add a warning to the verbose output if
jitter_request() found no
synchronization source.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1665 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Avoid division by zero.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1664 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Remove the '-O' option, as it's ignored.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1663 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30 Ton Voon <tonvoon@users.sourceforge.net>
* m4/np_mysqlclient.m4: Use AS_HELP_STRING instead of ACX_HELP_STRING
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1662 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, configure.in, m4/np_mysqlclient.m4: Fix AC_CHECK_LIB for
mysql_init - add dependent libraries. mysql detection
separated into external m4 file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1661 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-30 Matthias Eble <psychotrahe@users.sourceforge.net>
* lib/tests/test_disk.c, plugins/t/check_disk.t: Test Cases for
check_disk's -r, -R, -C and -g
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1660 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: check_disk: minor fix for -C if bestmatch != -p
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1659 f882894a-f735-0410-b71e-b25c423dba1c
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1658 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c: check_disk:
added grouping functionality. see np-devel mail (2007-02-10)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1657 f882894a-f735-0410-b71e-b25c423dba1c
* 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)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1656 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-29 Holger Weiss <hweiss@users.sourceforge.net>
* THANKS.in, plugins/check_mysql.c: Fix argument processing (Felix Frank
- 1690697)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1655 f882894a-f735-0410-b71e-b25c423dba1c
* 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.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1654 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-29 Ton Voon <tonvoon@users.sourceforge.net>
* BUGS, ChangeLog, NEWS, configure.in, package.def: 1.4.7 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1652 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Adding help text for jitter flags
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1651 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-27 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* THANKS.in, plugins-root/check_icmp.c: Fix bug #1494629 - check_icmp
fails after some time on FreeBSD
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1650 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-25 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, configure.in: Reinstate --with-nagios-user/group and new
--without-group-permissions ./configure options
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1649 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-22 Holger Weiss <hweiss@users.sourceforge.net>
* THANKS.in, plugins/common.h: Increase MAX_INPUT_BUFFER from 1k to 8k
in order to increase I/O
performance (Stefan Meier)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1646 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-16 Gavin Carr <gonzai@users.sourceforge.net>
* plugins-scripts/check_ifoperstatus.pl: Fix bogus 'eq ( || )'
constructions in check_ifoperstatus.pl.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1642 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-12 Ton Voon <tonvoon@users.sourceforge.net>
* 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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1639 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-11 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins-root/t/check_icmp.t: Add tests for new check_icmp switch -m
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1638 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/t/check_icmp.t, plugins/t/check_ping.t: Converted
check_ping.t to new-style testcases. Added test case for check_icmp -
requires sudo access
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1637 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Fixed some help display. Removed -L from usage
as deprecated option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1636 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-08 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NEWS, THANKS.in, plugins-root/check_icmp.c: New switch to check_icmp
to set the minimum required hosts for success.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1635 f882894a-f735-0410-b71e-b25c423dba1c
* config_test/child_test.c: Ficing C++ style comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1634 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Fixed C++ style comments, but I don't get
why those lines were originally commented out.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1633 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-06 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_http.c: Fix option handling (Nobuhiro Ban - 1657280)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1632 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: Fixed compile errors in check_smtp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1631 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, THANKS.in, plugins/check_smtp.c: Fixed broken HELO cmd (Enrico
Scholz - 1675279)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1630 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS, configure.in, plugins/check_procs.c: Use /usr/ucb/ps on Solaris
in preference to pst3 (problems in 64bit mode)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1629 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_disk.t: Test failure if a filesystem which is a subset
of another fails the inode
check (Matthias Elbe - 1660953)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1628 f882894a-f735-0410-b71e-b25c423dba1c
* 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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1627 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Clearer message when --with-nagios-user is used for
./configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1626 f882894a-f735-0410-b71e-b25c423dba1c
* 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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1625 f882894a-f735-0410-b71e-b25c423dba1c
2007-03-02 Ethan Galstad <egalstad@users.sourceforge.net>
* plugins/check_mrtgtraf.c: Fix for broken check_mrtgtraf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1624 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-24 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* doc/makefile: Fix the makefile ('[[' is bash-specific, 'rm -f' don't
remove directories)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1623 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-14 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, contrib/check_sybase: check_sybase now maintained in
NagiosExchange
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1622 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Fixed typo in help for -M
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1621 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c, plugins/t/check_tcp.t: Documentation fix re:
--escape flag. Fix of ./check_tcp test to webservers
to make it more standards compliant
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1620 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-09 Ton Voon <tonvoon@users.sourceforge.net>
* NEWS, THANKS.in, po/.cvsignore, po/Makefile.in.in: Fixed MKINSTALLDIRS
problem on some systems - Lars Stavholm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1619 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-07 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.config-opts, lib/parse_ini.c,
lib/tests/Makefile.config-opts, lib/tests/config-tiny.ini,
lib/tests/plugin.ini, lib/tests/test_ini.c: Added test files to test the
parse_ini.c routines. Requires libtap
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1614 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-07 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_swap.c: Include <sys/param.h> before <sys/swap.h> in
order to fix compilation on
OpenBSD (nsturm - 1653934)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1613 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-06 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_tcp.c: Correct vim typo in comment block :P
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1612 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-06 Benoit Mortier <opensides@users.sourceforge.net>
* 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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1611 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-06 M. Sean Finney <seanius@users.sourceforge.net>
* lib/parse_ini.c, lib/parse_ini.h: initial version of ini file parsing
routines in C
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1610 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-06 Benoit Mortier <opensides@users.sourceforge.net>
* po/Makevars: adding PACKAGE_BUGREPORT to fix Report-Msgid-Bugs-To:
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1609 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-05 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS, doc/RELEASING: Update list of team members. More notes on new
releases
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1608 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, ChangeLog, NEWS, configure.in, package.def: For 1.4.6 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1606 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-02 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_snmp.c: Fix parsing of multiple OIDs sets needmibs =
TRUE
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1605 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-01 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_tcp.c, plugins/t/check_jabber.t: Fix progname being
partly set to upper case
Change formating of invalid hostname output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1604 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: Adding NEWS entry for check_jabber
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1603 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_log.sh: Fix bug #1593073 Check_Log problem with
log rotation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1602 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-31 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_jabber.t: Converted to new style object and Test::More
testing. Skipped jabber server
tests if not defined
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1601 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-31 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_jabber.t: Add check_jabber test. Will ask for a jabber
host (default should be OK)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1600 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: Fix Debian Bug #392610: check_jabber always
return warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1599 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-30 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_tcp.c: Jail does not requires any arguments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1598 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-30 Ton Voon <tonvoon@users.sourceforge.net>
* config.rpath: make dist failing without config.rpath in top level.
File copied
from build-aux/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1597 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-30 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_tcp.c, plugins/t/check_tcp.t: Fix reporting bug using
expect, affecting (not fixing) Debian bug #392610: check_jabber always
return warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1596 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-30 Holger Weiss <hweiss@users.sourceforge.net>
* configure.in: grep(1) "-q" isn't portable (e.g., it won't work on
Solaris 8), redirect
output to /dev/null instead.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1595 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-29 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c, plugins/t/check_disk.t: Revert 1643463 (reversed
disk thresholds) keeping the thresholds checks.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1594 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-29 Holger Weiss <hweiss@users.sourceforge.net>
* configure.in: Automake 1.10 says: "compiling `test_disk.c' with
per-target flags
requires `AM_PROG_CC_C_O' in `configure.in'".
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1593 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-29 Ton Voon <tonvoon@users.sourceforge.net>
* build-aux/config.rpath: Move config.rpath into build-aux for automake
1.10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1592 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-28 Holger Weiss <hweiss@users.sourceforge.net>
* INSTALLING: Remove description of deprecated ./configure
--with-nagios-{user,group}
options.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1591 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_dhcp.c, plugins/check_apt.c,
plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_dns.c,
plugins/check_fping.c, plugins/check_game.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c, plugins/utils.c, plugins/utils.h:
Don't try to print `optarg' (which will be a NULL pointer) if an unknown
command line option was used, as this leads to a segfault on some
systems. The unknown option will be printed by getopt(3) anyway. So,
simply call print_usage() and exit UNKNOWN via the new usage5() instead.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1590 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c, plugins/t/check_disk.t: Fix #1643463:
Miscalculating thresholds check_disk
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1589 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-27 Holger Weiss <hweiss@users.sourceforge.net>
* lib/utils_base.c: Change the variable names `true' and `false' (which
are keywords in C99)
to `yes' and `no'. Fixes compilation when using SGI's MIPSpro c99(1).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1588 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: Include GNULib's "dirname.h" in order to pull in the
base_name()
prototype, fixes compilation of check_procs using SGI's MIPSpro C.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1587 f882894a-f735-0410-b71e-b25c423dba1c
* ACKNOWLEDGEMENTS, NEWS: Fix typos.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1586 f882894a-f735-0410-b71e-b25c423dba1c
* NEWS: Added "-o,--ssh-option=OPTION" which hands "-o OPTION" over to
ssh(1) and
"-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1585 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_dhcp.c: Include <sys/param.h> which is a
prerequisite for <sys/sysctl.h> on
NetBSD and OpenBSD (at least).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1584 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-25 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, README, configure.in, doc/RELEASING: Update references to
NEWS instead of CHANGES. Fix compile of libtap
test programs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1583 f882894a-f735-0410-b71e-b25c423dba1c
* build-aux/.cvsignore, build-aux/ltmain.sh, config.guess, config.sub,
configure.in: Use build-aux directory. Removed unnecessary checks in
configure.in.
Keeping libtool to link to libtap - can't find a suitable replacement method
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1582 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-24 Ton Voon <tonvoon@users.sourceforge.net>
* ACKNOWLEDGEMENTS, NEWS, config.rpath, configure.in,
doc/developer-guidelines.sgml, gl/.cvsignore, plugins/Makefile.am,
plugins/check_procs.c, po/POTFILES.in: Various cleanups in the syncing
with gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1581 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, NEWS, config.rpath, configure.in,
doc/developer-guidelines.sgml, gl/Makefile.am, gl/alloca.c,
gl/alloca_.h, gl/asnprintf.c, gl/asprintf.c, gl/basename.c,
gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c, gl/cloexec.h,
gl/creat-safer.c, gl/dirname.c, gl/dirname.h, gl/dup-safer.c,
gl/error.c, gl/error.h, gl/exit.h, gl/exitfail.c, gl/exitfail.h,
gl/fcntl--.h, gl/fcntl-safer.h, gl/fd-safer.c, gl/fsusage.c,
gl/fsusage.h, gl/full-read.c, gl/full-read.h, gl/full-write.c,
gl/full-write.h, gl/gai_strerror.c, gl/getaddrinfo.c, gl/getaddrinfo.h,
gl/gethostname.c, gl/getloadavg.c, gl/getopt.c, gl/getopt1.c,
gl/getopt_.h, gl/getopt_int.h, gl/gettext.h, gl/inet_ntop.c,
gl/inet_ntop.h, gl/intprops.h, gl/m4/absolute-header.m4,
gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/c-strtod.m4,
gl/m4/cloexec.m4, gl/m4/codeset.m4, gl/m4/dirname.m4, gl/m4/dos.m4,
gl/m4/double-slash-root.m4, gl/m4/eoverflow.m4, gl/m4/error.m4,
gl/m4/exitfail.m4, gl/m4/extensions.m4, gl/m4/fcntl-safer.m4,
gl/m4/fstypename.m4, gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4,
gl/m4/gethostname.m4, gl/m4/getloadavg.m4, gl/m4/getopt.m4,
gl/m4/gettext.m4, gl/m4/glibc2.m4, gl/m4/glibc21.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4, gl/m4/gnulib-comp.m4,
gl/m4/gnulib-tool.m4, gl/m4/iconv.m4, gl/m4/inet_ntop.m4,
gl/m4/inline.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4,
gl/m4/intmax.m4, gl/m4/intmax_t.m4, gl/m4/inttypes-pri.m4,
gl/m4/inttypes_h.m4, gl/m4/lcmessage.m4, gl/m4/lib-ld.m4,
gl/m4/lib-link.m4, gl/m4/lib-prefix.m4, gl/m4/lock.m4,
gl/m4/longdouble.m4, gl/m4/longlong.m4, gl/m4/ls-mntd-fs.m4,
gl/m4/mbchar.m4, gl/m4/mbiter.m4, gl/m4/mbrtowc.m4, gl/m4/memchr.m4,
gl/m4/minmax.m4, gl/m4/mountlist.m4, gl/m4/netinet_in_h.m4,
gl/m4/nls.m4, gl/m4/onceonly_2_57.m4, gl/m4/po.m4,
gl/m4/printf-posix.m4, gl/m4/progtest.m4, gl/m4/regex.m4,
gl/m4/safe-read.m4, gl/m4/safe-write.m4, gl/m4/size_max.m4,
gl/m4/snprintf.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4,
gl/m4/ssize_t.m4, gl/m4/stdbool.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4,
gl/m4/strcase.m4, gl/m4/strdup.m4, gl/m4/strndup.m4, gl/m4/strnlen.m4,
gl/m4/sys_socket_h.m4, gl/m4/uintmax_t.m4, gl/m4/ulonglong.m4,
gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4,
gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4,
gl/m4/wchar.m4, gl/m4/wchar_t.m4, gl/m4/wctype.m4, gl/m4/wcwidth.m4,
gl/m4/wint_t.m4, gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4,
gl/malloc.c, gl/mbchar.c, gl/mbchar.h, gl/mbuiter.h, gl/memchr.c,
gl/minmax.h, gl/mountlist.c, gl/mountlist.h, gl/open-safer.c,
gl/pipe-safer.c, gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c,
gl/printf-parse.h, gl/regcomp.c, gl/regex.c, gl/regex.h,
gl/regex_internal.c, gl/regex_internal.h, gl/regexec.c, gl/safe-read.c,
gl/safe-read.h, gl/safe-write.c, gl/safe-write.h, gl/size_max.h,
gl/snprintf.c, gl/snprintf.h, gl/socket_.h, gl/stdbool_.h, gl/stdint_.h,
gl/strcase.h, gl/strcasecmp.c, gl/strdup.c, gl/strdup.h,
gl/stripslash.c, gl/strncasecmp.c, gl/strndup.c, gl/strndup.h,
gl/strnlen.c, gl/strnlen.h, gl/strnlen1.c, gl/strnlen1.h, gl/unistd--.h,
gl/unistd-safer.h, gl/unistd_.h, gl/vasnprintf.c, gl/vasnprintf.h,
gl/vasprintf.c, gl/vasprintf.h, gl/vsnprintf.c, gl/vsnprintf.h,
gl/wchar_.h, gl/wctype_.h, gl/wcwidth.h, gl/xalloc-die.c, gl/xalloc.h,
gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c, gl/xstrndup.h, lib/Makefile.am,
lib/basename.c, lib/c-strtold.c, lib/gettext.h, lib/realloc.c,
lib/snprintf.c, lib/strtod.c, lib/tests/Makefile.am, lib/unlocked-io.h,
lib/xalloc.h, lib/xmalloc.c, m4/Makefile.am.in, m4/afs.m4,
m4/basename.m4, m4/extensions.m4, m4/fstypename.m4, m4/inttypes.m4,
m4/longlong.m4, m4/np_coreutils.m4, m4/np_curl.m4, m4/restrict.m4,
m4/signed.m4, m4/ulonglong.m4, m4/unlocked-io.m4,
plugins-root/Makefile.am, plugins/Makefile.am, plugins/check_smtp.c,
plugins/common.h, plugins/getaddrinfo.c, plugins/getaddrinfo.h,
plugins/gethostbyname.c, plugins/gethostbyname.h, plugins/netutils.h,
tools/setup, tools/update_coreutils: Sync with gnulib - lots of
extraneous code removed in preference to GNU code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-23 Holger Weiss <hweiss@users.sourceforge.net>
* THANKS.in, plugins/check_ssh.c: Support `check_ssh --hostname=ADDRESS'
(but keep `--host=ADDRESS' for backward
compatibility) (Ville Mattila - 1642780)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1579 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS: Location updates
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1578 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: Add missing `break' to the switch-case block that
handles the `-m' option
(Nobuhiro Ban - 1642682)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1577 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_radius.c: Initialize `data' to zero, fixes
potential segfault (Nobuhiro Ban - 1642658)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1576 f882894a-f735-0410-b71e-b25c423dba1c
* lib/mountlist.c: Add support for statvfs(2) which is needed in order
to compile the plugins on
NetBSD 3.0 and newer. The current coreutils release supports statvfs(2), so
this patch won't be needed anymore when updating the coreutils files.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1575 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-22 Holger Weiss <hweiss@users.sourceforge.net>
* plugins/check_by_ssh.c: Added "-o,--ssh-option=OPTION" which hands "-o
OPTION" over to ssh(1) and
"-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1574 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Updated policy on contributed plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1573 f882894a-f735-0410-b71e-b25c423dba1c
* doc/LEAVERS, doc/NEW_STARTERS, doc/RELEASING: Administrative notes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1572 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ntp.c: compilation fixes for check_ntp.c:
- check_ntp.c:290: warning: overflow in implicit constant conversion
fixed with an explicit cast to int8_t.
- check_ntp.c:544: warning: pointer of type ‘void *’ used in arithmetic
fixed by casting to ptrdiff_t before arithmetic and (void*) afterwards
- in TVtoNTP64, cast arithmetic result passed to R32 as uint64_t.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1571 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-20 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_http.c, plugins/check_ldap.c: Fix bug #1632091: printf
format string typos. Add some more cosmetic changes.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1570 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: Fix bug #1632078: critical threshold %
incorrectly displayed by check_icmp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1569 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES, THANKS.in, plugins/netutils.c: Fix bug #1632072 pointer error
in plugins/netutils.c. Add changelog entry for previous commit.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1568 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-17 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* THANKS.in, plugins/check_procs.c: Fix bug #1630970 Fix for buffer
overflow of check_procs procprog string
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1566 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-08 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES, THANKS.in, plugins/t/check_disk.t: Added notes about
check_disk perf data fix. Added test to check perf data is
same when mount points reversed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1565 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-07 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_disk.c: Fix bug #1627970: check_disk performance output
for more then one partition
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1564 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-06 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_ping.c: Fix bug #1629008: check_ping fails to handle
Packet filtered error
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1563 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Revert last patch: it works but not really for
the reason I though.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1562 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Fix the way check_ping calculate the maximum run
time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1561 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-04 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/check_real.c: Fix bug #1574863: check_real does not accept the
'-v' option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1560 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Fix bug #1592605: check_ping times out
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1559 f882894a-f735-0410-b71e-b25c423dba1c
* tools/README, tools/distclean: Adding my distclean script
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1558 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-23 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* plugins/t/check_snmp.t: Regexps in check_snmp tests fails where they
shouldn't.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1557 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-21 Thomas Guyot-Sionnest <dermoth@users.sourceforge.net>
* NPTest.pm: - Fixing small error (wrong file name) in NPTest.pm
documentation.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1556 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-20 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES, THANKS.in, plugins/check_http.c, plugins/t/check_http.t:
Removed unused timestamp variable (Matthias Eble)
Fixed redirection test. Added extra tests for funny syntax when checking
certificates, updated help for more common syntax
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1555 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c,
plugins/t/check_disk.t: Fixed inode thresholds, regressed from previous
release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1554 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-20 Benoit Mortier <opensides@users.sourceforge.net>
* po/de.po, po/fr.po, po/nagios-plugins.pot: updated the
nagios-pulgins.pot files now that localization is clean
first pass at updating the french locale
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1553 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-12 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/t/utils.t: Enhanced test for single letters in fqdn
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/utils.pm.in: Allow single characters in fqdn (Dave
Alden)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1548 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-07 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES, THANKS.in, configure.in: Fixed HP/UX's swapinfo command for
check_procs (Dick van den Burg - 1573700)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1547 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_disk.c, plugins/check_swap.c,
plugins/common.h, plugins/netutils.h: Fix coredump on 64bit Solaris.
Also adds more error conditions and moves
swap specific includes out of common.h (Duncan Ferguson - 1588031)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1546 f882894a-f735-0410-b71e-b25c423dba1c
2006-12-06 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/Makefile.am: Move SSL libs to correct order per plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1545 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: Only include -lssl for plugins that require it
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1544 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Flag common compile error because of no ar on Solaris
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1543 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Remove CVS files from distribution
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1542 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Add libtool requirement for development
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1541 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-09 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES, THANKS.in, plugins/check_ping.c, plugins/netutils.c: Reduced
DNS lookups in check_ping and netutils.c in IPv6 configurations
(Pawel Malachowski)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1535 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-03 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am, lib/alloca.c, lib/alloca_.h: Add alloca files,
required for *BSD
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1534 f882894a-f735-0410-b71e-b25c423dba1c
2006-11-01 Ton Voon <tonvoon@users.sourceforge.net>
* ChangeLog, configure.in, package.def: For 1.4.5 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1532 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-27 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/t/utils.t, plugins-scripts/utils.pm.in: More edge
testcases. Allow anything if ends with a . as long as correct
characters
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1531 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-26 Ton Voon <tonvoon@users.sourceforge.net>
* NPTest.pm: New test variables default to "none", so no changes
required to tinderbox satelites
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1530 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins-scripts/check_oracle.sh: Fixed error if
dba_free_space has no free segments (Florian Gleixner)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1529 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/Makefile.am, plugins-scripts/t/utils.t,
plugins-scripts/utils.pm.in: Fixed regression where hostnames with
hyphens were rejected (1581402 - Holger Weiss)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1528 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/tarballs/check_traffic-0.90b.tar.gz: Removing unnecessary
tarball
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1527 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_disk.c, plugins/check_http.c: Remove C style
comments (1583467 - Markus Baertschi)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1526 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-24 Benoit Mortier <opensides@users.sourceforge.net>
* plugins-root/check_icmp.c: more fixes and removal of certain sentences
not needed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1525 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c, plugins/check_nt.c: last localization fixes
for core plugins in c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1524 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: next round of localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1523 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-24 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/Makefile.am, plugins-root/check_icmp.c: Fixed compile on
non-glibc platforms
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1522 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Restored accidently regressed fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1521 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-23 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_http.c: localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1520 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: first pass a making check icmp respecting
nagiosplugins rules
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1519 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-22 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_nt.c: latest localization fixes for tonight ;-)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1518 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ldap.c: localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1517 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: putting default template for copyright and
explanations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1516 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c: revert mistake when commiting fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1515 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_icmp.c, plugins/check_apt.c, plugins/check_procs.c:
more localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1514 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-20 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_snmp.c: Reverting back accidently regressed code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1513 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-20 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_mrtg.c: more localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1512 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/check_dhcp.c, plugins/check_apt.c: localization updates
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1511 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-19 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_snmp.c: adding missing check_snmp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1510 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c: another round of localization
cleaning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1509 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-19 Ton Voon <tonvoon@users.sourceforge.net>
* BUGS, ChangeLog, configure.in, package.def: For 1.4.4 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1507 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Added info re: 1.4.4 in prep for release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1506 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_snmp.c: Initialise strings for Fedora Core 5
(Henning Schmiedehausen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1505 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_snmp.c: Removed asprintf for perf data (Craig
Orsinger, Robby Giffin - 1310495)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1504 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_snmp.c: type variable not cleared in Sol 10
(Kyle Tucker)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1503 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_http.c, plugins/t/check_http.t: Redirection
error if other headers beginning with L (Aravind Gottipati - 1562572)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1502 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins-scripts/utils.pm.in: Allow hostnames beginning with
digits (O'Shaughnessy Evans - 1567390)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1501 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_smtp.t: Added tests for SMTP servers without TLS and
with TLS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1500 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-19 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dig.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide_smart.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_ntp.c, plugins/check_nwstat.c, plugins/check_overcr.c,
plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c:
first pass at cleaning localization for new release
first pass at making all the headre be the same licence, plugin, etc...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1499 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-18 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c, plugins/t/check_disk.t: Re-added perf data to
check_disk
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1498 f882894a-f735-0410-b71e-b25c423dba1c
* lib/tests/test_disk.c, lib/utils_disk.h: Fix tests for exact matches
when searching filesystems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1497 f882894a-f735-0410-b71e-b25c423dba1c
* lib/utils_base.c, lib/utils_base.h: Cater for different errors when
setting thresholds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1496 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-12 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_smtp.c, plugins/t/check_smtp.t: Resend EHLO after TLS
negotiation as per RFC3207 (Holger Weiss - 1482832)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1493 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: Removed extraneous comma in perf data output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1492 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/t/check_disk.t: Remove the "- free
space" if status is OK
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1491 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm, THANKS.in, plugins/check_disk.c, plugins/t/check_disk.t:
Fixed output from -e in check_disk (Andreas Behal)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1490 f882894a-f735-0410-b71e-b25c423dba1c
2006-10-02 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_load.t: Fix test failure on poseidon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1487 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-21 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/check_nwstat.c: Added perfdata for most variables
and new parameters: VMU, VMF,
VMP, NRMH, NRMP, NRMM, NRMS, NSS1 to NSS7 (Christian Mies)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1480 f882894a-f735-0410-b71e-b25c423dba1c
2006-09-02 M. Sean Finney <seanius@users.sourceforge.net>
* lib/utils_base.h, plugins/utils.h: - explicitly include utils_base.h
from utils.h
- put utils.h inside of an #ifndef/#endif
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1474 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: - fix for warning/critical timeouts in
check_tcp.c, in which the plugin
would exit with a usage error if non-int timeouts were passed.
- change --warning-time/--critical-time to just --warning/--critical,
as it's what --help says.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1473 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-14 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/check_disk.c: Fixed inode percent free output (Mike
Emigh - 1531899)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1469 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_ntp.t: Fixed skip of no ntp test
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1468 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_ntp.c, plugins/t/check_ntp.t: Catch no responses from
any server (1538341 - nmdias)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1467 f882894a-f735-0410-b71e-b25c423dba1c
2006-08-03 Ton Voon <tonvoon@users.sourceforge.net>
* tools/tinderbox_build: Interpret the snapshot datestamp as GMT
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1465 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-31 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_nt.c: Bug: 694259 fix. After consulting with the target
service authors, we
decided to keep the default port as 1248 and add a note about other services
sometimes using this port and suggesting to change the port. Closing bug.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1464 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-31 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: M4 requirement for developer platform
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1463 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-29 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/check_dhcp.c, plugins/common.h: Fix two Solaris compile
problems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1462 f882894a-f735-0410-b71e-b25c423dba1c
* po/POTFILES.in: Remove reference to check_udp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1461 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-28 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins-scripts/Makefile.am, plugins/Makefile.am:
Cleanup references to old check_udp and INSTALL_OPTS. Error if
--with-nagios-user or --with-nagios-group specified for configure
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1460 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES, plugins/Makefile.am, plugins/check_udp.c,
plugins/t/check_udp.t: check_udp.c deprecated and check_udp now linked
to check_tcp. check_udp2 removed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1459 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-27 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Example ranges (Nathan Vonnahme)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1458 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-19 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, configure.in: Stricter autoconf 2.60 rules (Lance Albertson
- 1522900)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1457 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: Fix to add uintmax_t, for check_disk.c compile
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1456 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: Fix for CHAR_MAX on Solaris 9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1455 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-14 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am, lib/utils_base.c: Missing header files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1454 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Fix inode percents using coreutils' percentage
calculation technique
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1453 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-13 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES, lib/tests/test_utils.c, lib/utils_base.c, lib/utils_base.h,
lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c,
plugins/t/check_disk.t: Major fixes to check_disk. Now should return
same data as df
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1452 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, configure.in, lib/Makefile.am, lib/tests/.cvsignore,
lib/tests/Makefile.am, lib/tests/README, lib/tests/test_disk.c,
lib/tests/test_disk.t, lib/tests/test_utils.c, lib/tests/test_utils.t,
plugins/Makefile.am, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_mysql.c, plugins/check_mysql_query.c, plugins/utils.c,
plugins/utils.h, plugins/utils_disk.c, plugins/utils_disk.h: Move new
util_* functions to lib/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1451 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/basename.c, lib/dirname.h, m4/basename.m4,
m4/dos.m4, m4/np_coreutils.m4, plugins/check_procs.c, plugins/utils.c,
plugins/utils.h: Using coreutils' base_name function because of
portability issues with
Tru64
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1450 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-12 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c, plugins/t/check_disk.t, plugins/utils_disk.c,
plugins/utils_disk.h: Added -E option for exact match of filesystem.
Restructured main filesystem
loop. Added extra tests for possible duplicate filesystems.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1449 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/tests/.cvsignore,
plugins/tests/test_disk.c, plugins/utils_disk.c, plugins/utils_disk.h:
Moving parameter_list into utils_disk.h. Given list of mount points, can
now work out best match or exact match.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1448 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_disk.c, plugins/tests/Makefile.am,
plugins/tests/test_disk.c, plugins/tests/test_disk.t,
plugins/utils_disk.c, plugins/utils_disk.h: Moving check_disk functions
into utils_disk.c and testing them
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1447 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-11 Ton Voon <tonvoon@users.sourceforge.net>
* lib/creat-safer.c, lib/dup-safer.c, lib/fcntl--.h, lib/fcntl-safer.h,
lib/fd-safer.c, lib/open-safer.c, lib/pipe-safer.c, lib/unistd--.h,
lib/unistd-safer.h, m4/fcntl-safer.m4, m4/np_coreutils.m4,
m4/unistd-safer.m4: Extra files from coreutils required for getloadavg.c
to compile
on Tru64 (Ciro Iriarte - 1520331)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1446 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-10 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am: Didn't add intprops.h into distribution correctly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1445 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-07 Harper Mann <harpermann@users.sourceforge.net>
* plugins/urlize.c: Added check for two arguments. Was segfaulting if no
or one arg. Now returns
help.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1444 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-05 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_mailq.pl: Fixed checking of return codes from
external mailq programs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1443 f882894a-f735-0410-b71e-b25c423dba1c
* tools/tinderbox_build: Add instructions for manually sending Tinderbox
build logs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1442 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, lib/intprops.h: Missing intprops.h for Tru64 (Ciro
Iriarte - 1517379)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1441 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-04 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, m4/alloca.m4, m4/np_coreutils.m4: Added alloca.h check and
fixed locale.h, wchar.h (Ari Pollak - 1516578)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1440 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-03 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_dig.c: Fixed -p getopt call (Allan Bennett - 1511650)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1439 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, lib/c-strtod.c, lib/c-strtod.h, lib/c-strtold.c,
m4/c-strtod.m4, m4/np_coreutils.m4, plugins/Makefile.am: Fixed compile
on Tru64 5.1b (Ciro Iriarte - 1515435)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1438 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-21 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_snmp.c, plugins/check_ssh.c: cleaning help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1437 f882894a-f735-0410-b71e-b25c423dba1c
* po/LINGUAS: fixing bug id #1509699
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1436 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-20 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c:
cleaning help and usage + license
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1435 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-18 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_disk.c, plugins/check_time.c, plugins/check_udp.c,
plugins/check_ups.c, plugins/check_users.c, plugins/gethostbyname.c,
plugins/gethostbyname.h, plugins/negate.c, plugins/netutils.c,
plugins/popen.c, plugins/runcmd.c, plugins/sslutils.c, plugins/urlize.c,
plugins/utils.c: updating help and usage and license
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1434 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-17 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_hpjd.c, plugins/check_nt.c, plugins/check_ntp.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c: cleaning up help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1433 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-15 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/check_nagios.c: cleaning help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1432 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ide_smart.c: cleaning help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1430 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-14 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c: updating the help and usage for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1427 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-14 Ton Voon <tonvoon@users.sourceforge.net>
* INSTALLING, doc/developer-guidelines.sgml: Updated requirements for
development platform
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1426 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-14 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c:
starting the BIG locale update ;-)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1425 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-07 M. Sean Finney <seanius@users.sourceforge.net>
* contrib/check_linux_raid.pl: some gratuitous whitespace changes, and a
fix to the "recovery =" detection
logic in check_linux_raid.pl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1418 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/utils.pm.in: removed stale references to
PATH_TO_NTPFOO, as it's no longer used.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1417 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-07 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-root/Makefile.am: Do not install setuid programs unless run as
root
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1416 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-root/Makefile.am, tools/setup: Fixed two build problems re:
libtool and pst3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1415 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-06 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_pgsql.c: modify the is_pg_dbname() function to allow
databases with '-' in their name.
reference: sf tracker #1500752
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1414 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-03 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in: removed the -R for openssl, as it should be figured out
automatically by
libtool and also controlled via the --enable-rpath/--disable-rpath configure
options. furthermore keeping it in forces the rpath option on in spite of
what's passed on the configure line.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1413 f882894a-f735-0410-b71e-b25c423dba1c
2006-06-01 M. Sean Finney <seanius@users.sourceforge.net>
* contrib/check_linux_raid.pl: gave some TLC to check_linux_raid
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1412 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-30 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Default to search path for mysql_config
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1411 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in: For reporting check_radius compile problem
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1410 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, config.guess, config.sub, doc/developer-guidelines.sgml,
ltmain.sh: Added libtool files, at version 1.5.22, into CVS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1409 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-25 Ethan Galstad <egalstad@users.sourceforge.net>
* plugins-root/check_dhcp.c: Applied patch for responses from
helpers/relays, cleaned up different coding styles for consistency
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1408 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-25 Ton Voon <tonvoon@users.sourceforge.net>
* lib/regex.o: Removed unnecessary file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1407 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/Makefile.am, plugins/common.h: Gettext fixes to sync
with coreutils
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1406 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-25 Ethan Galstad <egalstad@users.sourceforge.net>
* plugins-root/check_dhcp.c: Fixed short interface name length, UNKNOWN
return code (patches from tracker)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1405 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-25 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_http.c, plugins/t/check_http.t: Option to invert results
from a regexp pattern match
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1404 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/.cvsignore, lib/regcomp.c, lib/regex.c, lib/regex.h,
lib/regex.o, lib/regex_internal.c, lib/regex_internal.h, lib/regexec.c,
lib/strcase.h, m4/.cvsignore, m4/np_coreutils.m4, m4/regex.m4,
m4/restrict.m4, plugins/check_apt.c, plugins/check_http.c,
plugins/check_smtp.c, plugins/check_snmp.c: Use coreutils' regexp
libraries, so regexp always available now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1403 f882894a-f735-0410-b71e-b25c423dba1c
* m4/ls-mntd-fs.m4: Sync with coreutils 5.96
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1402 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-24 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, configure.in: Fix for mysql 3.x (Jeremy Reed, Michael
Tiernan - 1491936)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1401 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Reminder of no inline variable
declarations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1400 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: Variables need to be declared at top of code for
better portability
(Gerhard Lausser)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1399 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-19 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, doc/developer-guidelines.sgml: Requirement of automake
1.8.3, as coreutils needs it
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1398 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, config.rpath, mkinstalldirs, po/.cvsignore,
po/remove-potcdate.sin: Adding more required files from gettext
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1397 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-18 Ton Voon <tonvoon@users.sourceforge.net>
* tools/setup: Bug in Makefile.am creation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1396 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, ABOUT-NLS, m4/Makefile.am, m4/Makefile.am.in,
po/.cvsignore, po/Makefile.in.in, tools/setup: Fixes from coreutils
sync: some files now required and removed generateable files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1395 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, Makefile.am, configure.in, doc/developer-guidelines.sgml,
lib/Makefile.am, lib/cloexec.c, lib/cloexec.h, lib/error.c, lib/error.h,
lib/exit.h, lib/exitfail.c, lib/exitfail.h, lib/fsusage.c,
lib/fsusage.h, lib/full-read.c, lib/full-read.h, lib/full-write.c,
lib/full-write.h, lib/getloadavg.c, lib/getopt.c, lib/getopt1.c,
lib/getopt_.h, lib/getopt_int.h, lib/gettext.h, lib/malloc.c,
lib/mountlist.c, lib/mountlist.h, lib/realloc.c, lib/safe-read.c,
lib/safe-read.h, lib/safe-write.c, lib/safe-write.h, lib/stdbool_.h,
lib/strtod.c, lib/unlocked-io.h, lib/xalloc-die.c, lib/xalloc.h,
lib/xmalloc.c, m4/.cvsignore, m4/Makefile.am, m4/afs.m4, m4/codeset.m4,
m4/error.m4, m4/exitfail.m4, m4/extensions.m4, m4/fstypename.m4,
m4/fsusage.m4, m4/getopt.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4,
m4/intdiv0.m4, m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4,
m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4,
m4/lib-prefix.m4, m4/longdouble.m4, m4/longlong.m4, m4/ls-mntd-fs.m4,
m4/malloc.m4, m4/mountlist.m4, m4/nls.m4, m4/np_coreutils.m4,
m4/onceonly_2_57.m4, m4/po.m4, m4/progtest.m4, m4/realloc.m4,
m4/signed.m4, m4/stdbool.m4, m4/stdint_h.m4, m4/uintmax_t.m4,
m4/ulonglong.m4, m4/unlocked-io.m4, m4/wchar_t.m4, m4/wint_t.m4,
m4/xalloc.m4, plugins-root/.cvsignore, plugins-root/check_dhcp.c,
plugins/.cvsignore, plugins/check_disk.c, plugins/common.h,
plugins/tests/.cvsignore, po/.cvsignore, tools/setup: Synchronise with
coreutils 2.95. Gettext now synced with coreutils,
so no longer development platform requirement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1394 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-17 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Fix for loading SSL libraries at runtime
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1393 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-root/Makefile.am: Fix compile problems on
Solaris for pst3 and ssl libs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1392 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-15 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES, contrib/check_disk_snmp.pl: check_disk_snmp.pl removed.
Notice added to CHANGES
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1391 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Changed snapshot generator due to cvs changes on SF
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1390 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-03 Ton Voon <tonvoon@users.sourceforge.net>
* doc/LEAVERS: Leavers process documented
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1389 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-02 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Inode thresholds not always being initialised
(James Fidell - 1476457)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1388 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: New check_ntp and check_apt plugins by Sean
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1387 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-01 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in, plugins-scripts/Makefile.am, plugins/Makefile.am,
plugins/check_ntp.c, plugins/common.h, plugins/runcmd.c: - check_ntp:
- now roughly feature-complete.
- various bugfixes, esp. offset calculation.
- enhanced the asynchronous offset polling to set requests that
haven't recieved a response in >= 1 second to stale and retransmit them,
which results in much better performance on unreliable networks.
- we only spend timeout/2 seconds polling offsets, and if we don't get
everything by that point we work with what we have and set status to
warning/critical depending on how much data we have.
- set the same defaults as the perl script.
- commit changes to configure.in to support automatic building of check_apt
(if apt-get is installed and regex libraries available) and check_ntp
(unconditionally), now defaulting to check_ntp.c instead of the perl script.
if this is an issue we can back out the commit of course. an eye
should be kept on check_ntp building and running correctly in different
environments, esp. 64-bit and big-endian platforms, and those with more
"esoteric" API's (do any of the platforms not have poll()?).
- similar changes to Makefile.am's.
- common.h: add statement to include sys/poll.h
- runcmd.c: exit STATE_UNKNOWN if execve() fails.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1386 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-28 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Remove stupid error where pst3 was always compiled
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1385 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-root/Makefile.am: Added pst3 into distribution
(Jason Kau - 1476451)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1384 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-27 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/check_procs.c, plugins/tests/test_utils.c,
plugins/utils.c, plugins/utils.h: Internal version of basename if one
not found in system
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1383 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-19 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_nagios.t: Fix check_nagios tests on MacOSX 10.4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1382 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-19 Subhendu Ghosh <sghosh@users.sourceforge.net>
* ChangeLog: ChangeLog update - release pending
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1380 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, package.def: version update - release pending
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1379 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-17 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: Final commit of fr.po
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1378 f882894a-f735-0410-b71e-b25c423dba1c
* po/fr.po: another big chunk of fr.po
Still 20 to go ;)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1377 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-16 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: big revision of po file for 1.4.3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1376 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-15 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: second part of fr.po updating
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1375 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-14 Benoit Mortier <opensides@users.sourceforge.net>
* po/de.po, po/fr.po, po/nagios-plugins.pot: updated pot file
sarted updating fr.po for nagios 1.4.3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1374 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-12 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ntp.c: the offset_requests are now parallelized. still
stuff needs to be
done (conveniently marked with XXX), but on well behaving networks
the plugin should behave more or less identical to check_ntp.pl now.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1373 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: added a currently unused but "good for reference"
version of offset_request
which attempts to behave more like ntpdate, but this doesn't yet and
the code isn't actually used yet.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1372 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-11 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ntp.c: another big code-commit to check_ntp. jitter
calculations now work, and
the program is becoming much closer on the packet-for-packet level to
how check_ntp.pl behaves. i'll send an email in the morning :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1371 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-06 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/utils.c: Stop coredump on Solaris if arg not
specified (Jason Kau - 1465288)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1370 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-05 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES: Notice added re: check_udp in next release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1369 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: Use pid_t for pids (1463853)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1368 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c, plugins/t/check_http.t: Allow multiple -k
parameters (Gerd Mueller - 1457726)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1367 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-05 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_apt.c: finally??? cvs works again???? let me dig up my
week-old cvs
commit message.....
i'm becoming very happy with check_apt now :)
- now has support for an externally (configure.in) path to apt-get,
though i still have that in #ifdefs for the time being.
- support for defining what packages are "critical updates", via
the already-existing security regexp or overridable on the cmdline
- allow overriding of apt-get cmdline options
- introduce a "no upgrade" in case someone just wants to check that
they can download the package lists with -u but not check for upgrades.
might need to change the name of this option to prevent confusion.
- improved -h documentation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1366 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-29 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/check_tcp.c, plugins/tests/test_utils.c,
plugins/utils.c, plugins/utils.h: New function to for escaped strings
from command line for send/quit.
Adapted from Sebastian Wiesinger's patch (1292404)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1365 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm: Will die if signal received from a testCmd
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1364 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_udp.t: Allow 1 second delay in check_udp timeout
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1363 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_http.t: Fix possible timeout issue on hostname_invalid
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1362 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_dns.t: Fix test if response time is one second
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1361 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-29 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_apt.c: now support for detecting critical/security
updates, which sets
the return code to STATE_CRITICAL instead of just STATE_WARNING
as it was previously doing.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1360 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-27 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_udp.t: Set timeout within nc, rather than the test
script
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1359 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Fixed bug with malloc of wrong size
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1358 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-24 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_dns.t: Fixing defaults to work
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1357 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Reintroduced --with-mysql configure option. Note about SSL
cleanup
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1356 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: -C now implies -S/--ssl as well
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1355 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_hpjd.t, plugins/t/check_http.t: Tests converted to new
style
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1354 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c, plugins/t/check_udp.t: udp checks require and
send and receive option. Tests updated so if
nc is available, will check send and receive working correctly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1353 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_apt.c: - addition of include/exclude option for package
names in check_apt,
using POSIX regexp support.
- various commenting and tidying of code/logic/output.
- still haven't committed the Makefile.am/configure.in stuff.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1352 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23 Ton Voon <tonvoon@users.sourceforge.net>
* NPTest.pm, plugins/check_disk.c, plugins/t/check_disk.t: check_disk
now errors if a specified directory does not exist (cf df /foo)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_disk.t: Some versions of Test::More do not like the
m#foo# syntax
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1350 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm, plugins/check_disk.c, plugins/t/check_disk.t: Incorrect
output when checking non-existent disk (John Rouillard - 1326050)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_apt.c: more work on check_apt. more graceful error
handling and information
reporting, a couple new cmdline options. still not quite ready
for prime-time, maybe tomorrow :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1348 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22 Ton Voon <tonvoon@users.sourceforge.net>
* REQUIREMENTS, configure.in: Reinstated --with-mysql option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1347 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c, plugins/t/check_dns.t: Added warning and critical
response times (John Rouillard - 1343159)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1346 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_pop.t: Convert to new style tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1345 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, plugins/check_tcp.c: Options to change line ends for -s and
-q (John Rouillard - 1346104)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1344 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_log.sh: Remove PATH restriction
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1343 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c, plugins/t/check_dns.t: New style tests. Cleanup
of presentation of help. Added '' around -a checks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1342 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: Typo (Thomas Guettler - 1433447)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1341 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_log.sh, plugins-scripts/utils.sh.in: Remove
hardlink to /bin/sed. Leave to PATH (Abs - 1391483)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1340 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_apt.c: initial version of a check_apt plugin... not
editing configure/Makefile.am's
until i'm happier with it (better output, better ways to define warning
vs. critical thresholds... etc).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1339 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-21 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, configure.in: Stop check_dns from compiling if nslookup
does not exist (Sakari Lehtonen -
1412721)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1338 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_load.t: Updated to new Test::More method for testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1337 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Fix for mysql 3.x
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1336 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: Return CRITICAL if hostname invalid, as per
guidelines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1335 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: Patch to workaround SFnot having libtool installed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1334 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES, REQUIREMENTS, THANKS.in, configure.in, plugins/Makefile.am,
plugins/tests/Makefile.am: mysql discovery based on mysql_config (Johan
Fischer - 1359414)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1333 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-20 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ntp.c: - shuffling some code around to keep things tidy.
- now average the result of 4 queries just as ntpdate does
- put things in place for jitter calculation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1332 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ntp.c: ipv6 support for c-version of check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1331 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-18 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ntp.c: initial version of the pure-c check_ntp
implementation. jitter not yet
implemented, and a couple other misc things to do, so i haven't
yet patched Makefile.am
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1330 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: return-logic related fix for cert checking,
thanks to emmet hogan.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1329 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/tests/test_utils.t: Better error message re: tap library
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1328 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS, configure.in, plugins/Makefile.am,
plugins/check_mysql.c, plugins/check_mysql_query.c,
plugins/t/check_mysql.t: mysql detection cleanup: fixes runtime linking,
autodetection of main
locations, detection of lib64 and different layouts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Added requirement for developer system
to have gnu libtool
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1326 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-16 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/tests/Makefile.am, tools/setup: Using libtool to
get runpath for tap library
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-15 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/check_mysql.c, plugins/t/check_mysql.t: Alert on
amount of time a slave is behind (Steven Kreuzer)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1324 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-13 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_swap.c: fix for (tracker id 1420741)
"check_swap: incorrect totals for multiple partitions (BSD)"
thanks to scott thompson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1323 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-13 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_ping.c: Change warning message if there is stderr
output. This catches a problem
where time was shifting backwards on a linux VMware guest during the ping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1322 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-07 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_http.t: Added tests for two external websites with
certificates
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1321 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_http.t: Tests re-written in new object format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1320 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-24 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Updated doc as tap library is now
automatically discovered
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1319 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/tests/Makefile.am: Use the installed tap library
instead of requesting a compiled object
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1318 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-17 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/popen.c: SIGALRM could be received before
child_process is created (Jason Crawford)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1317 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-17 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_procs.c: set LC_NUMERIC to POSIX in check_procs.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1316 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-01 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_mysql_query.t: If a mysql server has anonymous login,
tests will always fail
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1315 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/tests/Makefile.am: Need to distribute perl test file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1314 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES: check_mysql_query included
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1313 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS: Note on MacOSX difference in mysql package
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1312 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/Makefile.am: Clean compile of check_mysql_query
on MacOSX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1311 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm: Sort ordering of tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1310 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/.cvsignore, plugins/Makefile.am,
plugins/check_mysql_query.c, plugins/t/check_mysql_query.t,
plugins/utils.h: Adding check_mysql_query, using new ranges and
threshold checking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1309 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_mysql.t: Extra explanation in tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/tests/test_utils.c: Fixed invalid free
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Updated instructions on using libtap as
configure option changed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1306 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Changed configure option to --with-libtap-srcdir because
requires
tap.h as well as tap.o
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1305 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-30 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml, plugins/tests/test_utils.c,
plugins/utils.c, plugins/utils.h: Clearly defined thresholds & ranges in
docs. Added get_status routine. Added
set_thresholds routine. Tests enhanced to check new routines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1304 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, doc/developer-guidelines.sgml, plugins/Makefile.am,
plugins/tests/.cvsignore, plugins/tests/Makefile.am,
plugins/tests/README, plugins/tests/check_disk, plugins/tests/check_dns,
plugins/tests/check_ftp, plugins/tests/check_hpjd,
plugins/tests/check_http, plugins/tests/check_load,
plugins/tests/check_ping, plugins/tests/check_procs,
plugins/tests/check_swap, plugins/tests/check_users,
plugins/tests/check_vsz, plugins/tests/test_utils.c,
plugins/tests/test_utils.t, plugins/utils.c, plugins/utils.h: Added
libtap tests for utils.c library functions. Removed redundant
test files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-21 Ton Voon <tonvoon@users.sourceforge.net>
* tools/sfsnapshot: Have to use own id for cvs checkout. Change compile
server because
old one not working consistently
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1302 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-19 Ton Voon <tonvoon@users.sourceforge.net>
* NPTest.pm: Break out of testing if a new parameter is required
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1301 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-16 Harper Mann <harpermann@users.sourceforge.net>
* contrib/check_log2.pl: Added ability to output critical on error.
Fixed open so it properly fails if the log file open throws an error,
turned on -w in the perl call, fixed warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1300 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15 Ton Voon <tonvoon@users.sourceforge.net>
* NPTest.pm, plugins/check_mysql.c, plugins/t/check_mysql.t: Display
errors with slave queries correctly. Added extra tests for slaves
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1299 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm, doc/developer-guidelines.sgml, plugins/t/check_disk.t: New
3 parameter version of getTestParameters. Updated check_disk.t to
reflect.
Added notes re: testing in developer guidelines.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1298 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_file_age.pl, plugins-scripts/t/check_file_age.t:
Allow directories and links to be tested by check_file_age. Sanitise
output.
Added tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1297 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-07 Harper Mann <harpermann@users.sourceforge.net>
* plugins/urlize.c: Nagiosplug bug 1266977. Added code to insert the
closing </A> after the plugin output but before the performance output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1296 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-07 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/common.h: No floorf on Solaris 9 (Jon Vandegrift -
1374705)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-02 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, doc/developer-guidelines.sgml, plugins/check_nagios.c,
plugins/t/check_nagios.nagios1.status.log,
plugins/t/check_nagios.nagios2.status.dat, plugins/t/check_nagios.t:
Support for Nagios 1 and Nagios 2 status files (Gerhard Lausser -
1296242)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1294 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/.cvsignore: Ignore temporary files created for tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1293 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-01 Ton Voon <tonvoon@users.sourceforge.net>
* config_test/Makefile, config_test/run_tests, configure.in: Run longer
test on redhat for spopen/pthread problem. Allow enable/disable of
pthread fix via configure option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1292 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-30 Harper Mann <harpermann@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: Nagiosplug bug # 1251096
check_ntp wasn't properly handing a bad exit status from the external programs it calls (ntpdate and ntpq), so jitter wasn't set. Added check of $? on close and proper error output if status from the sub program call completion is non-zero. This includes "host not found".
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1291 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-29 Harper Mann <harpermann@users.sourceforge.net>
* contrib/check_email_loop.pl: UNKNOWN exit status was returning status
of "-1", changed to "3"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_email_loop.pl: Bug: 1355304 Added patch for ePN and perl
warnings. Fixed some text and
a warning about type comparison.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1289 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-18 Ton Voon <tonvoon@users.sourceforge.net>
* tools/sfsnapshot: Create a permanent link to HEAD snapshot
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1288 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Updated with more detailed description
of UNKNOWN states
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1287 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-16 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Fixed some compile errors with new translations.
Also reintroduced formatting
after discussion with Benoit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1286 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-15 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_disk.t: Updated tests to minimise false positives.
Breaking down so more obvious
what the tests are doing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1285 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-14 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Added section re: translations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1284 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-14 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_http.c: localization cleaning ...
last commit before sleeping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1283 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c:
start of the cleaning of the localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1282 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-12 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/t/check_disk.t: Updated check_disk tests to use
Test::More (Serhan Kiymaz)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1281 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_mysql.t: Using Test::More
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1280 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm, plugins/t/check_imap.t, plugins/t/check_swap.t: Added new
NPTest->testCmd which returns objects back for testing
at the test script level. Updated check_swap and check_imap to this
new format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1279 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Problem where absolute thresholds not working on
/proc/meminfo
systems. Suffixed all variables with the unit of measurement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1278 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Typo with predetermined values
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1277 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Added copyright/license info required
in submissions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1276 f882894a-f735-0410-b71e-b25c423dba1c
* doc/NEW_STARTERS, doc/developer-guidelines.sgml: Updated dev
guidelines to link to NagiosExchange. Removed project admin
notes from guidelines into separate file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1275 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-07 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in: incorporated patch from Elan Ruusamäe (ahmake) to
override
program autodetection (see Feature Requests-1341528). i would
not call this quite complete just yet (i'll explain more in the
tracker), but should be functional and useful enough to commit
now, in any case.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1274 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-04 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in, plugins/check_tcp.c, plugins/t/check_imap.t: Fixed
--mismatch option for check_tcp. Added tests into check_imap
(Rick Fey - 1339134)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1273 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-03 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, tools/tinderbox_build: Adding new tinderbox build script
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1272 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_disk.t, plugins/t/check_procs.t: Invalid mount point
doesn't make sense because most df implementations
would work out the actual mount point. And fixed typo in check_procs.t
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1271 f882894a-f735-0410-b71e-b25c423dba1c
* NPTest.pm, plugins/t/check_http.t, plugins/t/check_time.t: Fixing some
test failures
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-02 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_disk.c: #995761: patch from ben o'hara to include inode
calculations in
check_disk.c.
previous commit also had a patch for smtp auth support, but i accidentally
sent a blank commit message.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1269 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: check_smtp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1268 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-31 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in, plugins/check_game.c, plugins/check_http.c,
plugins/check_nagios.c, plugins/check_snmp.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/common.h, plugins/netutils.c,
plugins/netutils.h, plugins/sslutils.c: code cleanups, largely resulting
from turning on -Wall. mostly
unused variables and explicit casting issues, but there were a
couple gotchas in there too.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1267 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-30 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/Makefile.am: turned on -Wall in plugins/Makefile.am via
AM_CFLAGS. shouldn't keep
our heads in the sand for potential errors, after all :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1266 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: another fix from alex: check for '/' in the
server_address before
trying to resolve it via is_host().
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1265 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: fixes for some bugs found in my merging of the
tcp socket patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1264 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-29 M. Sean Finney <seanius@users.sourceforge.net>
* plugins-scripts/check_log.sh: check_log fixes from Ade Rixon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1263 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: patch from nsturm: Makefile.am should have been
checking for check_ldap
instead of check_ldaps. the result was that check_ldaps was not being
created during the build process.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1262 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-25 M. Sean Finney <seanius@users.sourceforge.net>
* COPYING, configure.in, plugins/Makefile.am, plugins/check_tcp.c,
plugins/netutils.c, plugins/netutils.h, plugins/utils.h, po/de.po,
po/fr.po: - added code to allow check_tcp (via np_net_connect) work with
local
unix sockets. some testing would be welcome. based on idea from
Alex Samorukov.
- also introduced a check_clamd behavior in check_tcp.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1261 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-24 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/Makefile.am, plugins/check_by_ssh.c, plugins/check_dig.c,
plugins/check_dns.c, plugins/check_game.c, plugins/check_nagios.c,
plugins/netutils.c, plugins/runcmd.c, plugins/utils.c, plugins/utils.h:
initial merging of ae's np_runcmd code into selected plugins.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1260 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-23 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in: whoops, missed this one, same as last commit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1259 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/netutils.c, plugins/sslutils.c: -
compartmentalized ssl code into seperate sslutils.c
- ssl-related cleanups in configure.in, and now openssl/gnutls options
automatically disable each other.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1258 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-19 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c,
plugins/netutils.c, plugins/netutils.h: all plugins now using
centralized ssl functions in netutils.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1257 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: endif was a few lines off of where it should be
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1256 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-root/Makefile.am, plugins/Makefile.am,
plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c,
plugins/common.h, plugins/netutils.c, plugins/netutils.h: - initial
attempt at consolidating ssl-related code into netutils.{c,h}
- added some #ifdefs to common.h and netutils.h to prevent multiple
inclusions (as netlibs now includes common.h)
- all ssl plugins (tcp/http/smtp) compile cleanly against gnutls, though
certificate checking still needs to be done.
- modified configure script so you can also explicitly say "without-gnutls"
too (otherwise if you disable openssl you have no way of disabling
gnutls too)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1255 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-18 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in, plugins/check_tcp.c: initial "experimental" support for
gnutls. by default openssl is still
used if available, and gnutls is only used if openssl is not available
or explicitly disabled (--without-openssl). currently the only plugin
i've verified to work is check_tcp, but i had to disable cert checking.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1254 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-18 Ton Voon <tonvoon@users.sourceforge.net>
* README: Added license information to README with exemption for use of
OpenSSL
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1253 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-13 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Run spopen tests for Redhat ES SMP (Hans Engelen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1252 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-13 M. Sean Finney <seanius@users.sourceforge.net>
* po/de.po: debian bts #313960:
- grammatical german fixes. i'm taking the reporter's word for it :)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1251 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: debian bts #268044:
- use a "less beastly" regex for parsing ntpq output. probably need
some more widespread testing on this one.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1250 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: debian bts #296278:
- it seems that when check_disk uses the "df" routines and is told to
check a non-mountpoint, it would check the filesystem on which the
directory was mounted (i.e. /var/log -> /var if no /var/log mount).
the system-call routines now do this too. might need a bit more
widespread testing, but looks good for me and i did it without
modifying any of the system-call-specific codeblocks.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1249 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_game.c: debian bts #307905:
- someone changed the cmdline syntax of check game without also
updating the usage/help function ;p
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1248 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_disk_smb.pl: debian bts #300701:
- check_smb fix for freespace threshold parsing from the cmdline options.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1247 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: multiple fixes in check_smtp from debian (bts
#285554):
- fix for double free via SSL_CTX_free. looks like the previous author
knew this was a problem but didn't care enough to fix it ;p.
- use defines instead of const chars for SMTP strings.
- default to send our fqdn (via gethostbyname lookup on gethostname)
in the HELO string, as this is an RFC/SMTP requirement. overridable
via cmdline.
- use EHLO instead of HELO if using STARTTLS, as it is not SMTP but
ESMTP.
- verify the server supports STARTTLS before initializing it.
- always send QUIT before disconnecting when possible.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1246 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mrtg.c: was this plugin even working? i don't think the
if/else logic
was doing what was intended.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1245 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mysql.c: check mysql now reads [client] defaults from
my.cnf (debian bug #278817)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1244 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-06 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ups.c: fix for misreporting temperature in perfdata
output for check_ups
(debian bts id: #316534)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1243 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-root/Makefile.am: whoops. now using automake
conditionals to prevent attempted compiles
of pst3 on non solaris systems.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1242 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-25 M. Sean Finney <seanius@users.sourceforge.net>
* plugins-root/Makefile.am: added rules to Makefile.am for pst3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1241 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-24 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in: a final change to hardcode the path for where plugins
are installed.
it's a very, very ugly hack... if anyone can think of a better way
to do it, i'm all ears.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1240 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-22 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in: use test instead of '[ ... ]' in configure.in. the
check_procs/pst3
situation is still not quite fixed.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1239 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in, configure.in, plugins-root/pst3.c: first version of bob
ingraham's pst3 to allow checking for longer
cmdline names than otherwise possible, by querying solaris kmem
directly (ps forcibly truncates). added requisite configure.in voodoo
and updated THANKS.in.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1238 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-22 Ton Voon <tonvoon@users.sourceforge.net>
* po/POTFILES.in: Mark moving of check_dhcp and check_icmp for
translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1237 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-21 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS, THANKS.in: Updated with contributors and new team member
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1236 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nwstat.c: Reopen connections for each query (1296296 -
David Sullivan)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1235 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dhcp.c, plugins/check_icmp.c: Moved into plugins-root/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1234 f882894a-f735-0410-b71e-b25c423dba1c
* ACKNOWLEDGEMENTS, CHANGES, Makefile.am, README, configure.in,
plugins-root/.cvsignore, plugins-root/Makefile.am,
plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/Makefile.am: Separation of root setuid plugins into
plugins-root/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1233 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-20 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Incorrect assignment of procppid in configure.in
(1296497 - Pascal Larisch)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1232 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/t/check_procs.t: Support for Tru64 for
check_procs + additional test cases
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1231 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-19 Ton Voon <tonvoon@users.sourceforge.net>
* doc/RELEASING: Note to update version number before creating ChangeLog
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1230 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, package.def: For 1.4.2 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1228 f882894a-f735-0410-b71e-b25c423dba1c
* ChangeLog: Updated for 1.4.2 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1227 f882894a-f735-0410-b71e-b25c423dba1c
* doc/RELEASING: Reminders for news item and tag format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1226 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS: Updated BUGS for 1.4.2 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1225 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in: More contributors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1224 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-15 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_ping.t: Added test to make sure hostname has to be
specified
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1223 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c, plugins/check_swap.c: - Cleanup minor compile
errors on Irix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1222 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-14 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_ping.c: Using common message
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1221 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Required hostname not flagging as an error
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1220 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: Some makes do not like blank lines after "\".
Fixed check_ldaps to only
generate if check_ldap was created (Chester Hosey)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1219 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: Fix to parsing of uptime (Ronald Tin - 1254656)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1218 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: - Removing typos
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1217 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-13 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_ping.c: More diagnostic messages from check_ping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1216 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-12 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ping.c: re-add a call to setlocale(LC_ALL, "") in
check_ping.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1215 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-12 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: For help in fixing Red Hat problem with ECHILD and waitpid
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1214 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, config_test/Makefile, config_test/child_test.c,
config_test/run_tests, configure.in, plugins/popen.c: ECHILD error at
waitpid on Red Hat systems (Peter Pramberger and
Sascha Runschke - 1250191)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1213 f882894a-f735-0410-b71e-b25c423dba1c
2005-08-30 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/subst.in: Better comments for what the substitutions
are doing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1212 f882894a-f735-0410-b71e-b25c423dba1c
2005-08-01 Ton Voon <tonvoon@users.sourceforge.net>
* doc/BRANCHING: Move notes on branching away from RELEASING
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1210 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS, ChangeLog, REQUIREMENTS, configure.in, package.def: For 1.4.1
release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1209 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25 Peter Bray <illumino@users.sourceforge.net>
* NPTest.pm: Change the environment variable NPTESTCACHE to NPTEST_CACHE
for consistancy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1208 f882894a-f735-0410-b71e-b25c423dba1c
* Helper.pm, Makefile.am, NPTest.pm, configure.in,
plugins-scripts/t/check_rpc.t, plugins/t/check_disk.t,
plugins/t/check_dns.t, plugins/t/check_fping.t, plugins/t/check_ftp.t,
plugins/t/check_hpjd.t, plugins/t/check_http.t, plugins/t/check_imap.t,
plugins/t/check_load.t, plugins/t/check_mysql.t, plugins/t/check_ping.t,
plugins/t/check_pop.t, plugins/t/check_procs.t, plugins/t/check_smtp.t,
plugins/t/check_snmp.t, plugins/t/check_swap.t, plugins/t/check_tcp.t,
plugins/t/check_time.t, plugins/t/check_udp.t, plugins/t/check_users.t,
plugins/t/check_vsz.t, test.pl.in: [1185704] New Testing Infrastructure.
Complete rewrite of the original testing infrastructure and
all test cases (to use the new infrastructure)
See NPTest.pm and issue 1185704 for more details.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1207 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-20 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: More contributors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1206 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Fix parsing for netkit-ping and iputils-ping
(Christian G Warden)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1205 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nwstat.c: Miscelleneous bug fixes (Gerd Mueller -
1235879)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1204 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-09 Ton Voon <tonvoon@users.sourceforge.net>
* BRANCHES: Changed format (already!) for awk simplicity
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1203 f882894a-f735-0410-b71e-b25c423dba1c
* BRANCHES: Master file to describe the current branches in CVS. Will be
used by
sfsnapshot to create the snapshot tarballs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1202 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-06 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Removed ",", causing problems with MacOSX compile
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1201 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Updated help file to remove swap -s reference
(Sivakumar Nellurandi)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1200 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, THANKS.in: Sean Finney moved to main list of plugin
developers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1199 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-04 Benoit Mortier <opensides@users.sourceforge.net>
* contrib/tarballs/check_traffic-0.90b.tar.gz: replace the version of
check_traffic who was missing the plugin
by a good one
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1198 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-29 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/runcmd.c, plugins/runcmd.h: initial versions of the runcmd
framework by andreas
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1197 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: divide by 0 fix for check_swap
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1196 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-28 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_load.c: set LC_NUMERIC to POSIX in check_load (1164325)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1195 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/Makefile.am, plugins/check_swap.c: scanf parsing
fix for check_swap from tracker id 1123292. now use floor(3)
to round down floating point numbers. requires -lm on many systems,
so support for testing for this was added to the configure.in and
automake template
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1194 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-27 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_hpjd.c: fixes from richard brodie (tracker id 1216576)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1193 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-26 M. Sean Finney <seanius@users.sourceforge.net>
* contrib/check_dl_size.pl, contrib/check_ftpget.pl,
contrib/check_logins.c, contrib/check_mysql.c, contrib/check_mysql.pl,
contrib/check_mysqlslave.pl, contrib/check_nwstat.pl,
contrib/check_pop3.pl, contrib/check_procl.sh, contrib/check_procr.sh:
spring cleaning of contrib directory from andreas
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1192 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/tarballs/berger-ping.tar.gz,
contrib/tarballs/check_memory.tgz, contrib/tarballs/check_spread.tar,
contrib/tarballs/radius.tar.gz: removal of obsolete tarballs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1191 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: "asprintf madness" fix from andreas' patch to
np-d, minus the comments.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1190 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-05 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_tcp.c: check_tcp code cleanup from andreas plus fix to
andreas' patch from sean
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1189 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-03 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_procs.c: gcc 2.x fixes from edward
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1188 f882894a-f735-0410-b71e-b25c423dba1c
2005-06-01 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_snmp.c: only load mibs if needed or specified - patch
1212395
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1187 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-28 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_load.c: bugfixes to check_load thanks to andreas
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1186 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-26 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_mysql.c: fix for check_msyql so that it doesn't use
column numbers but the
names instead for determining slave status. thanks to james kingston.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1185 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_time.c: 64bit sys support - 1185713
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1183 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: support for getnext - 1106430
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1182 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: RH9 pattern
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1181 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: perfdata patch - 1172539
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1180 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: new option for zero offset - 1159317
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1179 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: v2c support - 1155754
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1178 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-25 M. Sean Finney <seanius@users.sourceforge.net>
* configure.in, plugins/check_nagios.c, plugins/check_procs.c: fixes for
check_procs:
- added support for printing the pid in all the ps outputs
- don't use the proc name to ignore self, use the pid vs getpid().
- initialize procetime to null string otherwise -vvv can have funny results
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1177 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c, plugins/netutils.c, plugins/netutils.h: bah,
my_connect is taken by mysql. now calling it np_net_connect.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1176 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: patched bug id 1200030 - regex update
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1175 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: patched bug id 1204636
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1174 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-24 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_tcp.c, plugins/netutils.c, plugins/netutils.h:
optimizations and cleanup from andreas
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1173 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-23 M. Sean Finney <seanius@users.sourceforge.net>
* nagios-plugins.spec.in: build fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1172 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-03 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ping.c: setlocale(LC_ALL, "") should be
setlocale(LC_NUMERIC, "C") to properly parse the output of ping.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1171 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: if check_tcp was called with -e but not -s, it
would hang in a call to my_recv. the
fix committed here adds on more piece of logic to the check to see if more data needs
to be read, avoiding the deadlock call. a better fix would be to not use these "voodoo"
heuristics and instead use poll() or select(), but that's quite a bit more complicated.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1170 f882894a-f735-0410-b71e-b25c423dba1c
2005-05-01 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/popen.c, plugins/popen.h: better error checking in spopen
signal handler (see 1107524)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1169 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: provide a --with-perl option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1168 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-29 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_sybase: check_sybase 0.7 from Simon Bellman. Thx
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1167 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-19 M. Sean Finney <seanius@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: regexp fix for check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1166 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: check for the -w flag for ping6 as well as ping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1165 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-17 M. Sean Finney <seanius@users.sourceforge.net>
* plugins-scripts/check_disk_smb.pl: also change the --help output to
reflect that check_disk_smb defaults to empty passwords
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1164 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-16 M. Sean Finney <seanius@users.sourceforge.net>
* plugins-scripts/check_disk_smb.pl: patch to check_disk_smb to allow
empty passwords
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1163 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-14 M. Sean Finney <seanius@users.sourceforge.net>
* plugins-scripts/check_mailq.pl: check_mailq fix, don't be case
sensitive matching /^\s+Total\sRequests:\s(\d+)$/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1162 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: typographical fix in check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1161 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-11 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_ssh.c: properly call close() on the ssh connection
before exiting.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1160 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_tcp.c: this should add support for
check_ssmtp, based on the 1.3.x patch in 1155562,
but fixed to follow how things are done in 1.4 (using strdup instead of
asprintf) and patching configure.in instead of configure.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1159 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-07 M. Sean Finney <seanius@users.sourceforge.net>
* plugins/check_smtp.c: in honor of joining up, my first bugfix. this
should resolve 1174070.
note i don't have an exchange server to test this against, but it
does what the requester mentioned (slightly cleaner than the patch
attached in the tracker).
it does, however, still work against my own postfix server :)
sean
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1158 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-05 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_snmp.c: This is a first cut at adding performance data
to check_snmp. I wasn't sure
how to handle UOM so only values that return SNMP type Counter32: are labled
with "c". All other values have a blank UOM. I also left off warn, crit,
max and min values in the performance data until we come up with a way to
handle them.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1157 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-04 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: More contributors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1156 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: Fix static buffer (Nikolay Sturm)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1155 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-18 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_mysql.c: Replication check support for 4.1.x from Gerrit
Beine
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1154 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-08 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: Added OS info for offset issue
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1149 f882894a-f735-0410-b71e-b25c423dba1c
2005-03-04 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: Ignore extra check on offset 0.00000
(John Warburton - 1150777)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1148 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/check_smtp.c, plugins/check_ups.c: Fixed
// comments (Steve Greenland - 1143836)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1146 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: Support for IPv6 (Merijn Evertse -
1119917)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1145 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, package.def: Changed to next version number
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1144 f882894a-f735-0410-b71e-b25c423dba1c
* doc/RELEASING: Notes on branching
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1143 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Missed check_disk addition to 1.4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1141 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-11 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/Makefile.am: Fix for check_icmp build on Solaris from Andreas
Ericsson <ae@op5.se>
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1140 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-04 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: For 1.4 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1138 f882894a-f735-0410-b71e-b25c423dba1c
* ChangeLog: Updated for 1.4 release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1137 f882894a-f735-0410-b71e-b25c423dba1c
* BUGS: New file to note known bugs for major releases
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1136 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Reordering of items with most important announcements first
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1135 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-04 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_oracle_tbs: New version (1.1) from John Koyle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1134 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-04 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am: BUGS file addition to release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1133 f882894a-f735-0410-b71e-b25c423dba1c
* README: Cleanup and addition of reference to BUGS file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1132 f882894a-f735-0410-b71e-b25c423dba1c
* doc/RELEASING: Updated with corrections. Added note to update BUGS
file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1131 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-03 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: Patch against check_log
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1130 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_log.sh: Check for log file readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1129 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-02 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_email_loop.pl: Add debug option from John Rouillard
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1128 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ide_smart.c: try again to stop looping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1127 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ide_smart.c: restructure main() to stop looping on -n
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1126 f882894a-f735-0410-b71e-b25c423dba1c
2005-02-01 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_traceroute-pure_perl.pl: Thank you to Myke Place for
check_traceroute-pure_perl.pl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1125 f882894a-f735-0410-b71e-b25c423dba1c
* THANKS.in: Thank you for contributed plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1124 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: check_icmp added to libexec_PROGRAMS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1123 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: check_icmp no longer regarded as volatile; built by default
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1122 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/linux.h: plugins/linux.h, vestigeal header required for prior
versions of check_icmp, no longer required.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1121 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Amendments for check_icmp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1120 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: hacks to partly support check_icmp.c (1.0).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1119 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_icmp.c: Revised check_icmp (1.0) from A Ericsson.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1118 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_asterisk.pl, contrib/check_email_loop.pl,
contrib/check_http-with-client-certificate.c,
contrib/tarballs/check_traffic-0.91b.tar.gz: New or revised plugin in
/contrib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1117 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-28 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_sybase: New version of Simon Bellwoods check_sybase
(0.4). Thank you.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1116 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-27 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_traceroute.pl: Jon Meek's check_traceroute for Mon
hacked by YT for Nagios. Prob pretty weak
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1115 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_smart.pl: Candidate successor to
/plugins/check_ide_smart.c. Now in /contrib. NB there is another new
plugin with sim function
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1114 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_fan_cpq_present, contrib/check_fan_fsc_present,
contrib/check_mysqlslave.pl, contrib/check_temp_cpq,
contrib/check_temp_fsc: New /contrib plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1113 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_arping.pl, contrib/check_cpqarray.c,
contrib/check_frontpage, contrib/check_logins.c,
contrib/check_oracle_tbs, contrib/check_pcpmetric.py,
contrib/check_pfstate: New /contrib plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1112 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES, THANKS.in, contrib/README.TXT, po/de.po, po/fr.po: 1 New
/contrib plugins
2 Revised check_dhcp.c status in CHANGES
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1111 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-27 Harper Mann <harpermann@users.sourceforge.net>
* plugins/Makefile.am: Added check_dhcp bask into libexec_PROGRAMS after
talking with Stanley.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1110 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-26 Ton Voon <tonvoon@users.sourceforge.net>
* THANKS.in: More contributors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1109 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: Convert tabs to spaces from dig's answer section
(Randy O'Meara - 1107651)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1108 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS: Add recommendation for check_procs on Mandrake systems
(Paulo Fessel - 1106849)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1107 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-25 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/check_ide_smart.c: Display usage if no argv (Reuben Farrelly)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1106 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-25 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_dhcp.c: Tracker:1109261 This was an alignment problem on
Solaris. Linux kernel fixes alignment so this was not seen there. Memcpy
takes care of proper alignment. Tested on RHEL V3 U3, RHEL V4, FreeBSD
4.10 (Thanks Stanley!) and Solaris 9 with the GNU env.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1105 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-25 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/check_ide_smart.c: Trivial text changes (print_help,
commentary & -n option)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1104 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_dhcp.c, contrib/tarballs/check_icmp-0.8.tar.gz: moved to
/plugins (core plugin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1103 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/tarballs/check_cit.tgz: replaced by contrib/check_ica* (esp
check_ica_metaframe_pub_apps)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1102 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_citrix: Replaced by the check_ica* pair of plugins
(mainly check_ica_metaframe_pub_apps)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1101 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/packet_utils.pm: packet creation and dumping hacks used by
check_ica* and check_lotus
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1100 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_ica_master_browser.pl: New plugin - checks that ICA
master browser is what it should be (important for firewalled dialup)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1099 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_ica_metaframe_pub_apps.pl: Replacement (structured name
mainly) for check_citrix: check of ICA browse service
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1098 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_ica_program_neigbourhood.pl: New plugin to check Citrix
Metaframe XP "Program Neighbourhood"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1097 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_lotus.pl: New plugin to check responsiveness of Louts
Notes (v5 at least) servers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1096 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-24 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/Makefile.am: Removed check_dhcp and check_icmp from
libexec_PROGRAMS (ie dont build by defaut)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1095 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Notes about check_dhcp and check_icmp (no longer built by
default, use at own peril, volatile)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1094 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-21 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* configure.in: Set arch specifc preprocessor symbols in config.h.
TEMPORARY hack for check_dhcp.c [on FreeBSD 4: /check_dhcp -i fxp0 ->
DHCP ok: Received 1 DHCPOFFER(s), max lease time = 259200 sec.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1093 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-21 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_snmp.c: Tracker 1106378 fixed - The -t (timeout) arg was
not handled correctly when passed to the snmpget command. Added -e
--retries for the correct retries value to snmpcmd.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1092 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-21 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Changing copyright to the Nagios
Plugins Development Team, rather than
individual names. Also, clarified use of ACKNOWLEDGEMENTS, THANKS.in and
AUTHORS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1091 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_http.c: Changed long argument --minmax to --pagesize and
updated help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1090 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS, Makefile.am, THANKS.in: The AUTHORS file now used for the
plugin team, with THANKS.in as the
contributors list.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1089 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20 Harper Mann <harpermann@users.sourceforge.net>
* CHANGES: Added comment about check_http --pagesize and added max value
to page size check
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1088 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Added Sean for bug reports
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1087 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-20 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_http.c: Tracker 1099682 fix. Now getting the page size
from Content-Length in the header. Added max value to the -m switch so
can do "-m min:max". Retained "-m min" convention. Renamed long arg name
to --minmax
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1086 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-19 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_nt.c: In the CHECK_COUNTER block, there were several
strcats writing to unallocated
memory. Changed to asprintf. We're not freeing since plugin run is short.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1085 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-19 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_swap.c: Fixed parsing of AIX lsps command (1093522)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1084 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-14 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: More contributors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1083 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Fixed ssl configure problems on Solaris (Bug 1096091)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1081 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-13 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/check_swap.c: Use floats for holding memory
values to avoid different types on different
OSes. Seems to have a problem with the perf data for check_swap on Sol 2.6,
but not critical
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1080 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-05 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, package.def: Update version number to next release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1079 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-04 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_ide_smart.c: still trying to fix #1094326
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1078 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-03 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_ide_smart.c: more fixes for #1094326
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1077 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_mailq.pl: fixes for #1094324
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1076 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-02 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_ide_smart.c: fixing bug #1094326
still need to check the makefile for check_ide_smart.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1075 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-01 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_smtp.c: Removed old terminate function (Bug 1093491)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1074 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-30 Ton Voon <tonvoon@users.sourceforge.net>
* ChangeLog: Updated with r1_4-beta1 details
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1072 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: Note some syntax changes to check_disk
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1071 f882894a-f735-0410-b71e-b25c423dba1c
* doc/RELEASING: Update package files for version
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1070 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: For help with ps on FreeBSD 4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1069 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Get ps command for FreeBSD 4 (Tomasz Pilat)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1068 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-30 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_dhcp.c, plugins/check_dns.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_swap.c, plugins/check_tcp.c, po/de.po, po/fr.po,
po/nagios-plugins.pot: more internationalization fixes
internationalization freeze for beta1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-28 Benoit Mortier <opensides@users.sourceforge.net>
* AUTHORS, po/fr.po: more internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1066 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_smtp.c, po/fr.po: starttls support
for check_smtp #1041576
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1065 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins/check_ping.c: String match in check_ping for Solaris
10 #1091043
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1064 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-28 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: sys/param.h needed for sys/swap.h on openbsd 3.6 (Julien
Touche)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1063 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-27 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: more internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1062 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-25 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_icmp.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c,
plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c,
plugins/check_ups.c, plugins/check_users.c, plugins/negate.c,
plugins/netutils.c, plugins/popen.c, plugins/popen.h, plugins/urlize.c,
plugins/utils.c, po/de.po, po/fr.po, po/nagios-plugins.pot: various
fixes for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1061 f882894a-f735-0410-b71e-b25c423dba1c
* po/de.po, po/fr.po, po/nagios-plugins.pot: new version of po files and
pot file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1060 f882894a-f735-0410-b71e-b25c423dba1c
* package.def, po/POTFILES.in: change realase name on package.def
adding check_dhcp.c to potfiles.in
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1059 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dhcp.c: internationalization of
check_dhcp
internationalization fixes of check_ssh
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1058 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-24 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_icmp.c, po/POTFILES.in, po/fr.po: first pass at adapting
to plugin guidelines
and start of localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1057 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-23 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_http.c, po/fr.po: internationalization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1056 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-23 Michael Wirtgen <mwirtgen@users.sourceforge.net>
* po/de.po: german translations 391 to go
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1055 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-23 Ton Voon <tonvoon@users.sourceforge.net>
* ACKNOWLEDGEMENTS, configure.in, m4/np_curl.m4, plugins/Makefile.am:
Another attempt at fixing check_http compile on Redhat EL3. Fixed
check_icmp
compile (Lynne Lawrence - 1087171) - still some code changes to check_icmp
outstanding. Fixed compile of check_dhcp (complaining about socklen_t).
Added acknowledgements for Coreutils and curl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1054 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-22 Harper Mann <harpermann@users.sourceforge.net>
* plugins/check_nt.c: Added check for "%" in COUNTER <description>. If
it exists, <description> is used as an arg to asprintf. If it doesn't
exist, <description> is used as a label. If the formatting is wrong, the
program will segv.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1053 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-22 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am, lib/stdbool_.h: File required from coreutils
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1052 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-21 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/Makefile.am: Revert back to previous openssl
checks (the ones from curl kept having
problems with later Redhat versions)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1051 f882894a-f735-0410-b71e-b25c423dba1c
* m4/stdbool.m4: Another m4 from coreutils
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1050 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: For their bug reports
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1049 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, m4/Makefile.am, m4/np_coreutils.m4: Fixed compile
problem on Sol2.6 with stdbool.h
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1047 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-21 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/check_dhcp.c: Commentary changes only: cite origin of copied
code with reference to ACK file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1046 f882894a-f735-0410-b71e-b25c423dba1c
* ACKNOWLEDGEMENTS: ACK file contains the details of the authors of code
copied by the plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1045 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-21 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_dns.c: Add another error string match from Pasi
Tiittanen
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1044 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-20 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nagios.c: Corrected help for expiry units. Restored
functionality of searching for
process arguments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1043 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nagios.c: Updating help text to reflect using shortname
instead of full path for command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1042 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: - stupid typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1041 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Fix compile errors when looking for openssl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1040 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-20 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* COPYING, plugins/check_dhcp.c, po/de.po, po/fr.po: Compilation fixes
for check_dhcp.c HP-UX 11. Still fails on HP-UX 10. Unknown if
check_dhcp works on UX.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1039 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-18 Michael Wirtgen <mwirtgen@users.sourceforge.net>
* po/de.po: Initial commit on german translation - 428 to go
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1038 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-17 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Support for FreeBSD 5.2.1 and 5.3 in check_procs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1037 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-15 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Bump version to next release
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1036 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Mistake in automake version - back to
1.8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1035 f882894a-f735-0410-b71e-b25c423dba1c
* doc/RELEASING: Clarified notes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1034 f882894a-f735-0410-b71e-b25c423dba1c
* ChangeLog: Updated for r1_4_0-alpha3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1032 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Updated requirements for GNU tools
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1031 f882894a-f735-0410-b71e-b25c423dba1c
* m4/Makefile.am: Makefile for m4 files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1030 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, configure.in, plugins/Makefile.am, tools/setup: Support
for coreutils lib. Configure tests via m4 scripts from coreutils
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1029 f882894a-f735-0410-b71e-b25c423dba1c
* m4/Makefile.am.in, m4/afs.m4, m4/codeset.m4, m4/error.m4,
m4/exitfail.m4, m4/extensions.m4, m4/fstypename.m4, m4/fsusage.m4,
m4/getopt.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, m4/intdiv0.m4,
m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4, m4/isc-posix.m4,
m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4,
m4/ls-mntd-fs.m4, m4/malloc.m4, m4/mountlist.m4, m4/np_coreutils.m4,
m4/onceonly.m4, m4/progtest.m4, m4/realloc.m4, m4/stdint_h.m4,
m4/uintmax_t.m4, m4/ulonglong.m4, m4/unlocked-io.m4, m4/xalloc.m4:
Moving m4 files from lib/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1028 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, lib/afs.m4, lib/error.m4, lib/exitfail.m4,
lib/fstypename.m4, lib/fsusage.m4, lib/full-read.c, lib/full-write.c,
lib/full-write.h, lib/getopt.m4, lib/ls-mntd-fs.m4, lib/onceonly.m4,
lib/safe-read.c, lib/safe-read.h, lib/safe-write.c, lib/safe-write.h,
lib/unlocked-io.m4, lib/xalloc.m4: Moving m4 files into m4/. Added extra
coreutils files required from
autoconf tests. Updated Makefile.am to have nagiosplug lib and a separate
coreutils lib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1027 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-15 Benoit Mortier <opensides@users.sourceforge.net>
* po/de.po, po/fr.po: fr.po work in progress still 88 to translate ;-)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1026 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-11 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_tcp.c: Patch from Ollie Cook to define return code when
expected value not received (#1082275).
Also included another change from Ollie Cook to do stricter matching of expected values from the beginning of the line. When a user defines an expected string this is changed to the old style strstr matching.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1025 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_ldap.c: Fixed compile warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1024 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/Makefile.am: Compile broken - fixing link flags.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1023 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: Error catching improvements from Ollie Cook
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1022 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_pgsql.c: Fixing broken compile
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1021 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: More contributers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1020 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/Makefile.am: Changes to link flags for check_dhcp.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1019 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dhcp.c: Extensive changes to get MAC address from
Solaris via DLPI
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1018 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-10 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_dns.c, plugins/check_procs.c: Reverting back ngettext
calls
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1017 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: Fix includes for gettext
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-09 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Include $libsuff for systems that define this (based on
advice from
Daniel Stenberg)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1015 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-08 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Removed redundant check and make export LD_LIBRARY_PATH
more sh friendly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1014 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-08 Benoit Mortier <opensides@users.sourceforge.net>
* configure.in, plugins/Makefile.am, plugins/check_by_ssh.c,
plugins/check_game.c, plugins/check_http.c, plugins/check_ide_smart.c,
plugins/check_ldap.c, plugins/check_snmp.c, plugins/check_tcp.c: patch
1028033
minor internationalization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1013 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-08 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Fixed output info for openssl and LD_LIBRARY_PATH for
subsequent compiles
(otherwise get ld.so.1: ./conftest: fatal: libssl.so.0.9.7: open failed)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1012 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/Makefile.am: Better SSL checking (inspired by
curl 7.12.2's configure.ac)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1011 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07 Matthew Kent <mattkent@users.sourceforge.net>
* plugins-scripts/check_ifoperstatus.pl: Option to check for admin down
(#1012191) from Raúl Pedroche.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1010 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-07 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/Makefile.am: Correct dependencies for check_dhcp.c.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1009 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_dhcp.c: New plugin: check_dhcp.c.
Attempt to port to non Linux platform.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1008 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-06 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: new version of fr.po
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1007 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-05 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_snmp.c: Fix for -s string matching (#756567, Tony
Missana)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1006 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-05 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_nt.c, po/fr.po, po/nagios-plugins.pot: cleaned fr.po
nagios-plugins.pot
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1005 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c, plugins/check_icmp.c, plugins/check_nwstat.c,
plugins/check_ping.c, plugins/check_smtp.c, plugins/check_swap.c,
plugins/utils.h: fix patch 998291
fix patch 1078934 expect check_ssh fix and check_nt perfdata should stay
on one word like in nagios
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1004 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-04 Benoit Mortier <opensides@users.sourceforge.net>
* po/nagios-plugins.pot: new version of pot file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1003 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dns.c, po/POTFILES.in: various
internationalization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1002 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_by_ssh.c, plugins/check_dig.c,
plugins/check_http.c, plugins/check_ide_smart.c, plugins/check_mrtg.c,
plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c,
po/POTFILES.in: internationalization fixes
bugfixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1001 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c, plugins/check_hpjd.c: check_dns needs a space
between 'time' and the hostname
check_hpjd needs a parenthesis removed in print_usage()
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1000 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Bug Fix [ 1024735 ] check_swap providing
inaccurate swap information on Sol6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@999 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-03 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/negate.c: reverting my changes from
!=TRUE to == ERROR, that's not good ;-( sorry
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@998 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c, po/de.po, po/fr.po, po/nagios-plugins.pot:
check_tcp parenthesis bug, header fix for po files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@997 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ide-smart.c,
plugins/check_ldap.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c:
print_help and print_usage() cleanup
other misc cleanups
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-03 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/check_tcp.c: 1041571: -D option processing corrected (Eric
Chen). Changed process_arguments() to return TRUE. Dont know why this
was necessary.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@995 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-03 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c, plugins/urlize.c: remove UT_HLP_VRS from print_usage
this was not a good idea ;-)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@994 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: removing support fonction
removing warranty from print_revision
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@993 f882894a-f735-0410-b71e-b25c423dba1c
* ROADMAP, package.def, plugins/negate.c, plugins/utils.h: some minor
fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@992 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c, plugins/check_ssh.c: correcting parenthesis
error
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@991 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins/check_load.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/urlize.c: fixes for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@990 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c:
internationalization fixes and help fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@989 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_http.c,
plugins/check_nwstat.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_udp.c, po/.cvsignore: Localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@988 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ide-smart.c, plugins/check_pgsql.c: correcting copyright
and remaning int result = STATE_UNKNOWN;
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@987 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-03 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_nagios.c: Affected by elapsed time patch.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@986 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Another contributer.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@985 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_procs.c: Patch from Russell Miller which
adds elapsed time as a metric. Only for linux so far. (991359)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@984 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ldap.c: Fix typo breaking compile.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@983 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-03 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_dns.c,
plugins/check_dummy.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_ide-smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/negate.c, plugins/urlize.c: bump
copyright year
initialize result to STATE_UNKNOW in place of STATE_OK
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@982 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-02 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_dns.c, plugins/check_ldap.c, plugins/check_procs.c:
--disable-nls throws an error on check_dns, check_procs and
check_ldap without this patch.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@981 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-02 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/check_tcp.c: Tracker 1041571: appended :D to getopt_long()
args (for cert expiry check). Eric Chen.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@980 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-02 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/negate.c, plugins/popen.c,
plugins/utils.c: More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c,
plugins/negate.c: return of process_arguments() is TRUE not OK !
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@978 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: return of process_arguments() is TRUE not OK !
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@977 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-02 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/Makefile.am: Add check_icmp plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@976 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_icmp.c: check_icmp plugin from A Ericsson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@975 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/linux.h: For check_icmp plugin from A Ericsson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@974 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-02 Matthew Kent <mattkent@users.sourceforge.net>
* command.cfg.in: Fix typo.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@973 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, REQUIREMENTS, command.cfg.in, plugins/check_ups.c: Patch from
Arnaud Quette to bring support to NUT 2.0 plus couple improvements and
fixes (1038413 which includes 1032009, 815785).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@972 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-02 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c,
plugins/check_ide-smart.c, plugins/check_load.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c,
plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_udp.c, plugins/check_ups.c, plugins/negate.c,
plugins/popen.c: changed Error: by CRITICAL -
more localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@971 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_rbl.c: adapted for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@970 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_nagios.c, plugins/check_nt.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c,
plugins/common.h, plugins/getaddrinfo.c, plugins/getaddrinfo.h,
plugins/gethostbyname.c, plugins/gethostbyname.h, plugins/negate.c,
plugins/netutils.c, plugins/netutils.h, plugins/popen.c,
plugins/urlize.c, plugins/utils.c, plugins/utils.h: standardize
localization string
standardize unknow arguments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@969 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 Ton Voon <tonvoon@users.sourceforge.net>
* doc/RELEASING: Notes on releasing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@968 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Next version number
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@967 f882894a-f735-0410-b71e-b25c423dba1c
* ChangeLog: Updated for r1_4_0-alpha2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@965 f882894a-f735-0410-b71e-b25c423dba1c
* tools/devmode: eval not working - instructions now in comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@964 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Fixed pmon process checking from a
change I made earlier
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@963 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 Benoit Mortier <opensides@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_ssh.c: first
pass at standardization of messages for the localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@962 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* configure.in: Bryan Loniewski contributed check_jabber plugin
(SSL/check_tcp); Eric Chen check_nntps plugin + SSL certficate expiry
check [added -D option to check_tcp]
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@961 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/netutils.c: 1075725: patch to my_connect() to deal with SEGV
if connect fails
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@960 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: 1041571 & 664615: check_tcp with cert check +
nntps, simap, jabber
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@959 f882894a-f735-0410-b71e-b25c423dba1c
2004-12-01 Matthew Kent <mattkent@users.sourceforge.net>
* contrib/check_nmap.py: Small fix from David Rippel (996800) for newer
versions of nmap
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@958 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Perf data and other improvements by
Florian Gleixner (1027787)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@957 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-30 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: more french translations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@956 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-30 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_ide-smart.c: Capitalized some error messages
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@955 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/urlize.c: Updated output to UNKNOWN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@954 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-30 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: translating fr.po new part
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@953 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-29 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am, lib/exitfail.m4, lib/getopt.m4: Extra files required
from coreutils
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@952 f882894a-f735-0410-b71e-b25c423dba1c
* SUPPORT: Cleanup and statement re: contrib plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@951 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Patches for configure on *BSD (Julien Touche)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@950 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-29 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/README.TXT, contrib/rblcheck-dns, contrib/rblcheck-web,
contrib/tarballs/check_icmp-0.8.tar.gz: *** empty log message ***
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@949 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-29 Matthew Kent <mattkent@users.sourceforge.net>
* contrib/check_linux_raid.pl: Better error checking (820806)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@948 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-29 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: second version of french .po still 300 ;-) to translate
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@947 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-28 Benoit Mortier <opensides@users.sourceforge.net>
* po/fr.po: first new translation of fr.po
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@946 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-27 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_ssh.c: Add remote version check (1030269, Daniel Gullin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@945 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-26 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* AUTHORS: New plugin/bugfix: tracker 1070929. check_hpjdres
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@944 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-25 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_disk.c: From old test harness code, make ./check_disk -w
0 -c 0 / valid parameters again
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@943 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_dns.t, plugins/t/check_http.t, plugins/t/check_load.t,
plugins/t/check_mysql.t, test.pl.in: Updating test harness
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@942 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-25 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/README.TXT: Removed reference to non existent tar balls
(Hopcroft plugins)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@941 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_wins.pl: Non functional tidy ups to check_wins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@940 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_hw.sh: Added /contrib/check_hw.sh by Rok Debevc
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@939 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_sybase: Added /contrib/check_sybase by Simon Bellwood
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@938 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_hprsc.pl: update check_hprsc.pl for Net-SNMP versions
>=4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@937 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-24 Ton Voon <tonvoon@users.sourceforge.net>
* tools/sfsnapshot: Removing build directory after creating distribution
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@936 f882894a-f735-0410-b71e-b25c423dba1c
* doc/makefile: Added clean
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@935 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-24 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* plugins/check_hpjd.c: add -OQa to command_line in check_hpjd.c.
Correct nagiosplug-Bugs-889948, 846329
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@933 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-24 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_nwstat.c: Attempting to fix a reported segfault
(1055054)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@932 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Added support for sending port in host header
(913633)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@931 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-24 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c,
plugins/check_ups.c, plugins/check_users.c, plugins/negate.c,
plugins/urlize.c: Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-23 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_by_ssh.c, plugins/check_dns.c, plugins/check_hpjd.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_swap.c,
plugins/check_time.c: Standardising translation texts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@929 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Guidelines on translated text (Yves
Mettier, Simon Bellwood, Andreas Ericsson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@928 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Adding notes on developer and
translator access in SF
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@927 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-23 Matthew Kent <mattkent@users.sourceforge.net>
* AUTHORS: More contributers.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@926 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Fix integer warning and critical options. Take
values from current unit instead of always KB.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@925 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-23 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* doc/developer-guidelines.sgml: trivial changes to Perl plugin section.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@924 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-22 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: More contributors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@923 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Fixed some messages that should not be translated
(Benoit Mortier)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@922 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-21 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_mysql.c: Patch from Nathan Shafer to add replication
slave check (1006777)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@920 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-20 Matthew Kent <mattkent@users.sourceforge.net>
* AUTHORS: Oops, forgot one.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@919 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: More contributers.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@918 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_linux_raid.pl: Fix always reading status from the last
line (1045506)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@917 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: New output format reported by pumuckel1980
(946857)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@916 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Bit of cleanup, fix verbose output.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@915 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-20 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Fixed va_copy problem on AIX by copying samba's
configure.in
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@914 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-19 Ton Voon <tonvoon@users.sourceforge.net>
* CODING: Added perl coding guidelines, from Programming Perl book
(Andreas Ericsson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@913 f882894a-f735-0410-b71e-b25c423dba1c
* lib/getloadavg.m4: I think getloadavg.m4 is no longer required (as
autoconf has built-in function)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@912 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am: Removed getloadavg.m4 (built-in function in autoconf)
and added cloexec.[hc]
for getloadavg.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@911 f882894a-f735-0410-b71e-b25c423dba1c
* lib/cloexec.c, lib/cloexec.h: Files required for getloadavg.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@910 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-19 Matthew Kent <mattkent@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: Fix incorrectly labelled units in output
(1025905, Jason Martin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@909 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: Enabling timeout flag (1010097, Jason Martin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@908 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Make -L notice ssl use to output a proper href
(1035234, Abid Rasheed)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@907 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: Change unit from 'us' to 's' to match other core
plugins for simplicity.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@906 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-19 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: - More great contributors...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@905 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Options for User Agent string and extra headers
(Ibere Tizio)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@904 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-18 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Remove unnecessary CPPFLAGS for openssl (Lutz Behnke -
686476)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@903 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: Enhance SSL initialization problems (Phil
Dibowitz - 1055120)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@902 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-18 Matthew Kent <mattkent@users.sourceforge.net>
* plugins/check_smtp.c: Go critical on no route to host instead of
warning (934025)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@901 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-18 Ton Voon <tonvoon@users.sourceforge.net>
* tools/setup: Use copy of tools for consistency if building on
different platforms from
shared source
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@900 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_tcp.c: Ignore output from tcp port (949070 - Jan-Piet
Mens)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@899 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: --no-body and --max-age options (949521 - Jamie
Zawinski)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@898 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Added section on using Sourceforge,
mainly for administrators
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@897 f882894a-f735-0410-b71e-b25c423dba1c
2004-11-12 Ton Voon <tonvoon@users.sourceforge.net>
* tools/update_coreutils: Tool to pull newer coreutil libs into
nagiosplug's lib directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@896 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, lib/error.c, lib/error.h, lib/error.m4, lib/exit.h,
lib/exitfail.c, lib/exitfail.h, lib/fsusage.c, lib/fsusage.h,
lib/fsusage.m4, lib/full-read.h, lib/getloadavg.c, lib/getopt.c,
lib/getopt.h, lib/getopt1.c, lib/gettext.h, lib/ls-mntd-fs.m4,
lib/malloc.c, lib/mountlist.c, lib/mountlist.h, lib/onceonly.m4,
lib/realloc.c, lib/snprintf.c, lib/strtod.c, lib/unlocked-io.h,
lib/unlocked-io.m4, lib/xalloc.h, lib/xalloc.m4, lib/xmalloc.c,
lib/xstrdup.c, plugins/check_disk.c, po/de.po, po/fr.po: Update to using
coreutils 5.2.1 libraries and snprintf.c from samba 3.0.8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@895 f882894a-f735-0410-b71e-b25c423dba1c
2004-09-07 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Clarity based on comments by Ben
Clewett
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@894 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-23 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: For patch to check_nt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@893 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Restore divisor for memory size reported by
Windows. Also, implements warning
and critical levels for performance counters. (Paulo Afonso Graner Fessel)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@892 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_swap.c, plugins/common.h: Using swapctl
for Solaris, Tru64 and *BSD (Sean Finney)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@891 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-19 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/check_swap.c, plugins/common.h: Patch for tru64
using swapctl calls (Sean Finney)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@890 f882894a-f735-0410-b71e-b25c423dba1c
2004-08-18 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Another day's work...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@889 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: Checks different record types and checks against
an expected address (Bill Kunkel)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@888 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Support for check_swap on NetBSD/OpenBSD (Sean Finney)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@887 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: More specific test for sid (Paul
Allen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Fixed perfdata so that shows amount used (Garry
Cook)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@885 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifstatus.pl: Perfdata corrected (Garry Cook)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@884 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Fix for similar dataabase sids
(Carole Verdon)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@883 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Gary Cook for perfdata for check_nt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@882 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Perfdata added (Gary Cook)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@881 f882894a-f735-0410-b71e-b25c423dba1c
2004-06-26 Ton Voon <tonvoon@users.sourceforge.net>
* tools/sfsnapshot: Change of compile server and cleanups
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@880 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Remove need to alter configure.in. Using different
compile farms for
SF to do the compiling
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@879 f882894a-f735-0410-b71e-b25c423dba1c
2004-05-24 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Ben Clewett
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@878 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am: Missed getloadavg.c (Ben Clewett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@877 f882894a-f735-0410-b71e-b25c423dba1c
2004-05-20 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_dhcp.c: DHCP bug fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@876 f882894a-f735-0410-b71e-b25c423dba1c
2004-05-10 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Set EXTRAS with check_swap if ac_cv_have_swap is set
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@875 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-30 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: ps -el for HP-UX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@874 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-29 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Bug in ps -el for AIX 4.1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@873 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Sven for HP-UX requirements
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@872 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS: HP-UX requirements (Sven Schaffranneck)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@871 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-19 Subhendu Ghosh <sghosh@users.sourceforge.net>
* AUTHORS, contrib/check_nagios_db_pg.pl: Postgres backend monitor
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@870 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins-scripts/check_mssql.pl: check_mssql.pl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@869 f882894a-f735-0410-b71e-b25c423dba1c
* README: Win32 plugin repository
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@868 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-08 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Torsten Werner for check_racle patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@867 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Cleaner calls to awk and support if
Oracle has different national
language settings (Torsten Werner)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@866 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-06 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/check_procs.c: Fixed weird scanf bug on Solaris
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@864 f882894a-f735-0410-b71e-b25c423dba1c
2004-04-02 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_by_ssh.c: add example invocation to help
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@863 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-31 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Howard Wilkinson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@862 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Command line argument bug (Howard Wilkinson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@861 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/netutils.c: Set default state (Howard Wilkinson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@860 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Update author list
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@859 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-23 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_fping.c: check was supposed to be agains ms - got munged
wfixeg the perfdata output to be in seconds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@858 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-22 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Joe Rhett for getopt bug
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@856 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Option --url not mapped (Joe Rhett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@855 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-18 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: More help for patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@854 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Typo in check_disk units (Matthew Kent - 909281)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@853 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Mysql include path not added correctly (Arnold Cavazos -
912974)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@852 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_radius.c: Option to fill in NAS-identifier to Emulate
pam_radius behaviour (Alexander Kulak)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@851 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-17 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Copyright information for patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@850 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-14 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtgtraf.c,
plugins/check_pgsql.c, plugins/check_smtp.c, plugins/check_tcp.c,
plugins/check_ups.c: use fperfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@849 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_fping.c: use fperfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@848 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-12 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_cluster2.c: New cluster plugin for Nagios 2.x
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@847 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-11 Ton Voon <tonvoon@users.sourceforge.net>
* CHANGES: check_procs difference
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@846 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nagios.c: Incorporate check_proc changes into
check_nagios. ps handling probably should
be moved into utils.c in future
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@845 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-08 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Require ngettext
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@844 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Information on plugin output format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@843 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-04 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c, plugins/check_dns.c, plugins/check_game.c: use
float for time in perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@842 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-03 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c, plugins/utils.c: begin writing some perfdata as
float
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@841 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_pop3.pl: fix loop and \r\n (Jason Burnett -
http://sourceforge.net/tracker/index.php?func=detail&aid=895677&group_id=29880&atid=397599)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@840 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: check_disk was getting blocks instead of bytes
(Michael Musikhin -
http://sourceforge.net/tracker/index.php?func=detail&aid=900215&group_id=29880&atid=397599)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@839 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-02 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* pkg/fedora/requires, pkg/redhat/requires: attempt to prune requires
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@838 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, nagios-plugins.spec.in, pkg/fedora/requires: make
specfile into a template which can generate a generic spec plus specs
suitable for various repositories
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@837 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: prpare for alpha2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@836 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: relax check for -w/-c to accept floats (bug
report from Warrick FitzGerald)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@835 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins/check_swap.c: fix div by zero error when swaptotal is
zero (Flo Gleixner)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@834 f882894a-f735-0410-b71e-b25c423dba1c
2004-03-01 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c, plugins/netutils.c: check_tcp was returning
uninitialized string with user-defined refused outcome
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@833 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: allow regex for ecpect checks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@832 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-29 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_nwstat.c, plugins/netutils.c, plugins/netutils.h: was
making up to 34 separate tcp connections - now we open one and reuse
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@831 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-28 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_snmp.c: checks for warn in check_num() mistakenly
referred to crit limits
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@830 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: minor doco update to reflect handling of
repeated caoomand strings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@829 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: work in progress to accept multiple
command/expect pairs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@828 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: update to work with Linux 2.6 /proc/meminfo
format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@827 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-25 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* AUTHORS, plugins/check_dns.c: check server for authoritative status
(from Jon Hallet)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@826 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: change some datatypes to llu for very large
swaps
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@825 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_ping.c: pass timeout to ping if supported
with -w parameter (linux)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@824 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_by_ssh.c: add option to ignore a specified number of
lines on stderr
(to suppress a login banner)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@823 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Add Jason Martin for report of missing $opt_C for 'use vars'
in check_breeze
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@821 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_breeze.pl: add opt_C to 'usr vars'
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@820 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-20 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_http.c: - Missed out getopt for -T
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@819 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-20 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* contrib/check_dhcp.c, plugins/check_snmp.c, plugins/negate.c,
plugins/netutils.c, plugins/urlize.c: spell fix "received"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@818 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h: add perfdata function for floats to
complement ints, also spell fix "received"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@817 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: add Ralph Rye for report of check_procs segfault on
AIX/WebSphere and proof-of-concept patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@816 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: handle case where line from ps output exceed
MAX_INPUT_BUFFER
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@815 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-20 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Shaun Wills for patch to check_http
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@814 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Added Content-type when POSTing (Shawn Wills)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@813 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: - compiler warning removed (but usage2 messages
badly broken)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@812 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Matt Pounsett for bug report
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@811 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: Different text to scan for if multiple addresses
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@810 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Corrected usage message (Matt Pounsett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@809 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-19 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Michael Musikhin for check_disk patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@808 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Uninitialised variables for -X (Bug 900091 -
Michael Musikhin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@807 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: version bump (old)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@806 f882894a-f735-0410-b71e-b25c423dba1c
* acinclude.m4, lib/afs.m4, lib/fstypename.m4, lib/fsusage.m4:
underquoted defines cause warning on FC2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@805 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-18 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Johannes Herlitz for patch to check_dns
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@804 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: Output message includes the query_address, as
inspired by Johannes Herlitz.
Also cleanup of comments and handles multi-line nslookup output (MacOSX 10.3)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@803 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-17 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: David Alden for check_snmp_procs.pl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@802 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_snmp_procs.pl: Checks remote processes via SNMP (David
Alden)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@801 f882894a-f735-0410-b71e-b25c423dba1c
2004-02-09 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Patrick McCormick
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@800 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: Fix for check_ping old-style argument handling
(Patrick McCormick - 892211)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@799 f882894a-f735-0410-b71e-b25c423dba1c
2004-01-28 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_dummy.c: Print optional text
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@798 f882894a-f735-0410-b71e-b25c423dba1c
2004-01-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* AUTHORS: credit David Croft (patch check_tcp formultibyte malloc bug
in server_expect)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@797 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: =fix segfault on malloc of server_expect for
multibyte chars (David Croft)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@796 f882894a-f735-0410-b71e-b25c423dba1c
2004-01-18 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_snmp_printer.pl: plugin to check printer status via
snmp, includes page count as perfdata; perl plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@795 f882894a-f735-0410-b71e-b25c423dba1c
2003-12-24 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Bug reporter
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@794 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Fixed help doc on use of % (854817 - Gunnar
Hellekson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@793 f882894a-f735-0410-b71e-b25c423dba1c
2003-12-18 Ton Voon <tonvoon@users.sourceforge.net>
* README: Reference to CHANGES file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@792 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Add CHANGES file to distribution
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@791 f882894a-f735-0410-b71e-b25c423dba1c
* CHANGES: List major changes between releases
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@790 f882894a-f735-0410-b71e-b25c423dba1c
2003-12-11 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: For patch to check_http
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@789 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Relative redirects not followed correctly
(854131 - John Sivak)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@788 f882894a-f735-0410-b71e-b25c423dba1c
2003-12-05 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Ben Whaley for reported Solaris 8 /usr/ucb/ps problem in
configure.in
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@787 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Not correctly working out ps command if /usr/ucb before
/usr/bin in PATH for
Solaris (reported by Ben Whaley)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@786 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Patch to my_connect
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@785 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/netutils.c, plugins/netutils.h: Fix clash of namespace for
my_connect with mysql (854339 - Ian Holsman)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@784 f882894a-f735-0410-b71e-b25c423dba1c
2003-12-02 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Default thresholds not defined for lists in -x
parameter (raised by Matt Garrett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@783 f882894a-f735-0410-b71e-b25c423dba1c
2003-12-01 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* po/de.po, po/fr.po: commit changes caused by upstream code mods
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@782 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: use usage2 function
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@781 f882894a-f735-0410-b71e-b25c423dba1c
* nagios-plugins.spec.in: add THANKS to %doc
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@780 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-28 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Fixed listing of failed processes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@779 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-24 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: For patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@778 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c: Bug from code-clean (Antony Simmonds - 846311)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@777 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* README: update auotmake/autoconf versions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@776 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: update developer names
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@775 f882894a-f735-0410-b71e-b25c423dba1c
* INSTALLING: our policy now is to use most recent versions of GNU tool
chain
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@774 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_time.c: add perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@773 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: use perfdata() to return perfoamnace data in
stanadrd format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@772 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-17 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ups.c: bugfix - each supported option was overwriting
the previous perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@771 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ups.c: add perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@770 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_pgsql.c: add perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@769 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-12 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_snmp.c: clean up compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@768 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mrtg.c, plugins/check_nt.c: clean up compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@767 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mrtgtraf.c, plugins/check_swap.c: clean up compiler
warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@766 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mrtgtraf.c: add perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@765 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: remove overflow checks of strtod - HUGE_VALF
requires C99; also remove equality checks on warn/crit interval which
are no doubles
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@764 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_tcp.c: Added perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@763 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_users.c: Added perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@762 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Added perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@761 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Fixed if only absolute warn/crit set
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@760 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-10 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/utils.h: - typo fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@759 f882894a-f735-0410-b71e-b25c423dba1c
2003-11-05 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ifoperstatus.pl,
plugins-scripts/check_ifstatus.pl: added plugin timeout options
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@758 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-31 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_nt.c: provide an error message
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@757 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c: line indentation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@756 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: add perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@755 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mrtg.c: add perf data
fix bug where stale data message would get overwritten
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@754 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-24 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/common.h: Ignore __attribute__ for non-GNU compilers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@753 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: Moved config.h to toplevel
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@752 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-23 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am: Need to include intl/ for systems without libintl.h
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@751 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-21 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Matt Garrett for bug reports
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@750 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_file_age.pl: - Fixed file name (Matt Garrett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@749 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-20 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, lib/fsusage.c, lib/mountlist.c: Fix for config.h at top
level. Required for intl/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@748 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-15 Ton Voon <tonvoon@users.sourceforge.net>
* tools/mail_error: Need to export PATH for sfsnapshot to get correct
GNU toolchain
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@747 f882894a-f735-0410-b71e-b25c423dba1c
2003-10-14 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ifoperstatus.pl: snmpv3 patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@746 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifstatus.pl: more snmpv3 patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@745 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: Bug 773588: added check to warn on
matching # candidates only
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@744 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifstatus.pl: Added -M for maxmsgsize (v1/v2c)
Added v3 support
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@743 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-30 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_swap.c: Fixed logic problem if HAVE_SWAP, but not on AIX
or Solaris. Removed
unnecessary ifdefs for help page. Better indentation for ifdefs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@742 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-29 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am: Missed GNU files for AIX 5.1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@741 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-17 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Added authors of obsolete contrib plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@740 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/maser-oracle.pl: Obsolete from main check_oracle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@739 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/aix/check_crit_dsk, contrib/aix/check_dsk,
contrib/aix/check_ping: Plugins obsolete from main check_disk and
check_ping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@738 f882894a-f735-0410-b71e-b25c423dba1c
* lib/strtod.c: Required if strtod not GNU compilant
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@737 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/Makefile.am, lib/error.c, lib/error.h, lib/error.m4,
lib/malloc.c, lib/realloc.c, lib/unlocked-io.h, lib/xalloc.h,
lib/xmalloc.c: Support to compile on AIX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@736 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: - typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@735 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_swap.c: Support for check_swap in AIX
(tested on 5.1)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@734 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: Hide error message if docbook not available
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@733 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-16 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Added in threshold range format and
updated autoconf to 2.54 for a problem
on Darwin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@732 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/Makefile.am, plugins/check_procs.c: Support for
AIX ps command and cleanup of configure's ps checks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@731 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins/common.h: AIX problem with enum TRUE and FALSE (Ludse
Verhoeven)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@730 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-16 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* tools/sfsnapshot: here-doc format was not correct
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@729 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ldap.c: milisecond timing and perfdata, fix NULL pointer
error in validate_arguments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@728 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15 Ton Voon <tonvoon@users.sourceforge.net>
* AUTHORS: Contributors to the perfdata discussion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@727 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins-scripts/check_mailq.pl: Added Exim support (768445 -
Eric Bollengier)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@726 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS, plugins/check_nt.c: Option to verify check_nt version (799098
- Steve Hanselman)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@725 f882894a-f735-0410-b71e-b25c423dba1c
* AUTHORS: Jason Burnett for check_disk_smb patch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@724 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_disk_smb.pl: Optionally specify port for
smbclient to use (781227 - Jason Burnett)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@723 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: make status code extensible (thanks to Chris
Wilson <chris@netservers.co.uk>)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@722 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-12 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* AUTHORS: two new additions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@721 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: new output format reported by Patrick Allen
<p.allen@brandblue.co.uk>
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@719 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-11 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: use prefdata function for size too
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@718 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: use prefdata function
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@717 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_swap.c: last changes to configure broke
check_swap on RHLinux. Restore /proc/meminfo check and make check_swap
ifdefs safer
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@716 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-04 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* Makefile.am: change so make-dist works in subdirs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@715 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-03 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Remove df checks and ignore swap checks if no swap
commands found
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@714 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: No named credits in source code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@713 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Fixed substitution for Tru64's ps format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@712 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-03 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c: allow warn/crit times to be floating point
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@711 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/common.h: include math.h if needed for HUGE_VAL
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@710 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-02 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Solaris requires asprintf checks for null
variables
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@709 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-01 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am: Report duplicates in AUTHORS file
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@708 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Add contributor's name into CVS
comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@707 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-31 Ton Voon <tonvoon@users.sourceforge.net>
* .cvsignore, AUTHORS, Makefile.am, THANKS.in: Updated AUTHORS to
include all contributors listed in comments in code and
CVS for plugins and plugins-scripts. Still need to do SF
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@706 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Updated perf data standard for warn
before crit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@705 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-28 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_game.c: add perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@704 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: add perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@703 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: use single quotes per guideline, also quote when SPC
or = are found
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@702 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: add perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@701 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: suppress quotes in perf data when not needed (some
plugins need the space to keep below line length limit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@700 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.h: add min() macro to complement max()
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@699 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-26 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c: print perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@698 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_fping.c: print perfdata
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@697 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h: function to make perfdata output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@696 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-23 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: - found and fixed memory allocation error in
rewritten redir() function
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@695 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: - hacked interim fix to segfault on redirect -
for tesing only
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@694 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: - fix various format errors with newly added perf
data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@693 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-22 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c: - forgot to declare struct timeval tv for hires
timing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@692 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: - add perf data for time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@691 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide-smart.c, plugins/check_ldap.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mysql.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c,
plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_udp.c,
plugins/check_ups.c, plugins/check_users.c, plugins/negate.c,
plugins/urlize.c: - bindtextdomain for gettext, a few other smale
cleanups here and there
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@690 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: * bugfix: snprintf of timestamp truncated '\0'
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@689 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: * Check redirections for infinte loops and limit
depth of recursion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@688 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-20 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_time.c: Optionally use udp instead of tcp (Bradley Baetz
- 751646)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@687 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_wins.pl: Changed netsaint to nagios in use lib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@686 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: *BUGFIX: LWS is not required betwwen "Location:"
header field name and field value
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@685 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: *add missing status numbers from RFC 2616
(HTTP1.1)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@684 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ping.c: move error scans to a new separate routine and
scan both stderr and stdio
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@683 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-11 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Performance data guidelines added
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@682 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Fixed building snapshots - cvs update ignores new
directories.
Also do not need to run make
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@681 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-10 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/utils.c: config.h is redundant (common.h includes it)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@680 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c, plugins/check_smtp.c: perf data in integer
microseconds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@679 f882894a-f735-0410-b71e-b25c423dba1c
* po/POTFILES.in, po/de.po, po/fr.po: first pass at NLS markup done
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@678 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_rpc.pl: proposed fix for LANG issue
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@677 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/negate.c, plugins/popen.c,
plugins/urlize.c: the last round of pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@676 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-09 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* tools/devmode: a little shell script to make it a little easier to
produce pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@675 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c, plugins/check_ssh.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c: more pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@674 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-09 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/common.h, po/de.po, po/fr.po: Code clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@673 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-09 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c, plugins/check_http.c, plugins/check_load.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_ping.c, plugins/check_procs.c,
plugins/check_real.c, plugins/utils.c, plugins/utils.h: more pedantic
compiler warns
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@672 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: more pedantic compiler warns, change to
microsecond output for perf data, add size to perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@671 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h: add function for elapsed tim ein
microseconds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@670 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: more pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@669 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/check_dummy.c, plugins/popen.c,
plugins/utils.c, plugins/utils.h: more pedantic compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@668 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-08 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* lib/Makefile.am: include getloadvag.m4 in distrib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@667 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/netutils.c, plugins/netutils.h: cleanups
from pedantic complier warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@666 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: change if/elseif block to case, general streamline
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@665 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: fix a variety of compiler warnings about
qualifier discards and other pedantic stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@664 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_snmp.c, plugins/utils.c, plugins/utils.h: fix a variety of
compiler warnings about qualifier discards and other pedantic stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@663 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_disk.c, plugins/check_nt.c,
plugins/netutils.c, plugins/netutils.h, plugins/popen.h,
plugins/utils.h: fix a variety of compiler warnings about qualifier
discards and other pedantic stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@662 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c, plugins/check_smtp.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@661 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-07 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_real.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@660 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@659 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: reorder for consistency, restore prototypes for
print_foo, nest #ifdef to avoid pedantic traditional c warn
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@658 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: reorder for consistency (no code changes)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@657 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_disk.c, plugins/check_dns.c,
plugins/check_fping.c, plugins/check_game.c, plugins/check_http.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_nwstat.c, plugins/check_overcr.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_snmp.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/negate.c, plugins/netutils.c, plugins/popen.c, plugins/utils.c,
plugins/utils.h: replace "terminate" with "die" for shorter name and
better readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@656 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: cleanup for better readability
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@655 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@654 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: make must be run before make dist to creat language
files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@653 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-06 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Added in that Nagios plugins are
written to GNU standards
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@652 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-06 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* lib/.cvsignore: ignore ulonglong.m4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@651 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_overcr.c: markup for translation, move send_buffer
assignment to process_args so process_tcp_request can be moved outside
the conditional, replace if/esleif with switch, replace #defines with
enum
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@650 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nwstat.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@649 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-05 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Added dev platform requirements
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@648 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-05 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ssh.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@647 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-05 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_mssql.sh: Version 2.0 of MS SQL server plugin
(contrib/check_mssql.sh) from T De Blende.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@646 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-04 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_users.c, plugins/urlize.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@645 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_time.c, plugins/check_udp.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@644 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ldap.c, plugins/check_nagios.c, plugins/check_radius.c,
plugins/check_udp.c, plugins/check_ups.c, plugins/negate.c: markup for
translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@643 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-03 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ldap.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c:
markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@642 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@641 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ldap.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@640 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c, plugins/check_ldap.c, plugins/check_tcp.c:
markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@639 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_ide-smart.c: markup for
translation, use common.h, fix problems compiling
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@638 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@637 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-02 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_hpjd.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@636 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mysql.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@635 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_fping.c, plugins/check_game.c, plugins/check_mysql.c,
plugins/check_snmp.c, plugins/utils.h: markupf for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@634 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h: ifdef so utils.h can be header for
utils.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@633 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_fping.c, plugins/check_snmp.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@632 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_pgsql.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/utils.h: establish
"UT_" namespace for usage text in #defines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@631 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@630 f882894a-f735-0410-b71e-b25c423dba1c
2003-08-01 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dns.c: terminate in error_scan() so meaningfull errors
can be sent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@628 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dummy.c: mark for transaltion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@627 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: do not translate the strings that will be
compared to utility output - LC_ALL is set to C so those strings should
be untranslated regardless of the system settings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@626 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/popen.c: set LC_ALL to C in execve environemnt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@625 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: 'ln -f -s ...' is not reliable/portable. Use 'rm
-f ...; ln -s ...'
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@624 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-31 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dns.c: mark for translation (note problem here - it
relies on tranalation in underlying utility, which has a high chance of
failing)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@623 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/utils.h: mark for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@622 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-30 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_by_ssh.c: mark up for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@621 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c, plugins/check_pgsql.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/utils.h: markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@620 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-29 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_pgsql.c, plugins/check_swap.c, plugins/check_tcp.c: mark
for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@619 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.h: some shared text for internationalized help text
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@618 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: clean up warnings about ill-formed comment and string
concatenation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@617 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, ChangeLog, README, configure.in, lib/Makefile.am: bump to
gettext 0.11.5 and cleanup GNU toolchain
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@616 f882894a-f735-0410-b71e-b25c423dba1c
* ABOUT-NLS, INSTALL: get from GNU files instead of storing in CVS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@615 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: move autopoint to start of gnu toolchain setup
use --force-missing instead on manually copying files
(manual process was broken on RedHat, and we should expect automake to do its job right anyway)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@614 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: look for getloadavg.c in $topdir/lib, not $srcdir/lib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@613 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: patch attempt to reference undefined optarg
(credit Paul Farrall)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@612 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-28 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: - Specify srcdir so no confusion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@611 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/getloadavg.m4: Readded getloadavg.m4 as using
autoconf 2.50+. This fixes redhat 6.2 compiles
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@608 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-26 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_pgsql.c: mark for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@607 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: add S_ macor to mark message for both translation
and inclusion into docbook SGML
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@606 f882894a-f735-0410-b71e-b25c423dba1c
* po/de.po, po/fr.po: updated check_tcp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@605 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c, po/ChangeLog: internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@604 f882894a-f735-0410-b71e-b25c423dba1c
* intl/.cvsignore, lib/.cvsignore, po/.cvsignore: skip gettext files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@603 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am: checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@602 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am: checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@601 f882894a-f735-0410-b71e-b25c423dba1c
* po/Makevars: checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@600 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, tools/setup: checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@599 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, ABOUT-NLS, ChangeLog, Makefile.am, configure.in,
lib/Makefile.am, lib/gettext.h, nagios-plugins.spec.in,
plugins/Makefile.am, plugins/check_tcp.c, plugins/common.h,
plugins/utils.c, po/LINGUAS, po/POTFILES.in, po/de.po, po/fr.po,
tools/setup: checkins for internationalization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@598 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/common.h: add stubs to allow markup for translation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@597 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/common.h: test GNU_SOURCE and include features.h
if present to clear warning about asprintf definition
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@596 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-20 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* doc/developer-guidelines.sgml: must use '&amp;' in attribute values
instead of '&'
id tokens (attibute values) must not have embedded spaces
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@595 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_oracle.sh: - Cleanup comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@593 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Guidelines updated to use Sourceforge
tracker system
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@592 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-11 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: - Fixed CVS commit comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@591 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.sgml: Added in practice of prefixing comments
in CVS commits
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@590 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-04 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in, plugins/Makefile.am: only make links for check_spop and
check_simap when SSL is built into check_tcp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@586 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-03 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Fixed seg fault on some Sol 7/8 servers (Patch
764745 - Alexander Matey)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@585 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: Changing $() to `` to be compatible with Solaris' sh
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@584 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-03 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* autogen.sh, tools/setup: mv GNU toolchain check into tools/setup
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@583 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: remove LABELLEN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@582 f882894a-f735-0410-b71e-b25c423dba1c
2003-07-02 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_oracle.sh: Check for ORA- errors for tablespace
and cache (patch 755456 - Sven Meyer)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@581 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_disk_smb.pl: Update error message from smbclient
v2.2.7 (Patch 740132 - Cove Schneider)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@580 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/.cvsignore, plugins-scripts/Makefile.am,
plugins-scripts/check_file_age.pl, plugins-scripts/subst.in: Moving
check_file_age into core
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@578 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Fixed SUPPORT message
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@577 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-30 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/check_http.c, plugins/check_ldap.c, plugins/check_smtp.c:
Added -4 and -6 command line options into check_http, check_ldap and
check_smtp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@575 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c, plugins/check_ssh.c, plugins/check_tcp.c,
plugins/netutils.c: Corrections to get code to compile on systems
without IPv6 support
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@574 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: Added check_simap & check_spop to
check_tcp_programs
If someone knows how to make this conditional in the Makefile only if
being compiled with SSL I think this is the only way to make it better
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@573 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-30 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Fixed support for "check_disk warn crit [path]"
with thresholds at used levels
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@572 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-29 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* configure.in, plugins/check_ldap.c: Included patch for check_ldap from
Patch #753621 by Ziya Suzen
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@571 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c, plugins/check_tcp.c: Changed usage output to
show -4 and -6 are mutually exclusive. You can only
use one or the other but not both. The last one used will win out.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@570 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c, plugins/netutils.c: check_ping is now coded with
-4 & -6 options to call PING or PING6 command
netutils modified to verify hosts based on address_family setting when used
with -4 or -6 options. is_inet_addr() will not be tested if -6 is
used and is_inet6_addr() will not be tested if -4 is used. Also the
is_hostname() will use the address_family value to resolve hostnames
only if IPv6 support is available otherwise defaults to AF_INET.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@569 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ssh.c, plugins/check_tcp.c, plugins/netutils.c,
plugins/netutils.h: Added address_family extern int variable to netutils
to allow for -4 & -6
options for explicit connection protocol
Added support for -4 & -6 options to check_ssh and check_tcp for testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@568 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-29 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nwstat.c: Added NLM test (Phil Randal)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@567 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Corrected reported size for PROC_MEMINFO systems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@566 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfwebcron: Fixed so goes to correct web area
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@565 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfwebcron: New tool to run on shell.sf.net to update the dev
guidelines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@564 f882894a-f735-0410-b71e-b25c423dba1c
* doc/makefile: Fixed makefile
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@563 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-27 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/netutils.c: Modified my_connect to include ai_socktype in the
hints to be compliant with
RFC3493 as pointed out by Janos Mohacsi.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@562 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-27 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in, plugins/check_swap.c: Support for swap -s for solaris.
Also changes size of swap to MBs through
a conversion amount in configure. Possible breakage on other OSes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@561 f882894a-f735-0410-b71e-b25c423dba1c
* doc/makefile: Remove if which check - done in tools/setup instead
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@560 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: Fiddling as Solaris' which command is broken
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@559 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-26 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Fixed different thresholds if using exclude
lists
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@558 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-25 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Support for different thresholds for different
filesystems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@557 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Removed -d option and just check against -p
parameter
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@556 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Report errors if path specified not found
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@555 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: Problems compiling on SunOS 5.6 with gcc 2.8.1.
Fixed by specifying
floating variables, rather than letting asprintf work it out
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@554 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/Makefile.am: soalris 8 needs 'ln -s -f' instead of 'ln -sf'
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@552 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: add remaining URI_PATH chars per RFC 2396
remove '-' from URI_PORT
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@549 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-12 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* command.cfg.in: Renamed duplicate check_snmp command definitions to be
unique
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@548 f882894a-f735-0410-b71e-b25c423dba1c
* command.cfg.in, configure.in: Made the two check_ifoperstatus commands
unique to remove conflicts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@547 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-11 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: fix URI_PATH to allow ?&#: (more still should be
allowed)
fix class to be POSIX compliant
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@546 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-10 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* contrib/urlize.pl: add comment about shell quote removal to address
https://sourceforge.net/tracker/index.php?func=detail&aid=661916&group_id=29880&atid=397597
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@544 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/urlize.c: add note about shell quote removal to address
https://sourceforge.net/tracker/index.php?func=detail&aid=661916&group_id=29880&atid=397597
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@543 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-08 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Fixed quoting on SWAP_FORMAT
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@540 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Support for OpenBSD 3.2 & 3.3 ps (Julien Touche)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@539 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-07 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_real.c: \r\n patch from Mathias
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@537 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-04 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Argument to asprintf in wrong order
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@533 f882894a-f735-0410-b71e-b25c423dba1c
* pkg/solaris/solpkg: Remove /usr as well. Maybe this is best done by
changing BASEDIR to
configure's prefix?
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@532 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-02 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c: finish recv() loop when stream GT or EQ maxbytes
(was GT)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@531 f882894a-f735-0410-b71e-b25c423dba1c
2003-06-01 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c: allow user to limit number of bytes fetched
fix some doco (wait is now delay, server_quit was not shown)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@529 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-31 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dns.c: first revised patch failed to trap the "break" in
while()
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@526 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-27 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_sap.sh: check_sap.sh plugin to check SAP /R3 servers
from Karel Salavec and Tom De Blende.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@523 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-26 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_axis.sh, contrib/check_mssql.sh: Revisions to Tom De
Blende contributed plugins: check_axis.sh and check_mssql.sh
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@522 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/t/check_ftp.t: Fixed test (Mathew Ericson - 738609)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@521 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_load.t: Fixed tests (Mathew Ericson - 738607)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@520 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_procs.t: Fixed test commands (Mathew Ericson - 738605)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@519 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_http.t: Fixed tests (Mathew Ericson - 738608)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@518 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/t/check_tcp.t: Fixed tests (Mathew Ericson - 738604)
CV: ----------------------------------------------------------------------
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@517 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-16 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: bug fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@515 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-14 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/negate.c: Added examples
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@514 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_mailq.pl: Added postfix support (Thomas Nilsen -
735218)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@513 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nwstat.c: Added DSVER and UPTIME checks (Phil Randal -
737617)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@512 f882894a-f735-0410-b71e-b25c423dba1c
* pkg/solaris/solpkg: Typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@511 f882894a-f735-0410-b71e-b25c423dba1c
* doc/.cvsignore: Ignore developer-guidelines.html as generated from
docbook
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@510 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Remove
dependency on gnu make
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@509 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-13 Ton Voon <tonvoon@users.sourceforge.net>
* doc/developer-guidelines.sgml: Updated docs to include comments,
contrib->main, getopts_long and
verbose output levels
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@508 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Calls tools/setup and creates a README for the
snapshot directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@507 f882894a-f735-0410-b71e-b25c423dba1c
* doc/developer-guidelines.html, doc/makefile, tools/setup: The
developer-guidelines.html file is now generated from the sgml file
by docbook2html at tools/setup time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@506 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-13 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/tarballs/hopcroft-plugins.tar.gz: Removed
contrib/tarballs/hopcroft-plugins.tar.gz. This is archaic,
anachronistic, unmaintained and humblingly embarrassing.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@505 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_mssql.sh: check_mssql.sh. A new plugin from Mr T DE
BLENDE to check MS SQLServer databases.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@504 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-09 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: fix error when server closes connection
immediately
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@503 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: cause snmpget try try for 1 second less than the
timeout (allowing plugin to force close if needed)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@501 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-07 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/check_ping.c: Modified check_ping to handle IPv6 as well as
IPv4 ICMP checks using the
PING6_COMMAND determined during the configure script execution. As
USE_IPV6 may be defined and PING6_COMMAND is not defined if there is not
IPv6 TCP stack available when configure is run I condition it off
PING6_COMMAND existing to remove build errors for being undefined.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@500 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-25 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: corrected output units
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@499 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-23 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: update to RFC1123 hostname specs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@498 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-17 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* nagios-plugins.spec.in: add check_nt, drop check_vsz
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@497 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c, plugins/check_tcp.c, plugins/check_users.c: code
cleanup to clear strict compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@496 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c, plugins/check_tcp.c, plugins/netutils.c: code
cleanup to clear strict compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@495 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-16 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_real.c: reset to old behavior of not checking stream by
default
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@493 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-13 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_hpjd.c: reduce compiler warning between gcc3 and gcc2.96
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@492 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-scripts/utils.pm.in: update for check_mailq -
qmail support
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@491 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_mailq.pl: Added sendmail multi-queue support
(Canau), merged qmail support (Schmid)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@490 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Match -a STRING anywhere in ps args (Laurent
Vaslin - 719783)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@488 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-11 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ifstatus.pl: added feature -u (list of unused
ifIndex)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@487 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifstatus.pl: bug 691412, added feature -x (list
of excluded ifTypes)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@486 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c: patch 698384 - order of args to snmpget + print
a bit of stderr
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@485 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-09 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_hpjd.c, plugins/check_http.c, plugins/check_nt.c:
cleanup to suppress various strict compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@483 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: rewrite #elif to be compatible with traditional C
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@482 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: check_game needs popen.c now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@481 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-08 Ton Voon <tonvoon@users.sourceforge.net>
* command.cfg.in: Updated command for new check_procs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@479 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c, plugins/check_nt.c: Changed // to /* */ comments
as some compilers do not like them
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@478 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-08 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_axis.sh: check_axis.sh (Axis 5xx print servers) from Tom
De Blende
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@477 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-07 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Fixed zombie processes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@476 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Missed some PS_FORMAT strings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@475 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/Makefile.am, plugins/check_nagios.c,
plugins/check_procs.c, plugins/check_vsz.c: Souped up check_procs with
different metrics
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@474 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: Removed unnecessary regex array
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@472 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-07 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: ste timeout one second greater than critical
time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@471 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_game.c: had been grandfathered ibto core, finally use
normal getopts, add options for player, max-player array positions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@470 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-03 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_oracle.sh: Cleaned up cache output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@469 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-01 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_oracle.sh: Fixed sqlplus calls and rearranged
parameters for --tablespace & --cache
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@468 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-01 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: remove PATH_PROG call for autoconf/automake components
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@467 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-31 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_disk.c: checkpoint
supresses iso9660
adds option for checking only local
adds choice of scale factor
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@466 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-27 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nwstat.c: Extra Netware checks (Patch 710247 - Dietmar
Ruzicka)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@465 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-26 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: ipv6 check requires unistd.h for Darwin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@464 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_procs.c: Removal of ps_raw and ps_vars
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@463 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nagios.c: Uses same ps command as check_procs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@462 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-25 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* .cvsignore: subst is no longer used
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@461 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-24 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* .cvsignore, Makefile.am: Better stripping of prefix for Solaris
package install needs to remove
/usr/local as package installs there by default
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@460 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, pkg/solaris/.cvsignore, pkg/solaris/pkginfo.in,
plugins/check_disk.c: Minor changes to build for Solaris packages
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@459 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-24 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Use max_state
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@458 f882894a-f735-0410-b71e-b25c423dba1c
* tools/mail_error, tools/sfsnapshot: PATH set in correct place and
extra comments
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@457 f882894a-f735-0410-b71e-b25c423dba1c
* tools/mail_error, tools/sfsnapshot: Bug fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@456 f882894a-f735-0410-b71e-b25c423dba1c
* tools/mail_error: Sends email if non-zero return code from command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@455 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Error code depending on number of files generated
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@454 f882894a-f735-0410-b71e-b25c423dba1c
* lib/ls-mntd-fs.m4: Using coreutils 4.5.11 version to fix Darwin
problem
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@453 f882894a-f735-0410-b71e-b25c423dba1c
* REQUIREMENTS: Add NSClient requirement for check_nt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@452 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Reference to web site to get NSClient
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@450 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-23 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* Makefile.am, autogen.sh, configure.in, lib/Makefile.am,
pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Solaris package build system
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@449 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-23 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_disk.c: can once again exclude indiviual path/partitions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@448 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: add -X to exclude FS type, now works with more
than one path/dev specified
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@447 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-22 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/utils.c: declaration must precede printf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@446 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_disk.c: checkpoint, allows selecting devices and paths
now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@444 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: instructions for posting plugin version number
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@443 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_by_ssh.c: allow to specify -1 and -2 for protocol
version
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@442 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h: make state_text a function
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@440 f882894a-f735-0410-b71e-b25c423dba1c
* lib/mountlist.c, plugins/check_disk.c: check_disk working with
mountlist.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@439 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, configure.in: subst.* was replaced by dist-hook
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@438 f882894a-f735-0410-b71e-b25c423dba1c
* subst.in, subst.sh: these were replaced by dist-hook
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@437 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: running the AFS macro causes newer AC/AM to barf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@436 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: afs checking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@435 f882894a-f735-0410-b71e-b25c423dba1c
* lib/afs.m4, lib/ls-mntd-fs.m4: use AC_DEFINE_UNQOUTED
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@434 f882894a-f735-0410-b71e-b25c423dba1c
* lib/ls-mntd-fs.m4: stop warning on autoheader 2.13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@433 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/netutils.c, plugins/netutils.h: common.h was doubly included
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@432 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h: use enum instead of define, remove some cruft from
old snprintf implementation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@431 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/Makefile.am, plugins/check_disk.c: use GNU fileutils
for check_disk
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@430 f882894a-f735-0410-b71e-b25c423dba1c
* lib/afs.m4, lib/fstypename.m4, lib/fsusage.c, lib/fsusage.h,
lib/fsusage.m4, lib/ls-mntd-fs.m4, lib/mountlist.c, lib/mountlist.h:
from GNU fileutils for check_disk
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@429 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-17 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/check_oracle.sh: Allow default Oracle home from oratab
(reported by Walbert Oberngruber)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@428 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-16 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* configure.in: Modified to automatically enable getaddrinfo emulation
if lwres is not used and
getaddrinfo is not found in the system.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@427 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c, plugins/netutils.c, plugins/netutils.h: Applied
patch #660973 for tcp refusals
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@426 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-15 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* configure.in: Left over debug define
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@425 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, lib/Makefile.am, plugins/Makefile.am,
plugins/getaddrinfo.c, plugins/getaddrinfo.h, plugins/gethostbyname.c,
plugins/gethostbyname.h, plugins/netutils.c, plugins/netutils.h,
plugins/utils.c, plugins/utils.h: Spent the day working on backwards
compatability using getaddrinfo()
Moved getaddrinfo.? and gethostbyname.? from lib/ to plugins/ due to
problems with compiling into the libnagiosplug.a as it required linking
against socket libraries which are unneeded except for network based
plugins.
This code should hopefully happily work for all systems and has been tested
prior to commit on Debian GNU/Linux, SPARC Solaris 7 and SPARC Solaris 9.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@424 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-14 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: add timeout, fix taint chacking diom
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@423 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-13 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* .cvsignore, configure.in, lib/Makefile.am: Working out issues with
getaddrinfo emulation build environment
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@422 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-13 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_dns.c, plugins/check_http.c, plugins/check_tcp.c: Strip
leading spaces in perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@421 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: Perf data without leading spaces and fix ANSI C
complaint about \n
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@420 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: Fix compiler warnings re progname
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@419 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-13 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* depcomp: Removed auto-tools script that automake adds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@418 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, configure.in, install-sh, missing, mkinstalldirs,
plugins/.cvsignore, plugins/Makefile.am, plugins/common.h,
plugins/netutils.h, plugins/popen.h, plugins/utils.c, plugins/utils.h,
plugins/version.h.in: Updated cvs ignore files to reflect changes
Moved header files from being ran through configure to standard
Removed auto-tools scripts that get added by automake
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@417 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-13 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/negate.c: negate must be POSIXly correct in handling options,
else wrapped options get passed to it
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@416 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-13 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* configure.in: Removed --with-ipv6 configure option so it determines
IPv6 availablity
completely on it's own per suggestion by Karl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@415 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-12 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/check_tcp.c: doco standarization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@413 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-scripts/subst.in: Just a lil namespace clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@412 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Minor fix to --with-ipv6 behavior
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@411 f882894a-f735-0410-b71e-b25c423dba1c
* autogen.sh, configure.in, plugins/utils.c, plugins/utils.h.in: Added
autogen.sh script that rebuilds using autotools and runs configure
Modified configure.in to include some debug build option info at the end
of the scripts execution. Can be removed by release time.
Modified configure.in to include a --with-ipv6 option
Default build is without IPv6 support now to enable you need to use the
--with-ipv6 command line option to configure.
Modified plugins/utils.* to use USE_IPV6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@410 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-12 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_disk.c: doco standarization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@409 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: errors for statfs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@408 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: comment/doco cleanup for embeeded doc work,
control STMP command via options instead of defines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@407 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: version increase, statfs work
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@406 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-12 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/.cvsignore: Add some more extra plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@405 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Clean up of output from plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@404 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c, plugins/check_http.c, plugins/check_ldap.c,
plugins/check_udp.c: Code clean-up
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@403 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: Code cleanup
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@402 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-12 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_dns.c: Removed is_host checks to speed up code. Fixed
timings so no spaces
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@401 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: Timings in milliseconds and nicer output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@400 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins-scripts/.cvsignore: Add script ignores
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@399 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/negate.c: Remove getopt_long checks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@398 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/negate.c: Fixed reading too many argv parameters and changed
to asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@397 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ide-smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nt.c,
plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/check_vsz.c: Remove getopt_long checks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@396 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* configure.in: Fixed some ping6 variables
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@395 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Minor change to Karl's statfs check
Inclusion of ICMPv6 ping tests to define PING6_COMMAND
Minor fix to ps syntax checking to fix bug I introduced last nite
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@394 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, configure.in: Removed acconfig.h from EXTRA_DIST
Fixed problem with test in SWAP_FORMAT and SWAP_COMMAND
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@393 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in, plugins/check_disk.c: use statfs for check_disk (still
needs fs scan)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@392 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-11 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* acconfig.h, configure.in: Finishing clean-up of configure.in
Removing acconfig.h as it's no longer needed
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@391 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-10 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* acconfig.h, configure.in: Cleaned up configure for PS and PING to
produce cleaner config.h
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@390 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-09 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/common.h.in: Make sure sys/socket.h is explicitly included if
HAVE_SYS_SOCKET_H is defined
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@389 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-09 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Implement error-only option for check_disk (Ian
Duggan)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@388 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_disk.c: Fix AIX /proc filesystem (Ian Duggan)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@387 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: snprintf checks in configure.in like samba
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@386 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/check_dns.c: Modified code to call is_addr() rather than
is_dotted_quad() with the
new AF indepdent function routines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@385 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/netutils.c, plugins/netutils.h.in, plugins/utils.c,
plugins/utils.h.in: AF indepedent routines introduced.
Modifed process_request() & my_connect() parameters to make 'proto' type
'int' rather than 'char *' and use IPPROTO_* POSIX values.
Removed is_dotted_quad() & my_inet_aton() functions
Added is_addr(), is_inet_addr(), is_inet6_addr() and resolve_host_or_addr()
functions to check whether it is a valid IP address
Modified is_host() to call is_addr() and is_hostname()
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@384 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-08 Ton Voon <tonvoon@users.sourceforge.net>
* tools/sfsnapshot: Need to remove configure.in
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@383 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, lib/snprintf.c, plugins/Makefile.am: Move snprintf
into lib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@382 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Have to run through whole automake procedure as
datestamp in RELEASE variable
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@381 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Added automake parameters for config.sub and
config.guess
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@380 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Fixed production OUT variable
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@379 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: Adds MD5SUM file, creates multiple branch snapshots
and doesn't
rerun configure/automake/autoconf unnecessarily
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@378 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Use Makefile's variables (to support a shortcut in
sfsnapshot)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@377 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-07 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* configure.in, lib/Makefile.am, lib/getaddrinfo.c, lib/getaddrinfo.h,
lib/gethostbyname.c, lib/gethostbyname.h, plugins/check_pgsql.c,
plugins/common.h.in, plugins/netutils.c, plugins/netutils.h.in,
tools/setup: Added getaddrinfo.[ch] & gethostbyname.[ch] to provide
RFC2553 functions
if missing in system libs and lwres not present
Moved all references to netdb.h and sys/socket.h into common.h.in
Modified automake call in tools/setup to include adding missing files
so config.sub and config.guess will be available
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@376 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-07 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_smtp.c: millisecond timing and perf data
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@374 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: whole timer loop was on the wrong side of
connection close code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@373 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_udp.c: fix for -H invocation of hostname
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@372 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-06 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* acinclude.m4, configure.in: Adds --with-lwres and
--enable-emulate-getaddrinfo but are not used in any of
the code at this time. Has a check for IPv6 support but only runs if using the
emulate-getaddrinfo routines, this needs to be modified.
!!! I need input from results of this run on various platforms to see what
results are seen in plugins/config.h so please help test !!!
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@371 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-05 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: add "m" to regex for minutes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@370 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-05 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_http.c: check_http min size option (680467 - Dave Viner)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@365 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-04 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nt.c: Make output message for CPU Load a bit nicer
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@364 f882894a-f735-0410-b71e-b25c423dba1c
* tools/sfsnapshot: To create nagiosplug daily snapshots on SF
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@363 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-03 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ping.c: accept comma-delimted list of hosts for checking
if a multihomed host is alive
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@362 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-02 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ping.c: add logic to check multiple servers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@361 f882894a-f735-0410-b71e-b25c423dba1c
* ChangeLog: update from CVS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@360 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, nagios-plugins.spec.in: adjustments to remove beta
tagging
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@359 f882894a-f735-0410-b71e-b25c423dba1c
* ChangeLog: update from CVS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@358 f882894a-f735-0410-b71e-b25c423dba1c
2003-03-01 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* nagios-plugins.spec.in: we were missing some docs in the RPM
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@357 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-23 Subhendu Ghosh <sghosh@users.sourceforge.net>
* REQUIREMENTS: Novell requirements
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@356 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_bgpstate.pl: removed community string in CRIT message
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@355 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-22 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Solaris and Unixware labels round the wrong way for swap
command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@354 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-22 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* Makefile.am: provide target for nagios-plugins.spec
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@353 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: add CODING FAQ LEGAL to distribution tarball
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@352 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-21 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_http.c: Fixed coredump with unallocated string
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@351 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: Strip leading spaces on dns return value (689563
- Simon L Nielsen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@350 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-20 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins-scripts/check_disk_smb.pl: option regexs need to include ^ and
$
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@348 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-19 Ton Voon <tonvoon@users.sourceforge.net>
* lib/Makefile.am: Removing getloadavg.m4 from dist
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@347 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* INSTALL, configure.in, lib/getloadavg.m4, tools/setup: remove
getloadavg.m4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@346 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-19 Ton Voon <tonvoon@users.sourceforge.net>
* Makefile.am, configure.in, lib/Makefile.am, lib/getloadavg.c,
lib/getloadavg.m4, plugins/Makefile.am: Move getloadavg to lib
directory. Must run "aclocal -I lib"
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@345 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_pgsql.c: spurious backslash escape
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@344 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: set tag for beta3, fix pgsql detection
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@343 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_udp.c: never exited getopt loop
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@342 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: failed if header was more than 1023 bytes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@341 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_load.c: Fixed the output messages (Bug 688729 - Jayjay)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@340 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Add SUPPORT file to distribution
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@339 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Fixed compiler warning and increased the SSL
random key for a Solaris PRNG problem
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@338 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: remainder of ps fix for UnixWare, and move [] in if/elif
to indicate m4 quoting instead of test invocation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@337 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-18 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_appletalk.pl: Appletalk ping plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@336 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: OID type prefix patch [Patches-679403]
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@335 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: support for Large swap sizes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@334 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: regex fix to catch *BSD swapinfo and not HP-UX error and
memory/file swap in addition to device for HP-UX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@333 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-17 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: typo in testing uname output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@332 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: ping and swap for unixware
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@331 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: library search dirs are part of LDFLAGS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@330 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-17 Subhendu Ghosh <sghosh@users.sourceforge.net>
* REQUIREMENTS: location updates
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@329 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-16 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/Makefile.am: Fixed dependencies for check_nt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@328 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Coredump if no variable set (reported by Marc C.
Poulin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@327 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-16 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_dhcp.c: Interface patch byor Clemens Resen
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@326 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-16 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: all alphanumeric accepted for refid on
ntpq
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@325 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/.cvsignore: Added extra plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@324 f882894a-f735-0410-b71e-b25c423dba1c
* lib/.cvsignore: Add ignore files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@323 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/negate.c: Remove unnecessary \ and fix coredump with no
parameters specified
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@322 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: Remove unnecessary \ - complaints from Tru64's
cc compiler
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@321 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Inadequate quoting for PS_FORMAT & removal of grep "***
for Tru64
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@320 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-12 Subhendu Ghosh <sghosh@users.sourceforge.net>
* command.cfg.in: forced ntpq jitter check
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@319 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifoperstatus.pl: added timeout alarm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: fixed regex for stratum1 peer, added
logic for failed ntpq call(e.g. sntp host)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@317 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-11 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_mysql.c: Patch by Dave Viner for seg fault on RH 7.3
(655903)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@316 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: Update with references to REQUIREMENTS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@315 f882894a-f735-0410-b71e-b25c423dba1c
* Requirements: Remove file, superceded by REQUIREMENTS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@314 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/getopt.c, plugins/getopt.h, plugins/getopt1.c: Removing getopt
files - now in new lib directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@313 f882894a-f735-0410-b71e-b25c423dba1c
* lib/Makefile.am, lib/getopt.c, lib/getopt.h, lib/getopt1.c: New
directory for common library files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@312 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/common.h.in: Added in a define for HAVE_GETOPT_H for backwards
compatibility
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@311 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: Remove unnecessary getopt references and link in
lib directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@310 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Removing checks for getopt.h - now always available.
Also support lib dir
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@309 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: Adding lib directory for getopts change
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@308 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Fixed Tru64 ps command (Bug 669585 - Paula Arnold)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@307 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* plugins/check_ssh.c: Added argc checks before attempting to access
argv[]
Corrected return codes and output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@306 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ssh.c: Revised code to use resolving and connection code
in utils.c and
netutils.c rather than its own functions.
Corrected code to properly handle input of server hostname and port on
commandline without option flags.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@305 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-10 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* contrib/check_fping_in.c: this plugin is in core as check_fping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@304 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-09 Jeremy T. Bouse <undrgrid@users.sourceforge.net>
* tools/setup: Reordered program calls so autoheader was called before
automake thus
getting rid of errors for header files not being present when automake
was called. Also puts it inline with documentation in
INSTALL & INSTALLING
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@303 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-09 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_adptraid.sh, contrib/check_compaq_insight.pl,
contrib/check_file_age.pl: new plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@302 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/README.TXT: file rename
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@301 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_remote_nagios_status.pl, contrib/check_wins.pl,
contrib/sched_downtime.pl: more contribs
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@300 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/tarballs/fetchlog-0.92.tar.gz,
contrib/tarballs/fetchlog-0.94.tar.gz: new version
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@299 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-09 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* CODING, README: spell check
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@298 f882894a-f735-0410-b71e-b25c423dba1c
* FAQ: spell check
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@297 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-09 Subhendu Ghosh <sghosh@users.sourceforge.net>
* SUPPORT: ispell
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@296 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-08 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_pgsql.c: use enum instead of define
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@295 f882894a-f735-0410-b71e-b25c423dba1c
* FAQ: add item on submitting new plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@294 f882894a-f735-0410-b71e-b25c423dba1c
* SUPPORT: suggest minimum standards for support requests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@293 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: submit request with one send
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@292 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-05 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: fix for SSL build on RedHat rawhide
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@291 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dns.c: allow check to proceed using servers from
resolv.conf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@290 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: fix segfault due to bad asprintf invocation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@289 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-04 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/Makefile.am: install user:grp perms [patch 679703
-Detlef Boehm]
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@288 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_flexlm.pl: lmstat output update
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@287 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: corrected ntpdate offset to seconds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@286 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_snmp.c: Avoid core dump with null or invalid data
(679400 - Mathieu Masseboeuf)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@285 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: Patch for Mac OS X compile (652080 - Ton Voon)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@284 f882894a-f735-0410-b71e-b25c423dba1c
2003-02-03 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/tarballs/check_cit.tgz: Citrix plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@283 f882894a-f735-0410-b71e-b25c423dba1c
* command.cfg.in: more sample command configurations
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@282 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-scripts/check_ntp.pl,
plugins-scripts/utils.pm.in: change ntpdc to ntpq (Jonathan Rozes,Thomas
Schimpke, bug-656237 )
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@281 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: patch for desync peer and ntpdate (James
Fidell)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@280 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifstatus.pl: bugfix [bug 651021 mperry2]
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@279 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c: added default community [bug-patch #600349
jbaumgartner]
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@278 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-31 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_procs.c: Fix for zombie processes on Solaris (Bug 677803
- Matthew Brown)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@277 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Reapply all asprintf calls. Fix for %% problem
with -l flag.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@276 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nt.c: Removed all unnecessary asprintf calls. Replaced
with original check_nt.c
to minimise amount of changes (reported by Reuben Farrelly)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@275 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-30 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_nt.c: Added reference to the official NSClient web site
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@274 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_swap.c: Fixed long --allswap option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@273 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: Fixed progname
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@272 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_mrtgtraf.c: Fixed error and success codes (638656 - Paul
Dlug)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@271 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Added cache and tablespace check
(621567 - John Marquart)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@270 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_nt.c: Added in check_nt for bug
646516
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@269 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_mysql.c: remove incorrect check_disk() declaration
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@268 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ldap.c: fix segfault when argc>=2 and the -H or -b
options are not supplied
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@267 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: 1.8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@266 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-29 Ton Voon <tonvoon@users.sourceforge.net>
* plugins/check_http.c: Better error if server requests client based
certificate (609382 - Olaf Greis)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@265 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_dns_random.pl: Exit code added (604837 - Lachlan
Cameron-Smith)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@264 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Added dummy login test (650970 - Ton
Voon)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@263 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_vsz.c: Error when no params passed, better invalid
params message (652086 - Ton Voon)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@262 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: Fixed NULL status in Solaris (644783 - Fabian
Pehla)
Fixed -p options (652082 - Ton Voon)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@261 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-28 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* contrib/checkciscotemp.pl: typo: had commented use Net::SNMP for
testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@260 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_real.c: make sure host_name is set and remove NULL
string inits that can lead to segfaults
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@259 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mysql.c: missed argc check on port parameter
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@258 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/checkciscotemp.pl: split and validate input more robustly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@257 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: remove NULL string inits that can lead to
segfaults
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@256 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-28 Ton Voon <tonvoon@users.sourceforge.net>
* configure.in: ps support for Darwin / MacOSX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@255 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-27 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: do not pass host if none is provided
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@254 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: we were sending extra CRLF
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@253 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins-scripts/check_rpc.pl: indicate new default state in
get_rpcinfo, also fix a bunch of indents for consistent format
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@252 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-17 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_rpc.pl: bug fix for state and opt_c
initialization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@251 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: Counter32 tag parsing added
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@250 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-16 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_mysql.c, plugins/check_pgsql.c: semicolon needed where
progname define was replaced
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@249 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: add option to let regex span newlines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@248 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_game.c: progname and print_usage need to be defined
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@247 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_radius.c: semicolon needed where praogname define was
replced
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@246 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c: semicolon needed where praogname define was
replced
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@245 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: find kerberos libs in latest Red Hat beta
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@244 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: restore max() macro
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@243 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: cleanup progname assignment
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@242 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_disk_smb.pl: accept $ for share and \\ for users
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@241 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: avoid segfault when host is not given
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@240 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-13 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* contrib/check_dhcp.c, contrib/check_fping_in.c, contrib/check_rbl.c:
convert PROGANE from a define to a const char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@239 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_hpjd.c, plugins/check_http.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mrtgtraf.c,
plugins/check_mysql.c, plugins/check_nagios.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c,
plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c,
plugins/check_swap.c, plugins/check_tcp.c, plugins/check_time.c,
plugins/check_udp.c, plugins/check_ups.c, plugins/check_users.c,
plugins/check_vsz.c, plugins/negate.c, plugins/urlize.c,
plugins/utils.c, plugins/utils.h.in: convert PROGANE from a define to a
const char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@238 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/popen.c: change exit status to be POSIX compliant
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@237 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_nagios.c: check for a few null strings, change PROGNAME
from #define to const *char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@236 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: add options for excluding devices and for
skipping OK devices in summary
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@235 f882894a-f735-0410-b71e-b25c423dba1c
2003-01-03 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/utils.c: protect against some null strings, make formats more
uniform
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@234 f882894a-f735-0410-b71e-b25c423dba1c
2002-12-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c: expect is +OK for SPOP too
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: server expect not getting set, expect is +OK for
POP
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@232 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: remove spurious CRLF
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@231 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-29 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_citrix: New plugin to check the ICA browse service (used
by Citrix Metaframe servers) from
Ed Rolison and Tom De Blende.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@230 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-25 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c: was segfaulting if no dtat was returned
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@228 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-24 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* tools/snapshot: some fixes needed to move off old devel box
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@227 f882894a-f735-0410-b71e-b25c423dba1c
* tools/snapshot: make routine snapshots of nagios and plugin CVS to
expand testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@226 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-22 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ups.c: add replace battery condition, replace unchecked
strcat calls with asprintf (I do not think buffer overflow was possible
here, but lets be consistent)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@225 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: get long args output to work on check_procs by putting
incantations with -w ahead of others
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@224 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: get long args output to work on linux check_procs,
actually works this time (needs OpenBSD testing)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@223 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: add a few comments, trap a few place where a
NULL string might have been handled
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@222 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: get long args output to work on linux check_procs (needs
OpenBSD testing)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@221 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c: fix empty output on errors
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@220 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-20 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_swap.c: add switch to evaluate each swap individually
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@219 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: fix solaris SEGV, still need to print meaningful
error text
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@218 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: in short options, t no no argument
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@217 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_dig.c: replace some strcpy with strscpy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@216 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-19 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/Makefile.am: another try at portable symlinking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@215 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: another try at portable symlinking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@214 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_time.c: explicitly cast recv() arg2 for SunOS5.6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@213 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: rewrite of install-exec-hook for solaris
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@212 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-18 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_javaproc.pl, contrib/nagios_sendim.pl: javaproc, sendim
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@211 f882894a-f735-0410-b71e-b25c423dba1c
* contrib-reporting/process_perfdata.pl: New directory to for perfdata
and reporting scripts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@210 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_swap.c: test total swap instead of individual disks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@209 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: failed to handle multple disks
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@208 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: more readable max_state() code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@207 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-16 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/Makefile.am: fix too many sources problem for programs tha are
symlinks to check_tcp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@206 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: my take on Subhendu's patches, plus a few
comments for clarity
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@205 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-15 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_snmp.c: memory bounds in options, no output comparison
case
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@204 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-15 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* nagios-plugins.spec.in: make spec work again, now that release is in
source name again
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@203 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: release numbering fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@202 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: fix label handling, replace accidentally deleted
elseif l.310
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@201 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-14 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* Makefile.am, acconfig.h, configure.in, nagios-plugins.spec.in,
plugins/utils.c: fix bug with gettimeofday test, improve version/release
handling, update rpm spec
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@200 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: fix typo in snprintf build
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@199 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: can't drop these sources -- neded for dist
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@198 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: fix build rule for snprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@197 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: pagesize count off by one
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@196 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: clean up NULL from status on Solaris
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@195 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: typo in AC_DEFINE of PS_FORMAT for solaris
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@194 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: remove check_nt again
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@193 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: back out last change -- it was only work in
progress
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@192 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am, plugins/check_dns.c, plugins/check_ldap.c,
plugins/check_mrtg.c, plugins/check_mrtgtraf.c, plugins/check_nwstat.c,
plugins/check_radius.c, plugins/utils.c, plugins/version.h.in: remove
call_getopt and ssprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@191 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-13 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_disk.c, plugins/check_dns.c, plugins/check_fping.c,
plugins/check_hpjd.c, plugins/check_mrtg.c, plugins/check_nwstat.c,
plugins/check_ping.c, plugins/check_vsz.c, plugins/urlize.c,
plugins/utils.c: remove call_getopt and asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@190 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-12 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_dig.c: cleanup asprintf, old function decls
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@189 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_mysql.c, plugins/check_real.c, plugins/check_ups.c:
remove call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@188 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-11 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_snmp.c: should use asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@187 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: more snmpv3 patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@186 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: long opt for miblist, snmpv3 support (rosenauer)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@185 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: option to specify a miblist - llow
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@184 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: misc doc fix, missing verbose option
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@183 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-09 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ups.c, plugins/check_users.c: remove call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@182 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_ping.c,
plugins/check_time.c: remove call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@181 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: cleaner handling of DEFAULT_PORT
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@180 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: add HPUX swap, try to cleanup getopt processing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@179 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_snmp.c,
plugins/negate.c, plugins/utils.h.in: define and use usage3 where second
part of message is a an int/char
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@178 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/snprintf.c: HAVE_C99_SNPRINTF is not tested, so remove from
ifdef
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@177 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-08 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_snmp.c: user reports NULL still getting into asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@176 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_vsz.c: remove call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@175 f882894a-f735-0410-b71e-b25c423dba1c
* acconfig.h, configure.in, plugins/common.h.in, plugins/utils.c,
plugins/utils.h.in: patches required to build on solaris with asprintf
and gettimeofday
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@174 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c, plugins/check_load.c, plugins/check_ping.c,
plugins/check_procs.c, plugins/check_smtp.c, plugins/check_tcp.c: remove
unused variables
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@173 f882894a-f735-0410-b71e-b25c423dba1c
* tools/oneliners: some useful onliners
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@172 f882894a-f735-0410-b71e-b25c423dba1c
2002-11-07 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_snmp.c: bugfixes to command format and (null) text
created by asprintf switch
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@171 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: remove call_getopt, add [] arougn time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@170 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: test snprintf function family for ifdefs in snprintf.c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@169 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-30 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c: replace fixed-lentgh buffer with asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@168 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_udp.c: forgot to remove call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@167 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ssh.c, plugins/check_swap.c: forgot to remove
call_getopt declaration
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@166 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: remove call_getopt, fix several buffer overruns
possible due to use of fixed size buffers
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@165 f882894a-f735-0410-b71e-b25c423dba1c
* tools/setup: debian builds not actively maintained, so suppress error
in setup script
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@164 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-30 Subhendu Ghosh <sghosh@users.sourceforge.net>
* acconfig.h, configure.in, plugins-scripts/Makefile.am,
plugins-scripts/check_mailq.pl, plugins-scripts/utils.pm.in: monitor
mailq
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@163 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-28 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl,
plugins-scripts/check_flexlm.pl, plugins-scripts/check_log.sh,
plugins-scripts/check_ntp.pl, plugins-scripts/check_rpc.pl,
plugins-scripts/check_sensors.sh, plugins-scripts/check_wave.pl: remove
pspace in shebang since no sequent users replied
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@162 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-26 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* nagios-plugins.spec.in: release should not be in tarball name
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@161 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-25 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* nagios-plugins.spec.in: tweak source macro
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@160 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: remove check_nt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@159 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, plugins/Makefile.am: include getloadavg sources, add some
Solaris pkg build support
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@158 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-22 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_ssh.c: remove call_getopt, replace ssprintf with
asprintf,better server version reporting
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@157 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: add check_spop
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@156 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_procs.c: remove call_getopt, replace ssprintf with
asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@155 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-22 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_procr.sh: From: Jerome Tytgat - checks to see if named
process is running
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@154 f882894a-f735-0410-b71e-b25c423dba1c
* README, plugins/check_nt.c: check_nt is downloadable from
nsclient.ready2run.nl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@153 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-21 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_swap.c: use asprintf instead of ssprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@152 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: need to define SOURCES for check_tcp to also
build as check_ftp,check_imap,check_nntp,check_pop
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@151 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: use asprintf to do strscpy
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@150 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/Makefile.am: roll check_ftp, check_imap, check_pop, and
check_nntp into check_tcp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@149 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ftp.c, plugins/check_imap.c, plugins/check_nntp.c,
plugins/check_pop.c: these are all combined into check_tcp now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@148 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: remove broken call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@147 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: cleanup process_arguments, print_help, and
print_usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@146 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_pgsql.c: now we provide long opts if they do not exist
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@145 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-20 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_snmp.c: fixed scanning for multiple OIDs, which was not
working
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@144 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: change ssprintf to asprintf
back out change at line 225 in r1.4
(values were mismatched to format string, so output was nonsense)
(I left a comment showing a construct that should work, but it fails for PHBs:
if my disk gets nearly full, they want 'CRITICAL - 99%' not 'CRITICAL - Gauge32: 99')
(If someine has a rationale for the change, maybe it could be done as an option? - it seems
fairly clear that the Web display should be sensible to PHBs so long as there's no real loss)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@143 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_swap.c: remove old call_getopt
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@142 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_load.c: remove old call_getopt code, fix bug taking
single float, allow colon as separators in additin to commas
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@141 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: handle null src in strscat
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@140 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_tcp.c: millisecond timing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@139 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.h.in: refine STD_LONG_OPTS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@138 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: provide on more decimal point printing time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@137 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_ping.c: remove broken call_getopt stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@136 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-17 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_tcp.c: using asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@135 f882894a-f735-0410-b71e-b25c423dba1c
* INSTALL, INSTALLING, tools/setup: revise now that aclocal is remved
from CVS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@134 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-16 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* configure.in: need some quoting on ifdef
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@133 f882894a-f735-0410-b71e-b25c423dba1c
* acinclude.m4, configure.in: finally a working fix for
AM/AC_FUNC_STRTOD nightmare
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@132 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: mismatched quote
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@131 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: mismatched quote
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@130 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: missing commas
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@129 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: complains on paren in comment
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@128 f882894a-f735-0410-b71e-b25c423dba1c
* acinclude.m4: lost a paren
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@127 f882894a-f735-0410-b71e-b25c423dba1c
* acinclude.m4: old auto???? has AM_FUNC_STRTOD, now renamed
AC_FUNC_STRTOD
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@126 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c, plugins/utils.c, plugins/utils.h.in: millisecond
timimg where supported
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@125 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, missing: build cleanly on RedHat 8.0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@124 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore: ignore aclocal.m4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@123 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: AM_STRTOD was a typo
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@122 f882894a-f735-0410-b71e-b25c423dba1c
* aclocal.m4: automake invokes acloacl on each run - it cannot be right
to include this
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@121 f882894a-f735-0410-b71e-b25c423dba1c
* acconfig.h: better checks for vsnprintf stuff
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@120 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins/check_http.c: use asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@119 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: use asprintf to construct strscat
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@118 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/popen.h.in: timeout interval is extern
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@117 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c, plugins/utils.h.in: start support for gettimeofday
and tv_usec
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@116 f882894a-f735-0410-b71e-b25c423dba1c
* aclocal.m4: generated with automake 1.6 / autoconf 2.53 (maybe should
not be in CVS, however)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@115 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/snprintf.c: newer snprintf from samba.org
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@114 f882894a-f735-0410-b71e-b25c423dba1c
* .cvsignore, depcomp: needed for automake 1.6 / autoconf 2.53
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@113 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am: cosmetic line wrap before 80 chars
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@112 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: work with newer automake, begin swithc to asprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@111 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-15 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ifoperstatus.pl: new exit states, more
conditional checking
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@110 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-07 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_dns.c: patch for expected IP address
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@109 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-07 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/popen.c: make sure we do not run past the end of an
unterminated string
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@108 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/negate.c: use asprintf, inhibit splint warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@107 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-05 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* getloadavg.m4, plugins/getloadavg.c: lets use library instead od
inconsistent command line interfaces
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@106 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-26 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/urlize.c: use ssprintf instead of sprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@105 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-25 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: incorporate comment on my_recv from Russell
Scibetti
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@104 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c: incorporate comments from Russell Scibetti
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@103 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-24 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_http.c: replace remaining occurences of sprintf with
snprintf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@102 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-16 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* INSTALL: needed for latest autoconf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@101 f882894a-f735-0410-b71e-b25c423dba1c
* Makefile.am, aclocal.m4, configure.in, nagios-plugins.spec.in: finish
ckleanup of rpm spec porcessing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@100 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-14 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* nagios-plugins.spec.in: complete spec based on confugure.in
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@99 f882894a-f735-0410-b71e-b25c423dba1c
* make-tarball, rpm: automake makes the dist tarball, rpmbuild -ta makes
the rpm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@98 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_http.c, plugins/check_tcp.c: time data in performance
string
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@97 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_log.sh: patch from Matthew Peters
<mattp@esec.com.au>, plus turned up a few bugs on my own
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@96 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-12 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/Makefile.am: negate wrapper
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@95 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-08 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/negate.c: wrapper to invert return status
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@94 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/utils.c: clears up warnings in splint
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@93 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-06 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins-scripts/check_rpc.pl: case on key to ERRORS hash
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@92 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-04 Subhendu Ghosh <sghosh@users.sourceforge.net>
* configure.in: more Mysql patches
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@91 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: dispersion check now controlled by warn
and crit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@90 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: Mysql dir fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@89 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_ifoperstatus.pl, contrib/check_ifstatus.pl: moved to
supported plugins-scripts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@88 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-02 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_smtp.c: new -f option for adding a FROM address for RFC
correctness
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@87 f882894a-f735-0410-b71e-b25c423dba1c
2002-09-01 Subhendu Ghosh <sghosh@users.sourceforge.net>
* INSTALLING: file rename for MacOS X
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@86 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: Valid MAIL command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@85 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-22 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_snmp_process_monitor.pl: updates
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@84 f882894a-f735-0410-b71e-b25c423dba1c
* command.cfg.in: smsclient config
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@83 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_snmp_disk_monitor.pl,
contrib/check_snmp_process_monitor.pl: new plugins contrib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@82 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-18 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/check_by_ssh.c: typo in options passed to ssh for ipv6.
fix by setting a generic hook for 1-char pasthhru options
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@81 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-14 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_disk_smb.pl: patch for admin shares
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@80 f882894a-f735-0410-b71e-b25c423dba1c
* command.cfg.in: qpage definitions
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@79 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ifstatus.pl: skip PPP interfaces
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@78 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_smtp.c: added HELO command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@77 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_by_ssh.c: ipv4/ipv6 switch added
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@76 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c: net-snmp v5x fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@75 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_apc_ups.pl: fix for ePN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@74 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_linux_raid.pl, contrib/check_nagios_db.pl: new plugins
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@73 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_inodes-freebsd.pl: check inodes - freebsd - candidate
for merge with check_inodes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@72 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_smb.sh: new smb check - users
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@71 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-13 Ethan Galstad <egalstad@users.sourceforge.net>
* plugins/check_game.c: Mod to display current/max number of players in
a game (Frank Kannemann)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@70 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-12 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_disk_snmp.pl: Updated to use getopt (Christoph Maser)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@69 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-01 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_snmp.c: re-patched exit state comparison
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@68 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: port option added, -c support net-snmpv5,
complete response string output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@67 f882894a-f735-0410-b71e-b25c423dba1c
2002-08-01 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_digitemp.pl: Add Brian Lane's Digitemp (1-wire temp
sensor) plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@66 f882894a-f735-0410-b71e-b25c423dba1c
2002-07-16 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_disk_snmp.pl: Christoph Maser's plugin to check disk
usage via SNMP3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@65 f882894a-f735-0410-b71e-b25c423dba1c
2002-07-16 Stanley Hopcroft <stanleyhopcroft@users.sourceforge.net>
* contrib/check_ms_spooler.pl: Primitive and in need of refinement test
of MS spooler (with smbclient)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@64 f882894a-f735-0410-b71e-b25c423dba1c
2002-07-04 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_procl.sh: Jerome Tytgat - accumulated/percentage CPU/MEM
per process - bash plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@63 f882894a-f735-0410-b71e-b25c423dba1c
* INSTALL: doc update
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@62 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-28 Subhendu Ghosh <sghosh@users.sourceforge.net>
* INSTALL: note about autoconf/automake version
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@61 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-25 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_rbl.c: Check if IP address is specified on RBL - Tim
Bell
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@60 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_lmmon.pl: check motherboard/cpu temp via lmmon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@59 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-24 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_http.c: ignore return status codes if user specified
status line check
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@58 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_snmp.c: printf bug for large numbers - Jeff Murray
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@57 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-20 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_disk_smb.pl: logic fix for disk space thresholds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@56 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-19 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_dig.c, plugins/check_dns.c, plugins/check_fping.c,
plugins/check_hpjd.c, plugins/check_nagios.c, plugins/check_ping.c,
plugins/check_snmp.c, plugins/check_vsz.c, plugins/urlize.c,
plugins/utils.c, plugins/utils.h.in: more POSIX return value comparison
related code fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@55 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c, plugins/check_ping.c, plugins/check_procs.c:
fixes for using POSIX return codes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@54 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-18 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/common.h.in: updated to POSIX return codes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@53 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_cluster.c: Ethan's check_cluster
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@52 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-13 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_smtp.c: conformance to RFC 821 <CRLF>
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@51 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: use xntpdc on Solaris for check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@50 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-10 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_smtp.c: patch to stop NOQUEUE syslog messages - Karl
Ewald
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@49 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-08 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: xntpdc/ntpdc patch - John Koyle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@48 f882894a-f735-0410-b71e-b25c423dba1c
2002-06-06 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/subst.in, plugins-scripts/utils.sh.in: corrected
result codes - for sh; corrected substition for libexec - Tom Bertelson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@47 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_disk.c: added option for mount point - Tom Bertelson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@46 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_oracle.sh: Add test for Oracle name server, can
dynamicall determine ORACLE_HOME - tom Bertelson
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@45 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_flexlm.pl: conditional on lmstat
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@44 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: conditional on ntpdc
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@43 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-29 Subhendu Ghosh <sghosh@users.sourceforge.net>
* command.cfg.in: notes added
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@42 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-28 Subhendu Ghosh <sghosh@users.sourceforge.net>
* command.cfg.in: option updates, more examples
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@41 f882894a-f735-0410-b71e-b25c423dba1c
* command.cfg.in: option updates, more examples
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@40 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-27 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_ntp.pl: checked in too quickly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@39 f882894a-f735-0410-b71e-b25c423dba1c
* doc/README, doc/developer-guidelines.html,
doc/developer-guidelines.sgml: added developer guidelines.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@38 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: typo, AIX 4.3 ps, smbclient, Net::SNMP fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@37 f882894a-f735-0410-b71e-b25c423dba1c
* acconfig.h, plugins-scripts/utils.pm.in: new var - smbclient
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@36 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_ntp.pl: logic reorg, ePN fix and support for
utils.pm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@35 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_disk_smb.pl: ePN fix and support for utils.pm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@34 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-23 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_log2.pl, contrib/check_vcs.pl: New plugins from Aaron
Bostick - Veritas Cluster, logfile
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@33 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-10 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_rpc.pl: updates for ePN, patch for multiple
version check
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@32 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in, plugins-scripts/utils.pm.in: added programs to autoconf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@31 f882894a-f735-0410-b71e-b25c423dba1c
* acconfig.h: This commit was generated by cvs2svn to compensate for
changes in r29,
which included commits to RCS files with non-trunk default branches.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@30 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-09 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/Makefile.am, plugins-scripts/check_ifoperstatus.pl:
migrated check_ifoperstatus to standard plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@28 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-08 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_ping.c: patch for Suse 8.0 loss output
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/utils.pm.in: is_hostname added, update CODES to POSIX
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@26 f882894a-f735-0410-b71e-b25c423dba1c
* plugins/check_hpjd.c, plugins/check_ups.c: updated notes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@25 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: updated messages and check for host command
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@24 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/Makefile.am, plugins-scripts/check_ifstatus.pl: moved
updated check_ifstatus to standard plugin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@23 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-07 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_breeze.pl, plugins-scripts/check_flexlm.pl,
plugins-scripts/check_ircd.pl, plugins-scripts/check_netdns.pl,
plugins-scripts/check_ntp.pl, plugins-scripts/check_wave.pl: 2nd fix for
ePN
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@22 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-02 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/check_breeze.pl, plugins-scripts/check_disk_smb.pl,
plugins-scripts/check_flexlm.pl, plugins-scripts/check_ircd.pl,
plugins-scripts/check_netdns.pl, plugins-scripts/check_ntp.pl,
plugins-scripts/check_rpc.pl, plugins-scripts/check_wave.pl: fix for
embedded perl
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@21 f882894a-f735-0410-b71e-b25c423dba1c
* tools/README, tools/mini_epn.c, tools/p1.pl: updated mini_epn and
p1.pl added to plugins distribution
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@20 f882894a-f735-0410-b71e-b25c423dba1c
2002-05-01 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/tarballs/fetchlog-0.92.tar.gz: remote log check (via snmp
possible) by Alexander Haderer
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@19 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-29 Karl DeBisschop <kdebisschop@users.sourceforge.net>
* plugins/getopt.h: failed to carry over from old plugins, listed in
EXTRA_DIST, needed for build
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@18 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-23 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins/check_ping.c: corrected program name and added rtt patch for
RH7.2+beta
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@17 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-18 Ethan Galstad <egalstad@users.sourceforge.net>
* contrib/check_inodes.pl: add check_inodes contrib plugin by John Jolet
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@16 f882894a-f735-0410-b71e-b25c423dba1c
* configure.in: configure script patch for ping syntax
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@15 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-07 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_backup.pl, contrib/check_dl_size.pl: plugins from
Patrick Greenwell
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@14 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-05 Subhendu Ghosh <sghosh@users.sourceforge.net>
* acconfig.h: This commit was generated by cvs2svn to compensate for
changes in r12,
which included commits to RCS files with non-trunk default branches.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@13 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/tarballs/check_spread.tar: plugin to check spread messaging
toolkit
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@11 f882894a-f735-0410-b71e-b25c423dba1c
2002-04-03 Subhendu Ghosh <sghosh@users.sourceforge.net>
* contrib/check_oracle_instance.pl: from Sven Dolderer - check oracle
instance
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@10 f882894a-f735-0410-b71e-b25c423dba1c
* plugins-scripts/check_nfs.pl: check_nfs functionality exists in
check_rpc
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@9 f882894a-f735-0410-b71e-b25c423dba1c
2002-03-18 Subhendu Ghosh <sghosh@users.sourceforge.net>
* plugins-scripts/subst.in: function to update perl plugin scripts to
find utils.pm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@8 f882894a-f735-0410-b71e-b25c423dba1c
2002-03-01 Ethan Galstad <egalstad@users.sourceforge.net>
* plugins/.cvsignore, plugins/config.h.in: Fix for stupid me
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@7 f882894a-f735-0410-b71e-b25c423dba1c
* contrib/check_breeze.pl, contrib/check_dhcp.c,
contrib/check_flexlm.pl, contrib/check_hltherm.c,
contrib/check_hprsc.pl, contrib/check_ipxping.c, contrib/check_mysql.c,
contrib/check_uptime.c, contrib/check_wave.pl, contrib/readme.txt,
contrib/tarballs/berger-ping.tar.gz,
contrib/tarballs/bowen-langley_plugins.tar.gz,
contrib/tarballs/check_bgp-1.0.tar.gz,
contrib/tarballs/check_breeze.tar.gz,
contrib/tarballs/check_flexlm.tar.gz,
contrib/tarballs/check_hltherm.tar.gz,
contrib/tarballs/check_hprsc.tar.gz, contrib/tarballs/check_memory.tgz,
contrib/tarballs/check_radius.tar.gz,
contrib/tarballs/check_wave.tar.gz,
contrib/tarballs/hopcroft-plugins.tar.gz,
contrib/tarballs/radius.tar.gz, plugins/.cvsignore, plugins/config.h.in:
Contrib plugin cleanup
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@6 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28 Ethan Galstad <egalstad@users.sourceforge.net>
* .cvsignore, AUTHORS, CODING, COPYING, ChangeLog, FAQ, Helper.pm,
INSTALL, LEGAL, Makefile.am, NEWS, README, REQUIREMENTS, ROADMAP,
Requirements, acconfig.h, aclocal.m4, command.cfg.in, configure.in,
contrib/aix/check_crit_dsk, contrib/aix/check_dsk,
contrib/aix/check_failed, contrib/aix/check_io,
contrib/aix/check_kerberos, contrib/aix/check_ping,
contrib/aix/check_queue, contrib/aix/pg_stat, contrib/check_apache.pl,
contrib/check_apc_ups.pl, contrib/check_bgpstate.pl,
contrib/check_dhcp.c, contrib/check_dlswcircuit.pl,
contrib/check_dns_random.pl, contrib/check_email_loop.pl,
contrib/check_fping_in.c, contrib/check_ftpget.pl,
contrib/check_ifoperstatus.pl, contrib/check_ifstatus.pl,
contrib/check_ipxping.c, contrib/check_joy.sh,
contrib/check_maxchannels.pl, contrib/check_maxwanstate.pl,
contrib/check_mem.pl, contrib/check_memory.tgz, contrib/check_mysql.c,
contrib/check_mysql.pl, contrib/check_nagios.pl,
contrib/check_netapp.pl, contrib/check_nmap.py, contrib/check_nwstat.pl,
contrib/check_ora_table_space.pl, contrib/check_pop3.pl,
contrib/check_qmailq.pl, contrib/check_rrd_data.pl,
contrib/check_sap.sh, contrib/check_sockets.pl, contrib/check_timeout.c,
contrib/check_uptime.c, contrib/checkciscotemp.pl,
contrib/maser-oracle.pl, contrib/mrtgext.pl, contrib/readme.txt,
contrib/restrict.pl, contrib/tarballs/berger-ping.tar.gz,
contrib/tarballs/bowen-langley_plugins.tar.gz,
contrib/tarballs/check_bgp-1.0.tar.gz,
contrib/tarballs/check_breeze.tar.gz,
contrib/tarballs/check_flexlm.tar.gz,
contrib/tarballs/check_hltherm.tar.gz,
contrib/tarballs/check_hprsc.tar.gz,
contrib/tarballs/check_radius.tar.gz,
contrib/tarballs/check_wave.tar.gz,
contrib/tarballs/hopcroft-plugins.tar.gz,
contrib/tarballs/radius.tar.gz, contrib/urlize.pl, contrib/utils.py,
install-sh, make-tarball, missing, mkinstalldirs, nagios-plugins.spec,
opttest.pl, package.def, plugins-scripts/.cvsignore,
plugins-scripts/Makefile.am, plugins-scripts/check_breeze.pl,
plugins-scripts/check_disk_smb.pl, plugins-scripts/check_flexlm.pl,
plugins-scripts/check_ircd.pl, plugins-scripts/check_log.sh,
plugins-scripts/check_netdns.pl, plugins-scripts/check_nfs.pl,
plugins-scripts/check_ntp.pl, plugins-scripts/check_oracle.sh,
plugins-scripts/check_rpc.pl, plugins-scripts/check_sensors.sh,
plugins-scripts/check_wave.pl, plugins-scripts/subst.in,
plugins-scripts/t/check_rpc.t, plugins-scripts/utils.pm.in,
plugins-scripts/utils.sh.in, plugins/.cvsignore, plugins/Makefile.am,
plugins/check_by_ssh.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_ftp.c, plugins/check_game.c, plugins/check_hpjd.c,
plugins/check_http.c, plugins/check_ide-smart.c, plugins/check_imap.c,
plugins/check_ldap.c, plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c, plugins/check_nagios.c,
plugins/check_nntp.c, plugins/check_nt.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c,
plugins/check_pop.c, plugins/check_procs.c, plugins/check_radius.c,
plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c,
plugins/check_ssh.c, plugins/check_swap.c, plugins/check_tcp.c,
plugins/check_time.c, plugins/check_udp.c, plugins/check_ups.c,
plugins/check_users.c, plugins/check_vsz.c, plugins/common.h.in,
plugins/getopt.c, plugins/getopt1.c, plugins/netutils.c,
plugins/netutils.h.in, plugins/popen.c, plugins/popen.h.in,
plugins/snprintf.c, plugins/t/check_disk.t, plugins/t/check_dns.t,
plugins/t/check_fping.t, plugins/t/check_ftp.t, plugins/t/check_hpjd.t,
plugins/t/check_http.t, plugins/t/check_imap.t, plugins/t/check_load.t,
plugins/t/check_mysql.t, plugins/t/check_ping.t, plugins/t/check_pop.t,
plugins/t/check_procs.t, plugins/t/check_smtp.t, plugins/t/check_snmp.t,
plugins/t/check_swap.t, plugins/t/check_tcp.t, plugins/t/check_time.t,
plugins/t/check_udp.t, plugins/t/check_users.t, plugins/t/check_vsz.t,
plugins/tests/check_disk, plugins/tests/check_dns,
plugins/tests/check_ftp, plugins/tests/check_hpjd,
plugins/tests/check_http, plugins/tests/check_load,
plugins/tests/check_ping, plugins/tests/check_procs,
plugins/tests/check_swap, plugins/tests/check_users,
plugins/tests/check_vsz, plugins/urlize.c, plugins/utils.c,
plugins/utils.h.in, plugins/version.h.in, rpm, subst.in, subst.sh,
test.pl.in, tools/setup, tools/tango: Initial revision
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c