You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Icinga Web 2 version and modules (System - About): 2.12.1 & 1.3.2 (latest x509)
Icinga 2 version used (icinga2 --version): r2.14.2-1
PHP version used (php --version): PHP 8.3.7
Server operating system and version: Ubuntu 22.04.4 LTS (jammy)
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
@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.30The text was updated successfully, but these errors were encountered: