I have a problem with backend ID, when i created the backend i cant see it in the drop-down list. But when i select this backend i receive an error message.
All I had to do was change the permissions on the maps via the previous post and it started working.
If it's still failing after that you'll need to check DB connectivity to all FOUR nagvis backends you have defined in your /usr/local/nagvis/etc/nagvis.inc.php via: - You can find all four IP address in your nagvis.inc.php file, you can search for dbhost to find them
[root@DCPNAGIOSXIN1 ~]# mysql -h 172.19.2.55 -u'ndoutilsprod' -p'n@gweb' nagios -e 'status;'
mysql: [Warning] Using a password on the command line interface can be insecure.
--------------
mysql Ver 8.0.21 for Linux on x86_64 (Source distribution)
Connection id: 33068
Current database: nagios
Current user: [email protected]
SSL: Cipher in use is TLS_AES_256_GCM_SHA384
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 8.0.21 Source distribution
Protocol version: 10
Connection: 172.19.2.55 via TCP/IP
Server characterset: utf8mb4
Db characterset: utf8
Client characterset: utf8mb4
Conn. characterset: utf8mb4
TCP port: 3306
Binary data as: Hexadecimal
Uptime: 8 hours 47 min 33 sec
Threads: 58 Questions: 2423792 Slow queries: 0 Opens: 571811 Flush tables: 3 Open tables: 32 Queries per second avg: 76.573
--------------
[root@DCPNAGIOSXIN1 ~]# mysql -h 172.19.2.110 -u'ndoutilsprod' -p'n@gweb' nagios -e 'status;'
mysql: [Warning] Using a password on the command line interface can be insecure.
^C
[root@DCPNAGIOSXIN1 ~]# mysql -h 172.19.2.110 -u'ndoutilsprod' -p'n@gweb'
mysql: [Warning] Using a password on the command line interface can be insecure.
^C
[root@DCPNAGIOSXIN1 ~]#
You will need to grant permissions from your XI server to communicate with 172.19.2.110's nagios DB, once that's done the command and functionality should work:
- Change X.X.X.X to the IP address of your XI server
- The commands below will need to be run while connected to 172.19.2.110's DB