Thomas Guyot-Sionnest
df88f95fca
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-30 22:32:33 -05:00
Matthias Eble
9faccbb261
add test cases for check_disk_smb
2010-11-28 22:08:54 +01:00
Matthias Eble
3c67c9cb60
check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696 )
2010-11-28 21:43:48 +01:00
Matthias Eble
0892c4ac28
Make check_disk_smb accept spaces in share names ( #990948 , #1370031 , Debian #601699 )
2010-11-28 21:35:59 +01:00
Matthias Eble
77f2c84d2f
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 23:59:35 +01:00
nagios
896962a1ad
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-11-15 15:43:41 +00:00
Thomas Guyot-Sionnest
e7ac2e68c9
Update NEWS for last commit
2010-10-16 01:22:32 -04:00
Thomas Guyot-Sionnest
6989366b8d
check_nt: make UPTIME accept warning/critical levels
...
Patch originally by Ryan Kelly
2010-10-15 01:52:29 -04:00
Thomas Guyot-Sionnest
654086f111
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-11 21:38:42 -04:00
Thomas Guyot-Sionnest
e30f778640
Patch for check_linux_raid with on linear/raid0 arrays
...
Fixes bug #3049988 , Debian bug #579049
2010-10-05 23:19:03 -04:00
Ton Voon
bfe20df4a5
Fix typos in -f help text
2010-08-31 15:54:19 +01:00
Holger Weiss
47a01d620c
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 23:06:23 +02:00
Ton Voon
e546a084af
1.4.15 prep
2010-07-27 21:45:20 +01:00
Ton Voon
4bb8e2f514
Merge branch 'master' of ssh://tonvoon@nagiosplug.git.sourceforge.net/gitroot/nagiosplug/nagiosplug
2010-07-14 14:22:51 +01:00
Ton Voon
9bab433981
Added text re: MD5SUM updates in nightlies, but tarballs not
2010-07-14 14:22:04 +01:00
Thomas Guyot-Sionnest
2527bdd4b6
Fix --help output when MAX_OIDS is altered.
2010-07-09 19:39:09 -04:00
Ton Voon
02f9207ebe
Fix examples in check_disk, where it implied was possible to suffix unit values to warn/crit parameters
2010-07-07 11:03:24 +01:00
Ton Voon
0205c7c0cf
Allow check_ifstatus to accept version=2c
2010-07-07 09:56:21 +01:00
Thomas Guyot-Sionnest
cf2bcf6c7a
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.
2010-07-02 12:55:19 -04:00
Thomas Guyot-Sionnest
6b60516061
Import the environ module from gnulib (86ba51)
2010-07-02 12:36:08 -04:00
Holger Weiss
319e308521
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-07-02 15:28:35 +02:00
tonvoon
5c72d075de
Corrected rate_multiplier calculation
2010-06-30 13:16:32 +00:00
tonvoon
3444519014
Removed suffix of "-rate" and let user decide label via --label
2010-06-30 09:37:10 +00:00
tonvoon
752dbc20b2
Tests for --rate-multiplier option
2010-06-30 07:56:05 +00:00
Ton Voon
0aa7519374
Merge branch 'master' of ssh://tonvoon@nagiosplug.git.sourceforge.net/gitroot/nagiosplug/nagiosplug
2010-06-30 09:01:42 +01:00
Ton Voon
6805fecd62
Fixed rate-multiplier option
2010-06-30 09:01:14 +01:00
tonvoon
f324f5b94f
Add test file directory
2010-06-25 07:52:59 +00:00
Ton Voon
2ad344a47b
Cleanup some warnings displayed from IRIX tinderbox server
2010-06-24 10:08:13 +01:00
Ton Voon
342f3b403e
Added unsetenv and setenv from gnulib
2010-06-24 10:02:31 +01:00
Ton Voon
f789a37b05
Added strsep to gnulib, for check_snmp.c
2010-06-24 09:57:07 +01:00
tonvoon
b8e2850c1a
Added option to invert search results
2010-06-23 15:56:29 +00:00
tonvoon
1252195ed5
Display missing search string and URL when failed (Duncan Ferguson #2999924 )
2010-06-23 14:44:34 +00:00
Ton Voon
18f6835eda
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-23 13:30:34 +00:00
Thomas Guyot-Sionnest
f61412478c
NEWS entry for last commit
2010-06-18 07:30:07 -04:00
Thomas Guyot-Sionnest
ab1e1edff3
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-06-18 07:21:18 -04:00
Thomas Guyot-Sionnest
4b42d5aff4
Add missing --fqdn help (Jan Wagner)
2010-05-08 17:41:14 -04:00
Thomas Guyot-Sionnest
a4bab0bb46
Update extra-opts help text based on ML agreement
2010-04-28 06:03:57 -04:00
Thomas Guyot-Sionnest
b48c2bdd59
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.
2010-04-28 05:28:22 -04:00
Thomas Guyot-Sionnest
3a2f2975e6
Update libtool
...
Nagios-plugins wouldn't compile on Ubuntu 10.04 (Lucid) with the old libtool
2010-04-28 05:26:27 -04:00
Thomas Guyot-Sionnest
eaf3cb27f4
Add newline after "Usage:" in --help
2010-04-22 08:57:14 -04:00
Thomas Guyot-Sionnest
a46df94001
Split long line in check_cluster --help
2010-04-22 08:50:55 -04:00
Thomas Guyot-Sionnest
956b504e68
Update French translations with extra-opts change
2010-04-21 23:40:09 -04:00
Thomas Guyot-Sionnest
884aee0667
Standardize the extra-opts notes
2010-04-21 23:29:18 -04:00
Thomas Guyot-Sionnest
00bf32bb60
Fix tests and update NEWS file
2010-04-21 23:04:06 -04:00
Thomas Guyot-Sionnest
47d04677b7
Replace the lousy multiline parser with a robust one.
...
This one counts double quotes and backslashes so it should handle any
level of escaping.
2010-04-21 22:39:44 -04:00
Thomas Guyot-Sionnest
582034478b
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-21 22:04:28 -04:00
tonvoon
b63e92f8ba
Updated Nagios::Plugin library
2010-04-15 10:44:01 +00:00
Holger Weiss
ee06edc646
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 16:22:21 +02:00
Thomas Guyot-Sionnest
25d1ee331d
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.
2010-04-14 08:33:06 -04:00
Thomas Guyot-Sionnest
b649333321
Update french translation (fix all fuzzy's)
2010-04-14 05:48:41 -04:00