aboutsummaryrefslogtreecommitdiff
path: root/plugins/t/check_tcp.t
AgeCommit message (Collapse)Author
2018-12-04tests: rework test parametersGravatar Sven Nierlein
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.
2017-03-12remove hardcoded verisign.com testsGravatar Sven Nierlein
and make it configurable Signed-off-by: Sven Nierlein <sven@nierlein.de>
2013-12-27fixed tests when there is no direct internet connectionGravatar Sven Nierlein
- check http had wrong number of skipped tests - check tcp did not use the 'no internet' flag at all
2013-09-14tests: move ipv6 detection into NPTest moduleGravatar Sven Nierlein
2013-09-12check_tcp: only test ipv6 if ping6 worksGravatar Sven Nierlein
2013-08-21fixed check_tcp testGravatar Sven Nierlein
A check with thresholds 9000,1 must exit with warning if the certificate expires in less than 9000 but more than one day.
2013-02-10check_tcp: don't ignore trailing optionsGravatar Sven Nierlein
"./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.
2012-06-25check_http: added test for warning thresholdsGravatar Sven Nierlein
fixed typo in sslutils
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningGravatar Thomas Guyot-Sionnest
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-01-08Reverted commits 1898 and 1899 due to reversion of 1879Gravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Fix test breakages for commit r1879: check_tcp now returns UNKNOWN with an ↵Gravatar Thomas Guyot-Sionnest
invalid hostname on command line git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c
2007-05-18Make check_tcp.t compatible with picky web servers.Gravatar Thomas Guyot-Sionnest
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1714 f882894a-f735-0410-b71e-b25c423dba1c
2007-02-14Documentation fix re: --escape flag. Fix of ./check_tcp test to webserversGravatar Ton Voon
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-01-30Fix reporting bug using expect, affecting (not fixing) Debian bug #392610: ↵Gravatar Thomas Guyot-Sionnest
check_jabber always return warning git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1596 f882894a-f735-0410-b71e-b25c423dba1c
2005-07-25[1185704] New Testing Infrastructure.Gravatar Peter Bray
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
2003-05-17Fixed tests (Mathew Ericson - 738604)Gravatar Ton Voon
CV: ---------------------------------------------------------------------- git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@517 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28Initial revisionGravatar Ethan Galstad
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c