Page 1 of 1

Nagvis backend not working

Posted: Thu Aug 07, 2025 9:01 am
by ThomasB
Hello,

I'm installing Nagios 4 with Nagvis 1.9.40. I'm having a problem with Nagvis and I'm at a loss as to where the problem might be coming from.

When I access Nagvis, I get the following error: The backend with the ID "backend_ndomy_1" is not defined.
I'm sharing my configuration for the nagvis.ini.php file.

-------------------------------------
[defaults]
backend="backend_ndomy_1"

[backend_ndomy_1]
backendtype="ndomy"
dbhost="localhost"
dbport=3306
dbname="nagios"
dbuser="ndoutils"
dbpass="mypassword"
dbprefix="nagios_"
dbinstancename="default"
maxtimewithoutupdate=180
htmlcgi="/nagios/cgi-bin"
;dbcharset="utf8"
--------------------------------------

I have a MariaDB database and I use NDOUtils. I tested my ndoutils account and it is functional.

-------------------------------------------------------------------------------------------
root@Nagios:/home/NagiosVM# mysql -u ndoutils -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 94
Server version: 10.11.13-MariaDB-0ubuntu0.24.04.1 Ubuntu 24.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>
-------------------------------------------------------------------------------------------

If anyone has any ideas, I'm all ears. Thank you very much.

Re: Nagvis backend not working

Posted: Thu Aug 14, 2025 4:44 pm
by gwesterman
Hi ThomasB,

Try changing:

backend="backend_ndomy_1"

to:

backend="ndomy_1"

Let us know if that works. Thank you!

Re: Nagvis backend not working

Posted: Mon Aug 18, 2025 4:09 am
by ThomasB
Hi gwesterman,

It works! Thank you very much for your answer and the solution.

Re: Nagvis backend not working

Posted: Mon Aug 18, 2025 4:33 pm
by gwesterman
You are welcome!

Glad I could help.