Sven Nierlein
d309b1d2e9
add check_ldap test
...
install openldap on travis and grep base dn from slapcat.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-04-22 12:51:29 +02:00
Gerhard Lausser
003103c09d
add counting of entries to check_ldap
2015-04-21 19:11:57 +02:00
Gerhard Lausser
81be2afd95
add sperfdata function which can handle threshold ranges
2015-04-21 19:11:56 +02:00
Andrew Widdersheim
500f8aec81
Readability fix
2015-04-13 14:16:34 +02:00
Elan Ruusamäe
08fdd5789c
Update RELEASING
...
fix some typos.
2015-04-13 09:40:28 +02:00
Sven Nierlein
f0c9beef6c
install snmpd on travis tests
...
because its required for ./plugins/tests/check_snmp.t
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12 15:15:39 +02:00
Sven Nierlein
f6c432835e
enable libtab on travis builds
...
to enable some more tests
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12 14:37:27 +02:00
Sven Nierlein
bda11e1d4c
add perl snmp to travis dependencies
...
it is required for the check_snmp tests
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12 14:32:21 +02:00
Sven Nierlein
75d884ed1e
fix snmp test for included threshold
...
since 6623a1 check_snmp prints the thresholds along the performance data.
This adjust our test cases accordingly.
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-12 14:29:05 +02:00
Sven Nierlein
b1c405749d
update perl module to 0.39
...
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-04-11 13:08:45 +02:00
Sven Nierlein
809508926f
make use of MSG_CONFIRM optional
...
since MSG_CONFIRM is a linux thing and only available on linux kernels >= 2.3.15, see send(2)
2015-01-29 16:18:27 +01:00
Holger Weiss
0a236c7c70
Add tools/update-thanks script
...
The tools/update-thanks script can be used to update the THANKS.in file.
2014-12-15 22:35:02 +01:00
Holger Weiss
8235fd0aef
check_mailq: Add sudo support
...
This addition is based on a patch contributed by Christopher Schultz.
Closes #1099 .
Closes #1171 .
2014-12-02 21:13:38 +01:00
Holger Weiss
04e0a182ae
Merge branch 'handle-hanging-nfs'
...
* handle-hanging-nfs:
NEWS: Mention check_disk enhancement
Cosmetic change: s/THRLIBS/THREADLIBS/
configure.ac: Don't let pthread check depend on OS
check_disk: Seperate declarations from code
check_disk: Remove unused status variable
check_disk: Fix pthread start routine type
Don't let check_disk hang on hanging file systems
2014-12-02 13:22:17 +01:00
Holger Weiss
14d306f573
NEWS: Mention check_disk enhancement
...
Closes #867 .
Closes #1186 .
2014-12-02 12:42:58 +01:00
Holger Weiss
cf3d149652
Cosmetic change: s/THRLIBS/THREADLIBS/
...
Use a more intuitive variable name.
2014-12-02 12:37:59 +01:00
Holger Weiss
ed9394880c
check_icmp: Cast size_t values for printf(3)
...
Convert size_t values to unsigned long for printf(3) in order to
maximize portability.
2014-12-02 11:36:25 +01:00
Holger Weiss
ff542df44c
Merge branch 'maint'
...
* maint:
NEWS: Modify list of changes for 2.1.1 release
Prepare release
THANKS.in: Add new authors
NEWS: Updating all the fixes
check_tcp: fix help description regarding escape option
check_ntp: Nul-terminate jitter data
Revert "plugins/check_ntp.c - Verify struct from response"
check_real: fix null termination
check_ntp: fix null termination
check_apt: fix memset
Conflicts:
NEWS
2014-12-02 10:54:55 +01:00
Holger Weiss
7b5d1c00e8
configure.ac: Don't let pthread check depend on OS
...
Don't check the operating system environment to detect the correct
linker flags for using the POSIX thread library.
2014-12-02 01:03:57 +01:00
Holger Weiss
063bc4e71d
NEWS: Modify list of changes for 2.1.1 release
...
Make the list of changes slightly more descriptive.
2014-12-02 00:42:28 +01:00
Jan Wagner
aa1844e49b
Fixing and removing outdated information
2014-12-01 11:22:16 +01:00
Jan Wagner
f2fe51604e
Prepare release
2014-12-01 11:08:01 +01:00
Jan Wagner
dea9bc113e
THANKS.in: Add new authors
2014-12-01 11:08:01 +01:00
Jan Wagner
4182119245
NEWS: Updating all the fixes
2014-12-01 11:07:54 +01:00
Jan Wagner
6305548798
We are now monitoring-plugins
2014-12-01 09:40:12 +01:00
Sebastian Herbszt
22dfca20fd
check_tcp: fix help description regarding escape option
...
The help description should print '\\' for backslash not just '\'.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-01 01:08:58 +01:00
Holger Weiss
99b3bfe488
check_ntp: Nul-terminate jitter data
...
Make sure the jitter response is nul-terminated before parsing the data
using string functions.
2014-12-01 01:07:53 +01:00
Holger Weiss
5871123e0a
Revert "plugins/check_ntp.c - Verify struct from response"
...
This reverts commit a04df3e1b6 . The "fix"
was bogus in many ways and broke jitter checking.
Conflicts:
plugins/check_ntp.c
2014-11-30 23:39:59 +01:00
Sebastian Herbszt
be16fc7f3b
update .gitignore
...
Add build-aux/test-driver to .gitignore.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-11-30 22:29:24 +01:00
Holger Weiss
0d14645cb0
check_disk: Seperate declarations from code
2014-11-30 11:33:20 +01:00
Holger Weiss
c0e6a6935b
check_disk: Remove unused status variable
...
We didn't actually use the exit status provided by pthread_join(3) for
anything.
2014-11-30 11:30:36 +01:00
Holger Weiss
66f43f9934
check_disk: Fix pthread start routine type
...
The function pointer passed as third argument to pthread_create(3) must
be of type void *(*)(void *).
2014-11-28 23:55:03 +01:00
Gerhard Lausser
6986aa1d0a
Don't let check_disk hang on hanging file systems
2014-11-28 22:08:08 +01:00
Holger Weiss
f3b789a526
NEWS: Mention HP-UX fixes for check_procs
...
Closes #1288 .
2014-11-28 17:09:54 +01:00
Yannick Charton
366e6cdcf3
Added particular ps command for HP-UX (check_procs)
2014-11-28 17:05:57 +01:00
Holger Weiss
3aea6f8fa1
NEWS: Mention the check_real fix
...
Closes #1290 .
2014-11-28 16:28:08 +01:00
Andrew Berglund
94c1a4a433
Added missing CR in DESCRIBE request.
2014-11-28 16:24:33 +01:00
Holger Weiss
9c289ec744
check_icmp: Fix a few type errors
2014-11-28 16:23:28 +01:00
Holger Weiss
8e5118e0cb
Don't mix variable declarations and code
...
We still support pre-C99 compilers.
2014-11-28 16:23:28 +01:00
Matthieu Kermagoret
5265fabeb9
Use kernel reception time on ICMP packets to compute rtt.
...
This commit uses the SO_TIMESTAMP feature of setsockopt to fetch
kernel reception time of ICMP packets. This avoids invalid
computations of rtt on machines with heavy load and/or heavy
network traffic.
2014-11-28 16:23:27 +01:00
Sven Nierlein
8b272a7f7b
Merge pull request #1304 from monitoring-plugins/pr-1183-enhanced
...
merge pull request #1300 while moving values to constants
2014-11-28 15:48:26 +01:00
Sven Nierlein
7660540c31
make constants from maxfd values ( #1300 )
...
its good practice to use constants instead of (random) values.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2014-11-28 15:25:43 +01:00
nafets
6bb5e1db52
avoid a segfault, if ulimit is set to unlimited
2014-11-28 15:21:23 +01:00
Jan Wagner
054bfc9922
Adding a warning for raising to CRITICAL for protocal/version errors of check_ssh
2014-11-28 14:39:33 +01:00
Sven Nierlein
a7d7992777
check_ssh: change warning to critical for protocal/version errors
...
It makes more sense to exit critical if a explicit version/protocol is requested. This
would also be more consistent with other plugins. Other string matching plugins like
check_snmp or check_http exit critical if the result does not match.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
Closes #1268
2014-11-28 14:35:03 +01:00
Holger Weiss
7ef100a3eb
NEWS: Mention new "check_nt -l" parameters
...
Closes #1253 .
2014-11-28 13:25:19 +01:00
Andy Brist
c59ee0036f
Added perfdata to check_nt. New -l options - seconds|minutes|hours|days.
2014-11-28 13:22:20 +01:00
Holger Weiss
7906d27bfa
NEWS: Mention new check_snmp option
...
Closes #1221 .
2014-11-28 13:09:22 +01:00
Johannes Engel
7a33e28e4e
Introduce support for SNMPv3 context in check_snmp
...
snmpget already supports using SNMPv3 contexts using the option "-n".
Thus all we need to do is introduce a new argument to check_snmp and
pass the argument on to snmpget using snmpget's option "-n".
Since "-n" is already in use for check_snmp for a different purpose,
we use "-N" instead.
2014-11-28 13:05:16 +01:00
Holger Weiss
5a75f0b332
NEWS: Mention check_snmp's perfdata thresholds
2014-11-28 12:57:17 +01:00