aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-07NEWS: Update version numberGravatar Holger Weiss
We're going to release version 2.0, not 1.6.
2014-07-07plugins/netutils.h: Adjust UNIX_PATH_MAX for BSDGravatar Holger Weiss
On at least FreeBSD, NetBSD, OpenBSD, DragonFly, and OS X, this is hard-coded at 104 bytes. Closes #1267.
2014-07-06Don't rely on FindBin module to locate utils.pmGravatar Holger Weiss
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-06check_icmp/check_dhcp: disable check, if we are rootGravatar Jan Wagner
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-06NEWS: Add missing entriesGravatar Holger Weiss
2014-07-06THANKS.in: Add new authorsGravatar Holger Weiss
Update the THANKS.in file with the new Git commit authors.
2014-06-30Merge PR #1265 from waja/check_tcp_server_addrGravatar Jan Wagner
2014-06-30check_jabber.t - fixed tests for new status output including hostnameGravatar abrist
2014-06-30Merge pull request #1190 from waja/github780Gravatar Sven Nierlein
check_ssh: check protocol
2014-06-28Merge pull request #1262 from waja/fix_aixGravatar Sven Nierlein
Include common.h before any system headers.
2014-06-28Merge pull request #1264 from waja/check_nt_unitsGravatar Sven Nierlein
check_nt.c - Changed 'Mb' to 'MB' in MEMUSE.
2014-06-28Merge pull request #1263 from waja/coverity_fixesGravatar Sven Nierlein
Serveral coverity fixes from nagios-plugins
2014-06-28tests: added check_dns performance data testGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-06-28check_dns.c Added a bit more logic to thresholdsGravatar abrist
Added two if elses to cover when only one threshold is set.
2014-06-28check_dns: add warning and critical thresholds to perfdataGravatar Jean-Claude Computing
2014-06-28Cleaned up status output of check_tcp changesGravatar abrist
2014-06-28check_tcp: also display the server addr when host_specified is set. This ↵Gravatar Davide Madrisan
will help the admins when multiple checks are configured Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-06-28check_nt.c - Changed 'Mb' to 'MB' in MEMUSE.Gravatar abrist
2014-06-28lib/utils_cmd.c - Free file descriptorGravatar Spenser Reinhardt
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-28plugins/negate.c - Function should not return.Gravatar Spenser Reinhardt
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.
2014-06-28plugins/negate.c - Reorder if statement, aiobGravatar Spenser Reinhardt
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
2014-06-28plugins-root/check_dhcp.c - array out of boundsGravatar Spenser Reinhardt
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
2014-06-28plugins/check_http.c - leakage fixGravatar Spenser Reinhardt
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
2014-06-28plugins/check_ntp.c - Verify struct from responseGravatar Spenser Reinhardt
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-28plugins/check_real.c - recv string null terminateGravatar Spenser Reinhardt
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.
2014-06-28plugins/check_apt.c - Print uninitialized eregGravatar Spenser Reinhardt
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-28Include common.h before any system headers.Gravatar Eric J. Mislivec
This should fix some problems building on AIX.
2014-06-24Merge pull request #1261 from sni/masterGravatar Sven Nierlein
tests: always build and test on travis
2014-06-24tests: always build and test on travisGravatar Sven Nierlein
also make test is now working on travis-ci Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-06-23check_ide_smart: Fixing spelling bugGravatar Jan Wagner
2014-06-23check_mrtg: Fixing spelling bugGravatar Jan Wagner
2014-06-23check_ups/check_dbi: Fixing spelling bugGravatar Jan Wagner
2014-06-23NEWS: Add missing entries for the upcoming releaseGravatar Holger Weiss
2014-06-22THANKS.in: Add new authorsGravatar Holger Weiss
Add the new Git commit authors to the THANKS.in file.
2014-06-22NEWS: Add missing tab charactersGravatar Holger Weiss
2014-06-22check_radius.c: Add newline to die() callsGravatar Holger Weiss
Our die() function doesn't append a newline character to the message.
2014-06-22configure.ac: Change RADIUS library preferencesGravatar Holger Weiss
Prefer the FreeRADIUS Client library over radiusclient-ng, and prefer that one over the original radiusclient library.
2014-06-22check_radius: Support FreeRADIUS Client libraryGravatar Holger Weiss
Allow for using the FreeRADIUS Client library instead of radiusclient or radiusclient-ng. The latter two projects are dead. Closes #1231.
2014-06-22REQUIREMENTS: Update radiusclient-ng URLGravatar Holger Weiss
The project was moved to SourceForge.net.
2014-06-21Add UID to state retention file pathGravatar Holger Weiss
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-20NEWS: s/MP_STATE_DIRECTORY/MP_STATE_PATH/Gravatar Holger Weiss
NAGIOS_PLUGIN_STATE_DIRECTORY was renamed to MP_STATE_PATH, not to MP_STATE_DIRECTORY.
2014-06-18lib/parse_ini.c: Print proper read error messageGravatar Holger Weiss
Print a useful error message if opening the configuration file fails.
2014-06-18lib/parse_ini.c: Drop privileges for reading fileGravatar Holger Weiss
Read the configuration file with privileges temporarily dropped if the code is used by a setuid plugin.
2014-06-18lib/parse_ini.c: Add newline to die() callsGravatar Holger Weiss
Our die() function doesn't append a newline character to the message.
2014-06-18lib/parse_ini.c: Cosmetic changeGravatar Holger Weiss
Replace an "if" with the ternary operator.
2014-06-18Add Gnulib module "idpriv-droptemp"Gravatar Holger Weiss
2014-06-18Use FindBin consistently across Perl pluginsGravatar Holger Weiss
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.
2014-06-18plugins/runcmd.c: Remove superfluous newlineGravatar Holger Weiss
The puts(3) function already appends a newline character to the string.
2014-06-18lib/parse_ini.c: Search for INI file in subdirsGravatar Holger Weiss
Add two path names to the list of default INI file locations, as some users/distributions prefer to put configuration files into subdirectories.
2014-06-18lib/parse_ini.c: Add comment on NAGIOS_CONFIG_PATHGravatar Holger Weiss
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.