Skip to content

check_curl: Parameterized -S does not work without -I #2013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
oxzi opened this issue Aug 16, 2024 · 2 comments
Open

check_curl: Parameterized -S does not work without -I #2013

oxzi opened this issue Aug 16, 2024 · 2 comments

Comments

@oxzi
Copy link
Contributor

oxzi commented Aug 16, 2024

Hopefully this output explains it better than I could do with words:

$ ./check_curl -V
check_curl v2.4.0 (monitoring-plugins 2.4.0)
libcurl/8.9.1 LibreSSL/3.9.0 zlib/1.3.1.1-motley nghttp2/1.61.0 ngtcp2/1.6.0 nghttp3/1.4.0

$ ./check_curl -H monitoring-plugins.org -S
HTTP OK: HTTP/1.1 301 Moved Permanently - 388 bytes in 0.112 second response time |time=0.111791s;;;0.000000;10.000000 size=388B;;;0;
$ ./check_curl -H monitoring-plugins.org -S 1.2+
HTTP CRITICAL - Unable to lookup IP address for '1.2+': getaddrinfo returned -4 - non-recoverable failure in name resolution
$ ./check_curl -H monitoring-plugins.org --ssl=1.2+
HTTP OK: HTTP/1.1 301 Moved Permanently - 388 bytes in 0.118 second response time |time=0.117554s;;;0.000000;10.000000 size=388B;;;0;
$ ./check_curl -H monitoring-plugins.org -I 130.133.8.40 -S 1.2+
HTTP OK: HTTP/1.1 301 Moved Permanently - 388 bytes in 0.115 second response time |time=0.115050s;;;0.000000;10.000000 size=388B;;;0;
@RincewindsHat
Copy link
Member

hm, works with --ssl=1.2+, so parser error I guess

@oxzi
Copy link
Contributor Author

oxzi commented Sep 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy