Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-10-22 | fixed test outputs for status line checks | Andreas Baumann | 1 | -4/+4 | |
handling empty data in POST and PUT handling data upload (from -P <postdata>) also in PUT | |||||
2018-10-22 | made check_curl tests copies of check_http tests because they will differ ↵ | Andreas Baumann | 1 | -1/+418 | |
slightly | |||||
2018-10-22 | check_curl: make check_curl use the same tests as check_http | Sven Nierlein | 2 | -3/+7 | |
2017-03-26 | Added tests for virtual port behaviour. Separated from all other tests this ↵ | Christopher Odenbach | 1 | -2/+39 | |
time. | |||||
2016-11-11 | Revert "adopt http test to changed ssl expire date output" | Sven Nierlein | 1 | -4/+4 | |
This reverts commit 6cd50bc42cb4b25a3c0f7153df7f83b7262f404b. | |||||
2016-11-11 | tests: make tests reliable for forcing the locale to C | Sven Nierlein | 1 | -0/+2 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2016-11-11 | adopt http test to changed ssl expire date output | Sven Nierlein | 1 | -4/+4 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2016-11-07 | GMT expiry display | Peter (pir) Radcliffe | 1 | -4/+4 | |
Change solution to display GMT time in the local display format with the offset number of hours from GMT to be clear about what timezone this is if the local display format does not include offset. | |||||
2016-11-07 | Revert "Fix check_http test time output" | Peter (pir) Radcliffe | 1 | -4/+4 | |
This reverts commit 2d9e61a4382b8366331cde7617dbc4e381a0219a. | |||||
2016-11-07 | Fix check_http test time output | Peter (pir) Radcliffe | 1 | -4/+4 | |
Tests need to match new output time and timezone. | |||||
2015-10-02 | fix tests for certificates expire date with seconds | Sven Nierlein | 1 | -4/+4 | |
2015-04-12 | fix snmp test for included threshold | Sven Nierlein | 1 | -11/+11 | |
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> | |||||
2014-07-31 | tests: skip extented snmp tests if snmpd has no perl support | Sven Nierlein | 1 | -1/+10 | |
solaris snmpd has no perl support by default, so this test will fail. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-07-21 | plugins/tests/check_http.t: Adjust date strings | Holger Weiss | 1 | -4/+4 | |
Adjust the expected date strings to the now-localized output produced by plugins/sslutils.c. Closes #1275. | |||||
2014-06-13 | tests: freebsds snmpd does not use quotes | Sven Nierlein | 1 | -1/+1 | |
when returning syscontact. So make them optional since we want to test check_snmp and not the snmpd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-13 | tests: check_proc tests fail if uid -2 does not map to nobody | Sven Nierlein | 1 | -0/+1 | |
so make sure our tests only run if -2 maps to nobody Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-13 | require at least HTTP::Daemon 6.01 | Sven Nierlein | 1 | -1/+2 | |
since the test uses send_header from HTTP::Daemon::ClientConn which has been introduced in HTTP::Daemon 6.01 | |||||
2014-06-12 | tests: testCmd has own timeout which overwrites local one | Sven Nierlein | 1 | -15/+9 | |
so add configurable/optional timeout to testCmd. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-06-12 | tests: parts of the check_procs test only work when uid -2 exists | Sven Nierlein | 1 | -12/+16 | |
skip those tests if the uid does not exist Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-02-18 | check_procs test fails if there is no user with uid 501 | Sven Nierlein | 1 | -9/+17 | |
thats because check_procs verifys there is a user for a given uid filter. So even we use sample data for this test, we still need a real user. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-01-31 | Add perfdata in check_proc output tests | Thomas Guyot-Sionnest | 1 | -15/+15 | |
2014-01-31 | Fix snmpd tests | Thomas Guyot-Sionnest | 1 | -1/+1 | |
2014-01-31 | Enable tests in tests/ subdirs | Thomas Guyot-Sionnest | 1 | -0/+0 | |
2014-01-31 | Add tests for negative thresholds in check_snmp | Thomas Guyot-Sionnest | 2 | -8/+36 | |
Next commit will work on fixing these! | |||||
2014-01-27 | Rename MP_STATE_DIRECTORY to MP_STATE_PATH | Thomas Guyot-Sionnest | 1 | -2/+2 | |
2014-01-25 | Rename ENV variable, keep backward compatibility | Thomas Guyot-Sionnest | 1 | -2/+2 | |
Rename NAGIOS_PLUGIN_STATE_DIRECTORY to MP_STATE_DIRECTORY | |||||
2014-01-21 | New default installation prefix: /usr/local | Holger Weiss | 1 | -1/+1 | |
Install into /usr/local instead of /usr/local/nagios by default, in order to comply with the Filesystem Hierarchy Standard (FHS) and presumably the expectations of most users. | |||||
2014-01-19 | Project rename initial commit. | Monitoring Plugins Development Team | 2 | -3/+3 | |
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline. | |||||
2013-08-18 | Fix the "check_http -d" tests | Holger Weiss | 1 | -4/+4 | |
2013-08-18 | added ability to check regex against http headers. booyah! | linkslice | 1 | -0/+11 | |
2012-08-10 | tests/check_http.t: Fix whitespace issues | Holger Weiss | 1 | -10/+8 | |
In tests/check_http.t, tabs are used for indentation. While at it, apply another few cosmetic changes. | |||||
2012-08-10 | tests/check_http.t: Update the number of SSL tests | Holger Weiss | 1 | -1/+1 | |
2012-08-10 | tests/check_http.t: Fix test case | Holger Weiss | 1 | -1/+1 | |
Fix the test case which is meant to make sure that check_http -C <n>,<m> [...] returns a CRITICAL state if <m> is large enough. | |||||
2012-06-27 | check_snmp: use single quotes for perf data labels | Sven Nierlein | 1 | -1/+5 | |
2012-06-26 | Fix performance data label containing spaces in check_snmp (Jochen Bern) | Sven Nierlein | 1 | -1/+22 | |
Add --perf-oids option for check_snmp to retain optional 1.4.14 compatibility | |||||
2012-06-25 | added test case for certificate checs with both warning and critical values | William Leibzon | 1 | -0/+4 | |
2011-02-04 | check_http: check for and print the certificate cn | Thomas Guyot-Sionnest | 1 | -3/+3 | |
This patch adds a check for the certificate cn (hostname) to normal certificate checks. It returns CRITICAL if th cn is missing, otherwise it prints it in the normal output. Patch by Stéphane Urbanovski | |||||
2011-01-21 | Fix for regex input of '|', being output causing problems with Nagios' ↵ | Ton Voon | 1 | -1/+5 | |
parsing of performance data. Now replaced with ',' | |||||
2011-01-05 | Test updates... | Thomas Guyot-Sionnest | 2 | -4/+8 | |
1. Timetick test could fail with uptime > 115 days. Thresholds are double type, so it's safe to put a large number even for 32bit systems. 2. Add a test based on an invalid bug report, worthy anyway. | |||||
2010-11-30 | Fix minor test issues | Thomas Guyot-Sionnest | 2 | -21/+28 | |
My Test::More wouldn't print the total number of tests anymore, moving the plan at the top appears to fix it. At the same time I made check-http.t eval the special modules so it can skip the tests instead of failing. | |||||
2010-11-30 | Revert "check_snmp now considers strings returned by SNMP that contain just" | Thomas Guyot-Sionnest | 1 | -5/+1 | |
This reverts commit 896962a1ad1b7d7c75d42c565b06cc799feb0a7c. Conflicts: NEWS plugins/tests/check_snmp.t Notes: Reverting because I rebased a patch that was doing the same thing, plus fixing more related regressions, and both didn't work together. I kept the tests intact except for one that wouldn't pass on 1.4.14 either | |||||
2010-11-30 | State-based tests enhancements | Thomas Guyot-Sionnest | 1 | -1/+4 | |
- Use /var/tmp for state if no state dir environment variable is set, this avoid the need for a writable localstatedir during tests. - Use "rm -f", mostly to avoid printing out garbage of the directory doesn't exists | |||||
2010-11-15 | check_snmp now considers strings returned by SNMP that contain just | nagios | 2 | -4/+19 | |
numbers (according to strtod) to be a numeric value for threshold and performance data | |||||
2010-06-30 | Corrected rate_multiplier calculation | tonvoon | 1 | -1/+1 | |
2010-06-30 | Removed suffix of "-rate" and let user decide label via --label | tonvoon | 1 | -5/+5 | |
2010-06-30 | Tests for --rate-multiplier option | tonvoon | 1 | -0/+13 | |
2010-06-23 | Added option to invert search results | tonvoon | 2 | -4/+20 | |
2010-06-23 | Display missing search string and URL when failed (Duncan Ferguson #2999924) | tonvoon | 1 | -1/+9 | |
2010-06-23 | Added state retention APIs. Implemented for check_snmp with --rate option. | Ton Voon | 2 | -4/+41 | |
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-04-21 | Fix tests and update NEWS file | Thomas Guyot-Sionnest | 1 | -4/+49 | |