Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-06-30 | Merge PR #1265 from waja/check_tcp_server_addr | Jan Wagner | 2 | -5/+10 | |
2014-06-30 | check_jabber.t - fixed tests for new status output including hostname | abrist | 1 | -3/+3 | |
2014-06-30 | Merge pull request #1190 from waja/github780 | Sven Nierlein | 1 | -4/+20 | |
check_ssh: check protocol | |||||
2014-06-28 | Merge pull request #1262 from waja/fix_aix | Sven Nierlein | 2 | -4/+3 | |
Include common.h before any system headers. | |||||
2014-06-28 | Merge pull request #1264 from waja/check_nt_units | Sven Nierlein | 1 | -2/+2 | |
check_nt.c - Changed 'Mb' to 'MB' in MEMUSE. | |||||
2014-06-28 | Merge pull request #1263 from waja/coverity_fixes | Sven Nierlein | 5 | -10/+24 | |
Serveral coverity fixes from nagios-plugins | |||||
2014-06-28 | tests: added check_dns performance data test | Sven Nierlein | 1 | -1/+2 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-06-28 | check_dns.c Added a bit more logic to thresholds | abrist | 1 | -4/+13 | |
Added two if elses to cover when only one threshold is set. | |||||
2014-06-28 | check_dns: add warning and critical thresholds to perfdata | Jean-Claude Computing | 1 | -1/+8 | |
2014-06-28 | Cleaned up status output of check_tcp changes | abrist | 1 | -1/+1 | |
2014-06-28 | check_tcp: also display the server addr when host_specified is set. This ↵ | Davide Madrisan | 1 | -2/+7 | |
will help the admins when multiple checks are configured Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> | |||||
2014-06-28 | check_nt.c - Changed 'Mb' to 'MB' in MEMUSE. | abrist | 1 | -2/+2 | |
2014-06-28 | plugins/negate.c - Function should not return. | Spenser Reinhardt | 1 | -2/+2 | |
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-28 | plugins/negate.c - Reorder if statement, aiob | Spenser Reinhardt | 1 | -2/+1 | |
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-28 | plugins/check_http.c - leakage fix | Spenser Reinhardt | 1 | -4/+6 | |
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-28 | plugins/check_ntp.c - Verify struct from response | Spenser Reinhardt | 1 | -2/+11 | |
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-28 | plugins/check_real.c - recv string null terminate | Spenser Reinhardt | 1 | -0/+1 | |
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-28 | plugins/check_apt.c - Print uninitialized ereg | Spenser Reinhardt | 1 | -0/+3 | |
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-28 | Include common.h before any system headers. | Eric J. Mislivec | 2 | -4/+3 | |
This should fix some problems building on AIX. | |||||
2014-06-24 | tests: always build and test on travis | Sven Nierlein | 4 | -7/+61 | |
also make test is now working on travis-ci Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-06-23 | check_ide_smart: Fixing spelling bug | Jan Wagner | 1 | -1/+1 | |
2014-06-23 | check_mrtg: Fixing spelling bug | Jan Wagner | 1 | -1/+1 | |
2014-06-23 | check_ups/check_dbi: Fixing spelling bug | Jan Wagner | 2 | -6/+6 | |
2014-06-22 | check_radius.c: Add newline to die() calls | Holger Weiss | 1 | -14/+14 | |
Our die() function doesn't append a newline character to the message. | |||||
2014-06-22 | check_radius: Support FreeRADIUS Client library | Holger Weiss | 1 | -7/+14 | |
Allow for using the FreeRADIUS Client library instead of radiusclient or radiusclient-ng. The latter two projects are dead. Closes #1231. | |||||
2014-06-18 | plugins/runcmd.c: Remove superfluous newline | Holger Weiss | 1 | -1/+1 | |
The puts(3) function already appends a newline character to the string. | |||||
2014-06-13 | tests: freebsds snmpd does not use quotes | Sven Nierlein | 1 | -1/+1 | |
when returning syscontact. So make them optional since we want to test check_snmp and not the snmpd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-13 | tests: check_proc tests fail if uid -2 does not map to nobody | Sven Nierlein | 1 | -0/+1 | |
so make sure our tests only run if -2 maps to nobody Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-13 | tests: fping checks require being root or setuid root | Sven Nierlein | 1 | -6/+8 | |
on the fping binary. Check this before running the test. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-13 | require at least HTTP::Daemon 6.01 | Sven Nierlein | 1 | -1/+2 | |
since the test uses send_header from HTTP::Daemon::ClientConn which has been introduced in HTTP::Daemon 6.01 | |||||
2014-06-12 | tests: testCmd has own timeout which overwrites local one | Sven Nierlein | 1 | -15/+9 | |
so add configurable/optional timeout to testCmd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-12 | tests: parts of the check_procs test only work when uid -2 exists | Sven Nierlein | 1 | -12/+16 | |
skip those tests if the uid does not exist Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-12 | Fix compilation with GnuTLS | Holger Weiss | 1 | -0/+2 | |
GnuTLS doesn't provide a SSL_CTX_check_private_key() function. Closes #1254. | |||||
2014-04-27 | Make check_disk work on Windows. | Gunnar Beutner | 1 | -1/+20 | |
2014-04-27 | Make check_users work on Windows. | Gunnar Beutner | 2 | -4/+42 | |
2014-04-27 | Make check_ping work on Windows. | Gunnar Beutner | 1 | -2/+5 | |
2014-04-24 | check_snmp: Handle SNMPv3 noAuthNoPriv properly | Anton Lofgren | 2 | -6/+15 | |
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. Signed-off-by: Anton Lofgren <alofgren@op5.com> | |||||
2014-04-04 | Remove the suggestion to run check_apt with --verbose since it doesn't do ↵ | Sam Kottler | 1 | -1/+1 | |
anything | |||||
2014-04-04 | check_nt: add UPTIME to perfdata [sf#3434647] | Jan Wagner | 1 | -1/+1 | |
2014-04-03 | Fix check_mysql.c client options from file | awiddersheim | 1 | -6/+0 | |
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-13 | check_pgsql: Add missing newline to --help output | Holger Weiss | 1 | -1/+1 | |
2014-03-09 | build - avoid deprecated INCLUDES | Davide Madrisan | 1 | -5/+6 | |
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> | |||||
2014-02-20 | check_swap: Fix the plugin name that appears in the comment | Davide Madrisan | 1 | -1/+1 | |
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> | |||||
2014-02-18 | check_procs test fails if there is no user with uid 501 | Sven Nierlein | 1 | -9/+17 | |
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. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-02-17 | check_ssh: Reverting a387120 | Jan Wagner | 1 | -2/+0 | |
This seems to result into more problems in the wild then before 'fixing' it Closes Debian #739254 Reopen Debian #734811 | |||||
2014-02-07 | Merge pull request #1234 from skottler/plugin_makefile_whitespace | Thomas Guyot-Sionnest | 1 | -3/+2 | |
Remove unnecessary whitespace in Makefile.am | |||||
2014-02-07 | Remove unnecessary whitespace in Makefile.am | Sam Kottler | 1 | -3/+2 | |
2014-01-31 | Add perfdata in check_proc output tests | Thomas Guyot-Sionnest | 1 | -15/+15 | |
2014-01-31 | Fix snmpd tests | Thomas Guyot-Sionnest | 1 | -1/+1 | |
2014-01-31 | Enable tests in tests/ subdirs | Thomas Guyot-Sionnest | 1 | -0/+0 | |