Failed to check health: Zend_Db_Adapter_Exception

Hi,

I was facing the similar issue and resolved all of them but now I am stuck at icinga web2 throwing below error.

Could you please help me understand the issue and the fix for the same?

ERROR - Failed to check health: Zend_Db_Adapter_Exception in /usr/share/icingaweb2/library/vendor/Zend/Db/Adapter/Pdo/Abstract.php:145 with message: SQLSTATE[08006] [7] could not translate host name “icinga” to address: Name or service not known

Probably better off making a new post @umanath

However, seems like a DNS issue:

You configured and IDO object with the hostname “icinga” and DNS cannot resolve that name. You should modify your IDO object to use the IP or FQDN of the database server.

I moved the topic out of the original, as I felt like it doesn’t belong with it.

1 Like