Sven Nierlein
d7dcca22ae
tests: rework test parameters
...
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 15:20:19 +01:00
Sven Nierlein
0cff5f2d93
remove hardcoded verisign.com tests
...
and make it configurable
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12 22:55:52 +01:00
Sven Nierlein
d8354ec15d
fixed tests when there is no direct internet connection
...
- check http had wrong number of skipped tests
- check tcp did not use the 'no internet' flag at all
2013-12-27 01:14:50 +01:00
Sven Nierlein
7b122f13db
tests: move ipv6 detection into NPTest module
2013-09-14 19:36:20 +02:00
Sven Nierlein
c0926c2b1e
check_tcp: only test ipv6 if ping6 works
2013-09-12 23:39:31 +02:00
Sven Nierlein
817ea52cc0
fixed check_tcp test
...
A check with thresholds 9000,1 must exit with warning if the certificate expires in less
than 9000 but more than one day.
2013-08-21 17:48:14 +02:00
Sven Nierlein
5fce5ceaeb
check_tcp: don't ignore trailing options
...
"./check_tcp -6 -p 80 host" leads to an error:
TCP CRITICAL - Invalid hostname, address or socket: 127.0.0.1
because 127.0.0.1 is the fallback host, the tailing hostname
was ignored.
2013-02-10 23:09:49 +01:00
Sven Nierlein
24242f6ab7
check_http: added test for warning thresholds
...
fixed typo in sslutils
2012-06-25 12:53:47 +02:00
Thomas Guyot-Sionnest
6fbd14fea5
Removing CVS/SVN tags and replacing with git-based versioning
...
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-23 05:38:47 +00:00
Ton Voon
3120fe3806
Reverted commits 1898 and 1899 due to reversion of 1879
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08 11:57:24 +00:00
Thomas Guyot-Sionnest
9693226ceb
Fix test breakages for commit r1879: check_tcp now returns UNKNOWN with an invalid hostname on command line
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08 11:27:57 +00:00
Thomas Guyot-Sionnest
15a018f87d
Make check_tcp.t compatible with picky web servers.
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1714 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-18 07:17:59 +00:00
Ton Voon
7106d10ab2
Documentation fix re: --escape flag. Fix of ./check_tcp test to webservers
...
to make it more standards compliant
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1620 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-14 10:11:07 +00:00
Thomas Guyot-Sionnest
e8a3864bca
Fix reporting bug using expect, affecting (not fixing) Debian bug #392610 : check_jabber always return warning
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1596 f882894a-f735-0410-b71e-b25c423dba1c
2007-01-30 05:01:00 +00:00
Peter Bray
cdc06cc3e2
[1185704] New Testing Infrastructure.
...
Complete rewrite of the original testing infrastructure and
all test cases (to use the new infrastructure)
See NPTest.pm and issue 1185704 for more details.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1207 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25 01:47:15 +00:00
Ton Voon
d5af470d28
Fixed tests (Mathew Ericson - 738604)
...
CV: ----------------------------------------------------------------------
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@517 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-17 17:36:25 +00:00
Ethan Galstad
44a321cb8a
Initial revision
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28 06:42:51 +00:00