Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-12-07 | check_icmp: process protocol version args first | Jacob Hansen | 1 | -10/+22 | |
Detection of protocol version is in the previous patch implemented in the add_target() function, which is called when adding the -H command line argument. That means that if a protocal version argument (-4, -6) is added after the -H then the protocol version might be incorrectly set. This patch ensures that we first process the protocol version arguments, and then we process the rest of the arguments. Signed-off-by: Jacob Hansen <jhansen@op5.com> | |||||
2018-12-07 | check_icmp: Automatically detect IP protocol | Jacob Hansen | 1 | -26/+45 | |
This patch automatically detects whether the protocol version is IPv4 or IPv6 All credits to: https://github.com/ghciv6 Signed-off-by: Jacob Hansen <jhansen@op5.com> | |||||
2018-12-07 | Fixed parameter handling after 01efbb2183d49c5082598d4799788fc385342f28 | Lars Michelsen | 1 | -38/+38 | |
2018-12-07 | check_icmp: Add IPv6 support | Lars Michelsen | 1 | -161/+330 | |
This commit adds IPv6 capabilities to check_icmp. It is now possible to specify the address family using the arguments -4 (default) or -6. To make the change possible we had to move the argument parsing previous to creating the socket to be able to create it with the correct address family. This commit also fixes some gcc 4.9.2 compiler warnings. It has been tested with several current linux distributions (debian, ubuntu, rh, sles). This commit fixes monitoring-plugins/monitoring-plugins#1291 | |||||
2018-12-07 | Merge pull request #1565 from sni/travis_run_plugin_root_tests | Sven Nierlein | 18 | -438/+212 | |
Travis run plugin root tests | |||||
2018-12-04 | tests: rework test parametersrefs/pull/1565/head | Sven Nierlein | 16 | -303/+107 | |
there were 2 variants of calling getTestParameter: - parameter, description, default value - parameter, env value, default value, description, scope While scope was never actually used and having 2 names for the same value led to having 2 different entries in the cache file for the same configuration. This commit removes the variants and simplifies tests parameters by only using the first 3 parameter variant. | |||||
2018-12-04 | NPTest: unify whitespace | Sven Nierlein | 1 | -73/+73 | |
2018-12-04 | tests: skip some tests if Monitoring::Plugin::Range isn't available | Sven Nierlein | 1 | -67/+36 | |
The check_file_age uses Monitoring::Plugin::Range internally. Skip thoses tests if the module isn't available. | |||||
2018-12-04 | tests: enable plugins-root tests | Sven Nierlein | 1 | -0/+1 | |
2018-11-10 | Merge remote-tracking branch 'monitoring-plugins/pr/1560' | Holger Weiss | 1 | -1/+11 | |
* monitoring-plugins/pr/1560: Add new flag --show-body/-B to print body | |||||
2018-11-09 | Add new flag --show-body/-B to print bodyrefs/pull/1560/head | Tobias Wolf | 1 | -1/+11 | |
This should help with figuring out ia problem at a glance when enabled for healthz endpoints on web APIs, for example. The content of the body can point to what the problem is and help with diagnostics. Fixes #1559 | |||||
2018-11-06 | Merge remote-tracking branch 'monitoring-plugins/pr/1476' | Holger Weiss | 5 | -5/+8023 | |
* monitoring-plugins/pr/1476: test: Add proxy tests via proxy Allow user to specify HTTP method after proxy CONNECT | |||||
2018-11-06 | test: Add proxy tests via proxyrefs/pull/1476/head | Markus Frosch | 4 | -2/+8009 | |
On Travis with a local squid | |||||
2018-11-06 | Allow user to specify HTTP method after proxy CONNECT | Markus Frosch | 1 | -3/+14 | |
Simple format, avoids refactoring the CONNECT feature. | |||||
2018-10-22 | Merge pull request #1552 from madpilot78/Avoid_passing_NULL_to_vprintf | Sven Nierlein | 1 | -4/+7 | |
Avoid passing NULL to vprintf(). | |||||
2018-10-22 | Merge pull request #1522 from Sp1l/fix-MariaDB10.2 | Sven Nierlein | 1 | -0/+5 | |
Fix build issue with MariaDB 10.2 | |||||
2018-10-13 | Merge pull request #1556 from TeamOfMonkeysNet/master | Sven Nierlein | 1 | -0/+1 | |
Added a compiled plugin script that was missing from gitignore | |||||
2018-10-13 | Added a compiled plugin script that was missing from gitignorerefs/pull/1556/head | Lucas Bussey | 1 | -0/+1 | |
2018-09-29 | Avoid passing NULL to vprintf().refs/pull/1552/head | Guido Falsi | 1 | -4/+7 | |
2018-07-26 | Merge pull request #1538 from wopfel/uptime-plugin | Sven Nierlein | 3 | -0/+446 | |
Uptime plugin | |||||
2018-06-17 | Fixed error message, added commentrefs/pull/1538/head | Bernd Arnold | 1 | -1/+2 | |
2018-06-17 | Drop uptime binary call | Bernd Arnold | 1 | -1/+1 | |
No need to call /bin/uptime, since the string can be generated with strftime(...). | |||||
2018-06-17 | Added help text for range support | Bernd Arnold | 1 | -0/+6 | |
2018-06-17 | Remove useless (empty) print | Bernd Arnold | 1 | -1/+0 | |
2018-06-13 | fix typo in check_uptime | Sven Nierlein | 1 | -1/+1 | |
2018-06-13 | add check_uptime to makefile | Sven Nierlein | 1 | -0/+2 | |
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-11-06 | Fix build issue with MariaDB 10.2refs/pull/1522/head | Bernard Spil | 1 | -0/+5 | |
As of 10.2 MariaDB no longer defines MYSQL_PORT. | |||||
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 |