aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-13Merge pull request #1556 from TeamOfMonkeysNet/masterGravatar Sven Nierlein
Added a compiled plugin script that was missing from gitignore
2018-10-13Added a compiled plugin script that was missing from gitignoreGravatar Lucas Bussey
2018-07-26Merge pull request #1538 from wopfel/uptime-pluginGravatar Sven Nierlein
Uptime plugin
2018-06-17Fixed error message, added commentGravatar Bernd Arnold
2018-06-17Drop uptime binary callGravatar Bernd Arnold
No need to call /bin/uptime, since the string can be generated with strftime(...).
2018-06-17Added help text for range supportGravatar Bernd Arnold
2018-06-17Remove useless (empty) printGravatar Bernd Arnold
2018-06-13fix typo in check_uptimeGravatar Sven Nierlein
2018-06-13add check_uptime to makefileGravatar Sven Nierlein
2018-06-13RefactoringGravatar Bernd Arnold
Better alignment. Avoid duplications ("Exceeds ... threshold").
2018-06-13Added tests for range valuesGravatar Bernd Arnold
2018-06-13Introducing ranges for warning and criticalGravatar Bernd Arnold
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-13Modified alignmentGravatar Bernd Arnold
2018-06-13Fix: Use macro for perl binaryGravatar Bernd Arnold
I've messed that up in the previous commit 554b702f9d65fdfe640f20633543e00cd79d64ac.
2018-06-09Fix: Initialize valuesGravatar Bernd Arnold
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-03Fix: uptime_file variable was declared too lateGravatar Bernd Arnold
When called with --help, the following error was shown: Use of uninitialized value $uptime_file in concatenation (.) or string at
2018-06-03Added test fileGravatar Bernd Arnold
2018-06-03Added suffix "s" for seconds in perfdata outputGravatar Bernd Arnold
2018-06-03Rename to .plGravatar Bernd Arnold
All other check script also have the .pl ending
2018-05-30Replaced my values with macrosGravatar Bernd Arnold
2018-05-30My version of check_uptimeGravatar Bernd Arnold
Derived from check_mailq
2017-09-04Merge pull request #1505 from m-kraus/patch-1Gravatar Sven Nierlein
Output plugin's stderr to stderr
2017-09-04Output plugin's stderr to stderrGravatar Michael Kraus
Output plugin's stderr to stderr and do not exit with WARNING in that case
2017-05-04Merge pull request #1474 from odenbach/vportGravatar Sven Nierlein
Added tests for virtual port behaviour. Separated from all other test…
2017-04-21Merge pull request #1485 from kbabioch/fix/spellingGravatar Sven Nierlein
plugins: check_dig: Fix spelling
2017-04-21plugins: check_dig: Fix spellingGravatar Karol Babioch
2017-04-20Merge pull request #1461 from philipowen/file-size-lessthanGravatar Sven Nierlein
Enable check_file_age to test for maximum file size
2017-04-05resolve issues from code reviewGravatar phowen
2017-03-26Added tests for virtual port behaviour. Separated from all other tests this ↵Gravatar Christopher Odenbach
time.
2017-03-13Merge pull request #1471 from sni/masterGravatar Sven Nierlein
script tests: fix relative lib path in utils test
2017-03-13script tests: fix relative lib path in utils testGravatar Sven Nierlein
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-13Merge pull request #1469 from sni/masterGravatar Sven Nierlein
make tests more reliable
2017-03-12udp test: prefer nc over netcat syntaxGravatar Sven Nierlein
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-12check_disk test: increase assumed thresholdsGravatar Sven Nierlein
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-12remove hardcoded verisign.com testsGravatar Sven Nierlein
and make it configurable Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12make travis tests more reliableGravatar Sven Nierlein
- 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-12fix timeout issue with check_disk_smbGravatar Sven Nierlein
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-12make snmp tests more reliableGravatar Sven Nierlein
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-12check_dns: fix error detection on sles nslookupGravatar Sven Nierlein
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-14add range checking to check_file_ageGravatar phowen
2017-01-17NEWS: Add missing changesGravatar Jan Wagner
2017-01-17Merge remote-tracking branch 'upstream/pr/1427'Gravatar Jan Wagner
Closes: #1256 Closes: #1458
2017-01-16check_apt: Add -l/--list option to print packagesGravatar Valentin Vidic
2017-01-10Apply another spelling fixGravatar Holger Weiss
2017-01-10Merge branch 'spell_fix'Gravatar Jan Wagner
2017-01-04Merge remote-tracking branch 'upstream/pr/1457'Gravatar Jan Wagner
2017-01-04Merge remote-tracking branch 'upstream/pr/1456'Gravatar Jan Wagner
2016-12-31Add --only-critical switch to check_aptGravatar Christian Schmidt
2016-12-23check_dns: Small test cleanupGravatar Nicolai
2016-12-23check_dns: Fix travis testsGravatar Nicolai
(or try to fix it...)