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.
Nagvis backend not working
-
gwesterman
- Posts: 268
- Joined: Wed Aug 23, 2023 11:29 am
Re: Nagvis backend not working
Hi ThomasB,
Try changing:
backend="backend_ndomy_1"
to:
backend="ndomy_1"
Let us know if that works. Thank you!
Try changing:
backend="backend_ndomy_1"
to:
backend="ndomy_1"
Let us know if that works. Thank you!
Re: Nagvis backend not working
Hi gwesterman,
It works! Thank you very much for your answer and the solution.
It works! Thank you very much for your answer and the solution.
-
gwesterman
- Posts: 268
- Joined: Wed Aug 23, 2023 11:29 am
Re: Nagvis backend not working
You are welcome!
Glad I could help.
Glad I could help.