aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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.
2014-06-18lib/parse_ini.c: Cosmetic changes to commentsGravatar Holger Weiss
2014-06-18lib/parse_ini.c: Fix Clang warningsGravatar Holger Weiss
2014-06-18lib/parse_ini.[ch]: Change code formattingGravatar Holger Weiss
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.
2014-06-18lib/parse_ini.c: Don't cast malloc(3) resultGravatar Holger Weiss
There's no need to cast malloc(3)'s return value.
2014-06-18lib/parse_ini.c: Remove outdated comment and codeGravatar Holger Weiss
The lib/parse_ini.c:np_get_defaults() function now dies if no configuration file is found.
2014-06-18lib/parse_ini.c: Read $MP_CONFIG_FILEGravatar Holger Weiss
Read $MP_CONFIG_FILE if that variable is set in the environment.
2014-06-18lib/parse_ini.c: Read "monitoring-plugins.ini"Gravatar Holger Weiss
Read "monitoring-plugins.ini" if that file exists, but fall back to reading "plugins.ini" or "nagios-plugins.ini" for backward compatibility.
2014-06-18lib/parse_ini.[ch]: Simplify codeGravatar Holger Weiss
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-13tests: freebsds snmpd does not use quotesGravatar Sven Nierlein
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-13tests: check_proc tests fail if uid -2 does not map to nobodyGravatar Sven Nierlein
so make sure our tests only run if -2 maps to nobody Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-06-13tests: fping checks require being root or setuid rootGravatar Sven Nierlein
on the fping binary. Check this before running the test. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-06-13require at least HTTP::Daemon 6.01Gravatar Sven Nierlein
since the test uses send_header from HTTP::Daemon::ClientConn which has been introduced in HTTP::Daemon 6.01
2014-06-12tests: testCmd has own timeout which overwrites local oneGravatar Sven Nierlein
so add configurable/optional timeout to testCmd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-06-12tests: parts of the check_procs test only work when uid -2 existsGravatar Sven Nierlein
skip those tests if the uid does not exist Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-06-12configure.ac: Remove unused codeGravatar Holger Weiss
We no longer set LIBGNUTLS_CONFIG, as GnuTLS no longer ships a "libgnutls-config" tool.
2014-06-12Fix compilation with GnuTLSGravatar Holger Weiss
GnuTLS doesn't provide a SSL_CTX_check_private_key() function. Closes #1254.
2014-04-27Make check_disk work on Windows.Gravatar Gunnar Beutner
2014-04-27Make check_users work on Windows.Gravatar Gunnar Beutner
2014-04-27Make check_ping work on Windows.Gravatar Gunnar Beutner
2014-04-27Add missing file extensions for some of the plugins.Gravatar Gunnar Beutner
2014-04-24check_snmp: Handle SNMPv3 noAuthNoPriv properlyGravatar Anton Lofgren
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-04Remove the suggestion to run check_apt with --verbose since it doesn't do ↵Gravatar Sam Kottler
anything
2014-04-04Add Sam Kottler to the list of AUTHORSGravatar Holger Weiss
2014-04-04check_nt: add UPTIME to perfdata [sf#3434647]Gravatar Jan Wagner