Open slalomsk8er opened 6 months ago
BUG DESCRIPTION IN ORDER TO CONFIRM SAME PROBLEM I got same issue but using "icingacli", without director. Checking manually with command icingacli x509 check host --ip xxx.xxx.xxx.xxx (or --host, or etc etc) or others results always: UNKNOWN - Host not found No other errors messages found.
ENVIRONMENT
Some suggestion about it? Thx in advance!!!
ANSWERING MYSELF - SOLVED ISSUE The Icinga docs about x509 module is not so clear (maybe for me but....???). In order to retrieve the correct certificate for a specific host (or subnet), you need to create a JOB with a icingaweb gui under Certificate Monitoring/Configuration/Jobs and scan JOB (manually or scheduled) in order to acquire data.
In this example I ran a scan to www.apple.com [23.14.136.246] after scanning all certificates are showed on the gui
Hope to be clear and help your issue.
BR
@blueman70 Thanks for your input. Sadly no help for my issue as the director import created the service from already detected FQDN/IP:port triplets and subsequent job runs loose the triplet and rediscover them.
Describe the bug
I get regularly Unknown for x509 checks with the reason "Host not found"
To Reproduce
Expected behavior
Hosts don't vanish and reappear.
Screenshots
If applicable, add screenshots to help explain your problem.
Your Environment
icinga2 --version
): r2.14.2-1php --version
): PHP 8.0.30