Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-06-13 | Refactoring | Bernd Arnold | 1 | -7/+7 | |
Better alignment. Avoid duplications ("Exceeds ... threshold"). | |||||
2018-06-13 | Added tests for range values | Bernd Arnold | 1 | -1/+57 | |
2018-06-13 | Introducing ranges for warning and critical | Bernd Arnold | 2 | -42/+95 | |
Works as before: -w 1w -c 2w New (as before, but also warn if uptime < 5m, and crit if uptime < 2m): -w 5m:1w -c 2m:2w (idea by @sni) Also refactored the time calculation, if a suffix is present: New sub calc_as_seconds($) | |||||
2018-06-13 | Modified alignment | Bernd Arnold | 1 | -2/+2 | |
2018-06-13 | Fix: Use macro for perl binary | Bernd Arnold | 1 | -1/+1 | |
I've messed that up in the previous commit 554b702f9d65fdfe640f20633543e00cd79d64ac. | |||||
2018-06-09 | Fix: Initialize values | Bernd Arnold | 1 | -0/+1 | |
Otherwise, there's a warning about unitialized values: Use of uninitialized value $hours in numeric gt (>) at ... Use of uninitialized value $days in numeric gt (>) at ... | |||||
2018-06-03 | Fix: uptime_file variable was declared too late | Bernd Arnold | 1 | -3/+3 | |
When called with --help, the following error was shown: Use of uninitialized value $uptime_file in concatenation (.) or string at | |||||
2018-06-03 | Added test file | Bernd Arnold | 1 | -0/+73 | |
2018-06-03 | Added suffix "s" for seconds in perfdata output | Bernd Arnold | 1 | -1/+1 | |
2018-06-03 | Rename to .pl | Bernd Arnold | 1 | -0/+0 | |
All other check script also have the .pl ending | |||||
2018-05-30 | Replaced my values with macros | Bernd Arnold | 1 | -5/+4 | |
2018-05-30 | My version of check_uptime | Bernd Arnold | 1 | -0/+256 | |
Derived from check_mailq | |||||
2017-09-04 | Merge pull request #1505 from m-kraus/patch-1 | Sven Nierlein | 1 | -3/+1 | |
Output plugin's stderr to stderr | |||||
2017-09-04 | Output plugin's stderr to stderrrefs/pull/1505/head | Michael Kraus | 1 | -3/+1 | |
Output plugin's stderr to stderr and do not exit with WARNING in that case | |||||
2017-05-04 | Merge pull request #1474 from odenbach/vport | Sven Nierlein | 1 | -2/+39 | |
Added tests for virtual port behaviour. Separated from all other test… | |||||
2017-04-21 | Merge pull request #1485 from kbabioch/fix/spelling | Sven Nierlein | 1 | -1/+1 | |
plugins: check_dig: Fix spelling | |||||
2017-04-20 | plugins: check_dig: Fix spellingrefs/pull/1485/head | Karol Babioch | 1 | -1/+1 | |
2017-04-20 | Merge pull request #1461 from philipowen/file-size-lessthan | Sven Nierlein | 3 | -15/+93 | |
Enable check_file_age to test for maximum file size | |||||
2017-04-05 | resolve issues from code reviewrefs/pull/1461/head | phowen | 2 | -3/+4 | |
2017-03-26 | Added tests for virtual port behaviour. Separated from all other tests this ↵refs/pull/1474/head | Christopher Odenbach | 1 | -2/+39 | |
time. | |||||
2017-03-13 | Merge pull request #1471 from sni/master | Sven Nierlein | 1 | -0/+1 | |
script tests: fix relative lib path in utils test | |||||
2017-03-13 | script tests: fix relative lib path in utils testrefs/pull/1471/head | Sven Nierlein | 1 | -0/+1 | |
utils.pm uses relative include ".." but the path is relativ to the current folder, so it does not work when running "perl t/utils.t". Just add another lib of "." fixes that. We could use FindBin but we don't want to make it unnecessarily complicated. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-13 | Merge pull request #1469 from sni/master | Sven Nierlein | 8 | -49/+73 | |
make tests more reliable | |||||
2017-03-12 | udp test: prefer nc over netcat syntaxrefs/pull/1469/head | Sven Nierlein | 1 | -3/+3 | |
sles 12 systems have netcat symlinked to nc and so expect nc syntax for netcat. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-12 | check_disk test: increase assumed thresholds | Sven Nierlein | 1 | -4/+4 | |
The check_disk fails if the build system has more than 100GB of free disk space. Lets make this 100TB and we are safe for a couple more years. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-12 | remove hardcoded verisign.com tests | Sven Nierlein | 4 | -36/+54 | |
and make it configurable Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-12 | make travis tests more reliable | Sven Nierlein | 1 | -2/+3 | |
- add-apt-repository might be missing, so install it to be sure - killing ntp might fail if there is none - removing ipv6 from etc/hosts should not fail Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-12 | fix timeout issue with check_disk_smb | Sven Nierlein | 1 | -1/+6 | |
check_disk_smb hangs if the smbclient is still running. So send a sigint to all childs and exit cleanly. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-12 | make snmp tests more reliable | Sven Nierlein | 1 | -3/+3 | |
snmp tests fail if the snmp daemon runs systemd, then the process with 1 has arguments. Convert the test into a regex which works for sysv and systemd. Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-03-12 | check_dns: fix error detection on sles nslookup | Sven Nierlein | 1 | -0/+1 | |
on sles (ex. 11sp1) systems the nslookup output for not found was not parsed correctly and interpreted as ok when it should be critical: ./check_dns -H nosuchhost.nodomain -t 1 -vvv /usr/bin/nslookup -sil nosuchhost.nodomain Server: 10.0.2.3 Address: 10.0.2.3#53 Non-authoritative answer: *** Can't find nosuchhost.nodomain: No answer DNS OK: 0.011 seconds response time. nosuchhost.nodomain returns |time=0.010892s;;;0.000000 Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2017-02-14 | add range checking to check_file_age | phowen | 2 | -16/+93 | |
2017-01-17 | NEWS: Add missing changes | Jan Wagner | 1 | -0/+3 | |
2017-01-17 | Merge remote-tracking branch 'upstream/pr/1427' | Jan Wagner | 1 | -7/+65 | |
Closes: #1256 Closes: #1458 | |||||
2017-01-16 | check_apt: Add -l/--list option to print packagesrefs/pull/1427/head | Valentin Vidic | 1 | -7/+65 | |
2017-01-10 | Apply another spelling fix | Holger Weiss | 1 | -1/+1 | |
2017-01-10 | Merge branch 'spell_fix' | Jan Wagner | 14 | -35/+35 | |
2017-01-04 | Merge remote-tracking branch 'upstream/pr/1457' | Jan Wagner | 2 | -4/+29 | |
2017-01-04 | Merge remote-tracking branch 'upstream/pr/1456' | Jan Wagner | 5 | -10/+67 | |
2016-12-31 | Add --only-critical switch to check_aptrefs/pull/1457/head | Christian Schmidt | 2 | -4/+29 | |
2016-12-23 | check_dns: Small test cleanuprefs/pull/1456/head | Nicolai | 2 | -4/+4 | |
2016-12-23 | check_dns: Fix travis tests | Nicolai | 1 | -0/+2 | |
(or try to fix it...) | |||||
2016-12-23 | check_dns: Tests and info | Nicolai | 4 | -3/+26 | |
2016-12-21 | check_dns: Accept CIDR | Nicolai Søborg | 1 | -5/+37 | |
2016-12-20 | check_dns: allow for IPv6 RDNS | Patrick Rauscher | 1 | -1/+1 | |
2016-12-08 | travis-ci: Install mariadb only if no MySQL is present | Jan Wagner | 1 | -1/+1 | |
2016-12-07 | Merge branch 'pr/1454' | Holger Weiss | 2 | -1/+5 | |
* pr/1454: NEWS: Mention check_dhcp fix properly remove MSG_PEEK in check_dhcp.c. Fixes #1450. | |||||
2016-12-07 | NEWS: Mention check_dhcp fix | Holger Weiss | 1 | -0/+4 | |
2016-12-07 | properly remove MSG_PEEK in check_dhcp.c. Fixes #1450.refs/pull/1454/head | Harald Koch | 1 | -1/+1 | |
2016-12-01 | Spelling fixes suggested by lintianrefs/pull/1452/head | Jan Wagner | 14 | -35/+35 | |
2016-11-29 | Revert "travis-ci: Workaround travis-ci/travis-ci#329" | Jan Wagner | 1 | -5/+1 | |
Encrypted env variables are not available for PRs This reverts commit fe69d3680a1104adcc35d3722f38ac05a976e21f. |