aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-30State-based tests enhancementsGravatar Thomas Guyot-Sionnest
- 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
2010-11-30check_snmp: Remove that is_numeric madnessGravatar Thomas Guyot-Sionnest
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-28add test cases for check_disk_smbGravatar Matthias Eble
2010-11-28check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)Gravatar Matthias Eble
2010-11-28Make check_disk_smb accept spaces in share names (#990948, #1370031, Debian ↵Gravatar Matthias Eble
#601699)
2010-11-15Fix check_disk free space calculation if blocksizes differ within a disk ↵Gravatar Matthias Eble
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-15check_snmp now considers strings returned by SNMP that contain justGravatar nagios
numbers (according to strtod) to be a numeric value for threshold and performance data
2010-10-16Update NEWS for last commitGravatar Thomas Guyot-Sionnest
2010-10-15check_nt: make UPTIME accept warning/critical levelsGravatar Thomas Guyot-Sionnest
Patch originally by Ryan Kelly
2010-10-11sfsnapshotgit: Better handling of remote refsGravatar Thomas Guyot-Sionnest
This commit allow to track branches from unusually-named remote refs and makes possible using external remotes (other than origin) for snapshots.
2010-10-05Patch for check_linux_raid with on linear/raid0 arraysGravatar Thomas Guyot-Sionnest
Fixes bug #3049988, Debian bug #579049
2010-08-31Fix typos in -f help textGravatar Ton Voon
2010-07-27Update the COPYING file to the GPLv3Gravatar Holger Weiss
We switched to the GPLv3 early in 2008, but we forgot to update the COPYING file accordingly.
2010-07-271.4.15 prepGravatar Ton Voon
2010-07-14Merge branch 'master' of ↵Gravatar Ton Voon
ssh://tonvoon@nagiosplug.git.sourceforge.net/gitroot/nagiosplug/nagiosplug
2010-07-14Added text re: MD5SUM updates in nightlies, but tarballs notGravatar Ton Voon
2010-07-09Fix --help output when MAX_OIDS is altered.Gravatar Thomas Guyot-Sionnest
2010-07-07Fix examples in check_disk, where it implied was possible to suffix unit ↵Gravatar Ton Voon
values to warn/crit parameters
2010-07-07Allow check_ifstatus to accept version=2cGravatar Ton Voon
2010-07-02Fix cmd_run overwriting the environmentGravatar Thomas Guyot-Sionnest
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.
2010-07-02Import the environ module from gnulib (86ba51)Gravatar Thomas Guyot-Sionnest
2010-07-02git-notify: Be careful with "--no-merge"Gravatar Holger Weiss
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-30Corrected rate_multiplier calculationGravatar tonvoon
2010-06-30Removed suffix of "-rate" and let user decide label via --labelGravatar tonvoon
2010-06-30Tests for --rate-multiplier optionGravatar tonvoon
2010-06-30Merge branch 'master' of ↵Gravatar Ton Voon
ssh://tonvoon@nagiosplug.git.sourceforge.net/gitroot/nagiosplug/nagiosplug
2010-06-30Fixed rate-multiplier optionGravatar Ton Voon
2010-06-25Add test file directoryGravatar tonvoon
2010-06-24Cleanup some warnings displayed from IRIX tinderbox serverGravatar Ton Voon
2010-06-24Added unsetenv and setenv from gnulibGravatar Ton Voon
2010-06-24Added strsep to gnulib, for check_snmp.cGravatar Ton Voon
2010-06-23Added option to invert search resultsGravatar tonvoon
2010-06-23Display missing search string and URL when failed (Duncan Ferguson #2999924)Gravatar tonvoon
2010-06-23Added state retention APIs. Implemented for check_snmp with --rate option.Gravatar Ton Voon
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-18NEWS entry for last commitGravatar Thomas Guyot-Sionnest
2010-06-18Attempt at detecting 64bit compilation flags between gcc, old, and new ↵Gravatar Thomas Guyot-Sionnest
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-08Add missing --fqdn help (Jan Wagner)Gravatar Thomas Guyot-Sionnest
2010-04-28Update extra-opts help text based on ML agreementGravatar Thomas Guyot-Sionnest
2010-04-28tools/distclean: use git-clean when possibleGravatar Thomas Guyot-Sionnest
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.
2010-04-28Update libtoolGravatar Thomas Guyot-Sionnest
Nagios-plugins wouldn't compile on Ubuntu 10.04 (Lucid) with the old libtool
2010-04-22Add newline after "Usage:" in --helpGravatar Thomas Guyot-Sionnest
2010-04-22Split long line in check_cluster --helpGravatar Thomas Guyot-Sionnest
2010-04-21Update French translations with extra-opts changeGravatar Thomas Guyot-Sionnest
2010-04-21Standardize the extra-opts notesGravatar Thomas Guyot-Sionnest
2010-04-21Fix tests and update NEWS fileGravatar Thomas Guyot-Sionnest
2010-04-21Replace the lousy multiline parser with a robust one.Gravatar Thomas Guyot-Sionnest
This one counts double quotes and backslashes so it should handle any level of escaping.
2010-04-21Attempt at fixing check_snmp multiline output:Gravatar Thomas Guyot-Sionnest
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-15Updated Nagios::Plugin libraryGravatar tonvoon
2010-04-14git-notify: Fix the ordering of commitsGravatar Holger Weiss
If notifications for multiple commits are created, sort them chronologically instead of in reverse chronological order.
2010-04-14Fix translations when extra-opts aren't enabledGravatar Thomas Guyot-Sionnest
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.