# Error: Icinga DB by icingadb UNKNOWN

**URL:** <https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151>\
**Category:** Icinga 2\
**Tags:** icingaweb2\
**Created:** [September 16, 2025, 6:44pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151 "2025-09-16T18:44:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dani\_G](https://community.icinga.com/user_avatar/community.icinga.com/dani_g/32/8679_2.png) [@Dani\_G](https://community.icinga.com/u/Dani_G)\
**Post date:** [September 16, 2025, 6:44pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/1 "2025-09-16T18:44:18Z")

</div>

Hi folks. I’m _very_ new to Icinga, so please bear with me.

I’m getting the following error in my Health panel and my google-fu has failed me.  
“Icinga DB by icingadb is UNKNOWN” along with a red banner at the bottom of the (every) screen that reads: “It seems that Icinga DB is not running. Make sure Icinga DB is running and writing into the database.”

I’ve been struggling with this for a week now and I could really use some help from those who know this system better than I do please.

I came across [this post](https://community.icinga.com/t/getting-error-icinga-db-by-icingadb-is-unknown-icinga-db-is-not-running-or-not-writing-into-the-database/13613) which gave me some hope but now I’m confused about versions. My GUI shows this for versions in the about screen:

 ![Screenshot from 2025-09-16 12-35-58](https://community.icinga.com/uploads/default/original/2X/8/851cacd6ae37b8aad46e26c80af9e5a04505de6f.png)

But my CLI shows this:  
 ![Screenshot from 2025-09-16 12-35-25](https://community.icinga.com/uploads/default/original/2X/d/dc7e178af6a1723d302ff0ed84f2174afca7751f.png)

My environment:

- Version used (`icinga2 --version`)  
**See above**

- Operating System and version  
**Ubuntu Server 24.04 LTS**

- Enabled features (`icinga2 feature list`)  
**Disabled features: compatlog debuglog elasticsearch gelf influxdb influxdb2 journald livestatus**  
**opentsdb perfdata syslog**

- Icinga Web 2 version and modules (System - About)  
**See above.**

- Config validation (`icinga2 daemon -C`)  
**[2025-09-16 14:35:51 -0400] information/cli: Icinga application loader (version: r2.15.0-1)**  
**[2025-09-16 14:35:51 -0400] information/cli: Loading configuration file(s).**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Committing config item(s).**  
**[2025-09-16 14:35:51 -0400] information/ApiListener: My API identity: chillbilly**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 13 Notifications.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 2 NotificationCommands.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 IcingaApplication.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 2 HostGroups.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 350 Hosts.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 Downtime.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 7 Comments.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 IcingaDB.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 FileLogger.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 3 Zones.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 CheckerComponent.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 IdoPgsqlConnection.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 ExternalCommandListener.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 Endpoint.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 2 ApiUsers.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 ApiListener.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 NotificationComponent.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 248 CheckCommands.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 GraphiteWriter.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 User.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 UserGroup.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 3 ServiceGroups.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 3 TimePeriods.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 361 Services.**  
**[2025-09-16 14:35:51 -0400] information/ConfigItem: Instantiated 1 ScheduledDowntime.**  
**[2025-09-16 14:35:51 -0400] information/ScriptGlobal: Dumping variables to file ‘/var/cache/icinga2/icinga2.vars’**  
**[2025-09-16 14:35:51 -0400] information/cli: Finished validating the configuration file(s).**

- If you run multiple Icinga 2 instances, the `zones.conf` file (or `icinga2 object list --type Endpoint` and `icinga2 object list --type Zone`) from all affected nodes  
**N/A**

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [September 16, 2025, 8:33pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/2 "2025-09-16T20:33:44Z")

</div>

what is the output of:

```auto
systemctl status icingadb

```

---

<div class="post-metadata">

**Author:** ![Dani\_G](https://community.icinga.com/user_avatar/community.icinga.com/dani_g/32/8679_2.png) [@Dani\_G](https://community.icinga.com/u/Dani_G)\
**Post date:** [September 16, 2025, 8:57pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/3 "2025-09-16T20:57:43Z")

</div>

Hello, and thanks for reading my question.  
The output of systemctl status icingadb looks like this:

 ![Screenshot from 2025-09-16 16-37-34](https://community.icinga.com/uploads/default/original/2X/2/2e266d719c2cd3f5719dc7c4c54eae64d3a7f538.png)

I checked the config.yml file to which it made reference but it _looks_ ok to my (admittedly novice) eyes.

---

<div class="post-metadata">

**Author:** ![Dani\_G](https://community.icinga.com/user_avatar/community.icinga.com/dani_g/32/8679_2.png) [@Dani\_G](https://community.icinga.com/u/Dani_G)\
**Post date:** [September 16, 2025, 9:04pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/4 "2025-09-16T21:04:13Z")

</div>

And just to follow on, here is the (redacted) yml file. I did double and triple check the usernames/passwords before redacting them. Everything else in the file is commented out.

 ![Screenshot from 2025-09-16 17-01-11](https://community.icinga.com/uploads/default/original/2X/5/588e4bc3273498faa3cd515ab4c461d877c5a41f.png)  
 ![Screenshot from 2025-09-16 17-02-33](https://community.icinga.com/uploads/default/original/2X/c/ca806160c169fae00b076508748d46b8c71b48b6.png)

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [September 16, 2025, 10:18pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/5 "2025-09-16T22:18:58Z")

</div>

I think you need to disable redis auth which is a different file:  
you can do that manually or with this sed command:

```auto
sed -i 's/protected-mode yes/protected-mode no/' /etc/icingadb-redis/icingadb-redis.conf
systemctl restart icingadb-redis-server
systemctl restart icingadb

```

---

<div class="post-metadata">

**Author:** ![Dani\_G](https://community.icinga.com/user_avatar/community.icinga.com/dani_g/32/8679_2.png) [@Dani\_G](https://community.icinga.com/u/Dani_G)\
**Post date:** [September 17, 2025, 5:54pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/6 "2025-09-17T17:54:29Z")

</div>

Thank you. With what you suggested I seem to have made some progress but I’m not there yet.  
I had to do a bit of tweaking to the yml file since it started hating the username/password combo but eventually I go this:

 ![Screenshot from 2025-09-17 13-52-39](https://community.icinga.com/uploads/default/original/2X/5/5fc3dc44b674ac6a47cc33a5a580d92154335c9f.png)

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [September 17, 2025, 6:06pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/7 "2025-09-17T18:06:35Z")

</div>

ok now your postgres user/password are not valid in the /etc/icingadb/config.yml

---

<div class="post-metadata">

**Author:** ![Dani\_G](https://community.icinga.com/user_avatar/community.icinga.com/dani_g/32/8679_2.png) [@Dani\_G](https://community.icinga.com/u/Dani_G)\
**Post date:** [September 17, 2025, 7:11pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/8 "2025-09-17T19:11:56Z")

</div>

Now I’m getting confused again. The way I got to this point was to comment out a password in the yml file.

This is what the database and redis sections of my yml file look like (there are no other uncommented lines). This results in the password authentication errors shown in my last post.

 ![Screenshot from 2025-09-17 15-04-07](https://community.icinga.com/uploads/default/original/2X/b/b88636443071e427680df7881299884eb91305d2.png)  
 ![Screenshot from 2025-09-17 15-04-39](https://community.icinga.com/uploads/default/original/2X/7/7bfa7c83e096847240fc65766e793d57bd8b6c7c.png)

If I uncomment the password like this:

 ![Screenshot from 2025-09-17 15-05-17](https://community.icinga.com/uploads/default/original/2X/d/dfe698154ef95052d51141f73278191f67864782.png)

I get this error again:

 ![Screenshot from 2025-09-17 15-00-27](https://community.icinga.com/uploads/default/original/2X/9/9add266d9a8f8ae1d9b36c806226a50419f8ade9.png)

Is there anywhere else that I should be changing / adding / removing username and password credentials or authorization options?

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [September 17, 2025, 8:18pm UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/9 "2025-09-17T20:18:08Z")

</div>

ok so you added a redis user password too? I missed that.

I use the redis server without user password auth, since it is only reachable locally.

Now your redis server rejects your redis credentials, and i can’t help much here.

how did you setup the redis user / password?

---

<div class="post-metadata">

**Author:** ![apenning](https://community.icinga.com/user_avatar/community.icinga.com/apenning/32/7669_2.png) [@apenning](https://community.icinga.com/u/apenning)\
**Post date:** [September 18, 2025, 7:17am UTC](https://community.icinga.com/t/error-icinga-db-by-icingadb-unknown/15151/10 "2025-09-18T07:17:28Z")

</div>

First, hello and welcome to the Icinga community! Thanks for asking your questions.

Seconding @moreamazingnick, there is no authentication for Redis by default as the daemon’s port is bound to the localhost.

Are you using the `icingadb-redis` service? And is it installed on the same host as the Icinga DB daemon? Have you changed its configuration?  
Please also paste the output of `systemctl status icingadb-redis`.

You can manually verify the login credentials for both Redis and PostgreSQL as follows:

```txt
# Redis w/o auth
$ redis-cli -p 6380
# Redis w/ password authentication
$ redis-cli -p 6380 -a PASSWORD
# Redis w/ username and password
$ redis-cli -p 6830 --user USERNAME --pass PASSWORD

# PostgreSQL (password will be asked)
$ psql -U icingadb icingadb

```

Please note, you do not have to change all configuration values in the Icinga DB configuration file. For example, when using no authentication in Redis, these configuration entries can be kept commented out.

The following would be a complete and valid configuration file for a local PostgreSQL database and a local Redis w/o authentication.

```yaml
database:
  type: pgsql
  host: localhost
  database: icingadb
  user: icingadb
  password: CHANGEME

redis:
  host: localhost

```

On another note, have you configured a PostgreSQL database/user and imported the schema as stated in the installation docs, [https://icinga.com/docs/icinga-db/latest/doc/02-Installation/Debian/#setting-up-the-database](https://icinga.com/docs/icinga-db/latest/doc/02-Installation/Debian/#setting-up-the-database)?
