SSL_CERT UNKNOWN www.google.com: cannot find program: host #439
Replies: 6 comments 8 replies
-
It seems that your system (RedHat?) is missing the |
Beta Was this translation helpful? Give feedback.
-
oh... yes!!! my system is centos 7. after I installed, it seems work, thank you!!! |
Beta Was this translation helpful? Give feedback.
-
Please refer to the manual of your operating system on how to install
the "host" application on it.
Example for Debian: https://packages.debian.org/bullseye/bind9-host
Am 2023-01-27 11:42, schrieb YTS85205107:
… when I test www.google.com [1], it is shown SSL_CERT UNKNOWN
www.google.com [1]: cannot find program: host
./check_ssl_cert -d -v --host www.google.com [1]
[DBG] Shell: /bin/bash [DBG] GNU bash, version 4.2.46(2)-release
(x86_64-redhat-linux-gnu) [DBG] Copyright (C) 2011 Free Software
Foundation, Inc. [DBG] License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html> [DBG] [DBG] This is free software;
you are free to change and redistribute it. [DBG] There is NO
WARRANTY, to the extent permitted by law. [DBG] grep: grep [DBG] grep
(GNU grep) 2.20 [DBG] Copyright (C) 2014 Free Software Foundation,
Inc. [DBG] License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>. [DBG] This is free software: you
are free to change and redistribute it. [DBG] There is NO WARRANTY, to
the extent permitted by law. [DBG] [DBG] Written by Mike Haertel and
others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>. [DBG]
hostname: /bin/hostname [DBG] $PATH:
/root/perl5/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[DBG] Command line arguments: -d -v -H www.google.com [DBG] TMPDIR =
/tmp [DBG] Required HTTP headers: [DBG] Unrequired HTTP headers: [DBG]
Adding the domain if missing [DBG] HOST = www.google.com [DBG] SNI =
[DBG] HOST_NAME = www.google.com [DBG] HOST_ADDR = www.google.com
[DBG] NAMES_TO_BE_CHECKED = __HOST__ [DBG] Checking if www.google.com
is an IP address [DBG] www.google.com is not an IP address [DBG]
HOST_IS_IP. = 0 [DBG] Checking if www.google.com is an IP address
[DBG] www.google.com is not an IP address [DBG] Adding www.google.com
to NAMES_TO_BE_CHECKED [DBG] NAMES_TO_BE_CHECKED = www.google.com
[DBG] curl binary needed. SSL Labs = , OCSP = 1, CURL = ,
IGNORE_CONNECTION_STATE=, FILE_URI= [DBG] curl binary not specified
[DBG] curl available: /bin/curl [DBG] curl 7.29.0
(x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7
libidn/1.28 libssh2/1.8.0 [DBG] Protocols: dict file ftp ftps gopher
http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps
telnet tftp [DBG] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile
NTLM NTLM_WB SSL libz unix-sockets [DBG] -c specified: 15 [DBG] -w
specified: 20 [DBG] cleaning up temporary files SSL_CERT UNKNOWN
www.google.com: cannot find program: host
how can I resolve it?
thanks.
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
Links:
------
[1] http://www.google.com
[2] #438
[3]
https://github.com/notifications/unsubscribe-auth/AGIH5XVUPEXKEQRCKNJMQBDWUORCFANCNFSM6AAAAAAUIRMVZ4
|
Beta Was this translation helpful? Give feedback.
-
Oh sorry, you already solved it. Please ignore my last message^^
Am 2023-01-27 12:26, schrieb YTS85205107:
… oh... yes!!! my system is centos 7.
after I installed, it seems work, thank you!!!
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you are subscribed to this
thread.Message ID:
***@***.***>
Links:
------
[1]
#438 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/AGIH5XSHXZZTSDUCCI2Q7QDWUOWF5ANCNFSM6AAAAAAUIRMVZ4
|
Beta Was this translation helpful? Give feedback.
-
Hi, @matteocorti Sorry, can I ask one question again? I can use check_ssl_cert to check expire days, but when I define commands got "SSL_CERT UNKNOWN www.mydomain.com: cannot find program: hostname" I define the configure below command.cfgdefine command { hosts.cfgdefine host{ service.cfgdefine service{ nagios log may I know which setting is wrong? |
Beta Was this translation helpful? Give feedback.
-
The problem is the same as before:
You need to install the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when I test www.google.com, it is shown SSL_CERT UNKNOWN www.google.com: cannot find program: host
./check_ssl_cert -d -v --host www.google.com
[DBG] Shell: /bin/bash
[DBG] GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
[DBG] Copyright (C) 2011 Free Software Foundation, Inc.
[DBG] License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
[DBG]
[DBG] This is free software; you are free to change and redistribute it.
[DBG] There is NO WARRANTY, to the extent permitted by law.
[DBG] grep: grep
[DBG] grep (GNU grep) 2.20
[DBG] Copyright (C) 2014 Free Software Foundation, Inc.
[DBG] License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
[DBG] This is free software: you are free to change and redistribute it.
[DBG] There is NO WARRANTY, to the extent permitted by law.
[DBG]
[DBG] Written by Mike Haertel and others, see http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS.
[DBG] hostname: /bin/hostname
[DBG] $PATH: /root/perl5/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[DBG] Command line arguments: -d -v -H www.google.com
[DBG] TMPDIR = /tmp
[DBG] Required HTTP headers:
[DBG] Unrequired HTTP headers:
[DBG] Adding the domain if missing
[DBG] HOST = www.google.com
[DBG] SNI =
[DBG] HOST_NAME = www.google.com
[DBG] HOST_ADDR = www.google.com
[DBG] NAMES_TO_BE_CHECKED = HOST
[DBG] Checking if www.google.com is an IP address
[DBG] www.google.com is not an IP address
[DBG] HOST_IS_IP. = 0
[DBG] Checking if www.google.com is an IP address
[DBG] www.google.com is not an IP address
[DBG] Adding www.google.com to NAMES_TO_BE_CHECKED
[DBG] NAMES_TO_BE_CHECKED = www.google.com
[DBG] curl binary needed. SSL Labs = , OCSP = 1, CURL = , IGNORE_CONNECTION_STATE=, FILE_URI=
[DBG] curl binary not specified
[DBG] curl available: /bin/curl
[DBG] curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0
[DBG] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
[DBG] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets
[DBG] -c specified: 15
[DBG] -w specified: 20
[DBG] cleaning up temporary files
SSL_CERT UNKNOWN www.google.com: cannot find program: host
how can I resolve it?
thanks.
Beta Was this translation helpful? Give feedback.
All reactions