Веб-інтерфейс NetWorker не зміг отримати останні дані для моніторингу панелі інструментів

Summary: Веб-інтерфейс користувача NetWorker (NWUI) використовується для управління зоною даних NetWorker. Вкладка «Інформаційна панель NWUI» відображає помилку «Не вдалося отримати останні показники для панелі керування» та не відображає деталі політик, робочих процесів і дій. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Консоль NWUI показує:

Failed to fetch latest counts for Dashboard
Error is fetching count of activities based on status from Monitoring Service


Скріншот


C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\logs\nwui.log показує:

...
HH:MM:SS [https-jsse-nio-9090-exec-6] INFO  c.e.n.c.n.impl.GlobalApi - Authenticating user Administrator on authentication server Emcbkp01p.berlitz.com.co.
HH:MM:SS [https-jsse-nio-9090-exec-6] INFO  c.e.n.c.n.impl.GlobalApi - Testing server details for nw calls.
HH:MM:SS [https-jsse-nio-9090-exec-8] ERROR c.e.n.c.n.i.MonitoringApi - Error in fetching count of activities based on status from Monitoring Service. java.net.ConnectException: Connection refused: connect
...


C:\Program Files\EMC NetWorker\nwui\monitoring\app\logs\monitoring-app.log показує:

...
YYYY-MM-DD HH:MM:SS [TomcatWebServer] [main] INFO  org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 9095 (https)
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["https-jsse-nio-9095"]
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.catalina.core.StandardService - Starting service [Tomcat]
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.48]
YYYY-MM-DD HH:MM:SS [DirectJDKLog] [main] INFO  org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/monitoring] - Initializing Spring embedded WebApplicationContext
YYYY-MM-DD HH:MM:SS [ServletWebServerApplicationContext] [main] INFO  org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 3092 ms
YYYY-MM-DD HH:MM:SS [DataSourceConfig] [main] INFO  monitoring - DB password file not present.
YYYY-MM-DD HH:MM:SS [DataSourceConfig] [main] ERROR monitoring - Unable to retrieve the database password from Keystore
java.lang.NullPointerException: null
	at com.dell.emc.nw.monitoring.utils.DataSourceConfig.getDBPasswordFromKeystore(DataSourceConfig.java:75) ~[classes!/:?]
	at com.dell.emc.nw.monitoring.utils.DataSourceConfig.getDataSource(DataSourceConfig.java:64) ~[classes!/:?]
	at com.dell.emc.nw.monitoring.utils.DataSourceConfig$$EnhancerBySpringCGLIB$$c434748a.CGLIB$getDataSource$0(<generated>) ~[classes!/:?]
...

Cause

Процес моніторингу потребує дозволів сховища ключів NWUI для заповнення інформації про приладну дошку. Об'єкт "monitoringdbpasswordalias" псевдонім було видалено з файлу сховища ключів NWUI (nwui.keystore), і процес моніторингу не може автентифікуватися. Причина зникнення "monitoringdbpasswordalias" Псевдонім невідомий.

Сховище ключів NWUI має показувати "monitoringdbpasswordalias" Псевдонім:

C:\>"C:\Program Files\NRE\java\jre1.8.0_321\bin\keytool.exe" -list -keystore  "C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore"
Enter keystore password:
Keystore type: PKCS12
Keystore provider: SunJSSE

Your keystore contains 3 entries

emcauthctomcat, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): B2:D3:E1:8D:65:12:8D:51:3F:EA:CA:41:9C:A9:93:C2:21:8D:A7:A7:25:F8:CE:69:F9:21:90:55:37:43:6E:4E
emcauthcsaml, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): 5B:9D:23:57:5F:A7:A0:0F:83:D5:AE:61:C2:06:AF:60:0C:60:19:F8:7B:4F:6E:D2:BC:18:DD:96:6E:A1:A5:FB
monitoringdbpasswordalias, MONTH DD, YYYY SecretKeyEntry,

У постраждалому середовищі відсутній "monitoringdbpasswordalias" Псевдонім:

C:\>"C:\Program Files\NRE\java\jre1.8.0_321\bin\keytool.exe" -list -keystore  "C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore"
Enter keystore password:
Keystore type: PKCS12
Keystore provider: SunJSSE

Your keystore contains 2 entries

emcauthctomcat, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): B2:D3:E1:8D:65:12:8D:51:3F:EA:CA:41:9C:A9:93:C2:21:8D:A7:A7:25:F8:CE:69:F9:21:90:55:37:43:6E:4E
emcauthcsaml, MONTH DD, YYYY, PrivateKeyEntry,
Certificate fingerprint (SHA-256): 5B:9D:23:57:5F:A7:A0:0F:83:D5:AE:61:C2:06:AF:60:0C:60:19:F8:7B:4F:6E:D2:BC:18:DD:96:6E:A1:A5:FB

Resolution

Об'єкт "monitoringdbpasswordalias" псевдонім має бути повторно створений у сховищі ключів NWUI. Пароль сховища ключів NWUI потрібен для автентифікації у файлі сховища ключів NWUI. У цій процедурі замість <пароля> слід використовувати пароль сховища ключів NWUI.
 

  1. Відкрийте вікно командного рядка з опцією «Запуск від імені адміністратора».
  2. Створіть копію сайту pg_hba.conf:
copy "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf" "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf_original"

 

  1. Відкрийте файл pg_hba.conf за допомогою текстового редактора:
notepad "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf"
  • Змініть МЕТОД з "md5" на "trust" для всіх некоментованих користувачів у нижній частині файлу
  • Збережіть зміни на pg_hba.conf
  1. Зупиніть "Базу даних веб-інтерфейсу NetWorker" і "Сервер веб-управління NetWorker" services: net stop nwui
  2. Запустіть служби "NetWorker WebUI Database" та "NetWorker Web Management UI Server": net start nwui
  3. Підключіться до бази даних NWUI за допомогою psql:
"C:\Program Files\EMC NetWorker\nwui\monitoring\postgres\12\bin\psql" -U nwuiuser -d nwui -p 5435
  1. Змініть пароль "nwuiruser" на пароль сховища ключів NWUI: ALTER USER nwuiuser WITH PASSWORD 'password';
  2. Вийдіть ізз'єднання psql: quit
  3. Зупиніть роботу служб "NetWorker WebUI Database" та "NetWorker Web Management UI Server": net stop nwui
  4. Створіть новий файл nwuidb.conf:
notepad "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\nwuidb.conf"
  • Введіть код Base64 пароля> сховища <ключів NWUI у новий файл nwuidb.conf: https://www.base64encode.org/
  • Збережіть зміни в новому файлі nwuidb.conf.
  1. Скасуйте pg_hba.conf:
 copy "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf_original" "C:\Program Files\EMC NetWorker\nwui\monitoring\nwuidb\pgdata\pg_hba.conf"
  1. Запустіть служби "NetWorker WebUI Database" та "NetWorker Web Management UI Server": net start nwui
  2. Підтвердьте monitoringdbpasswordalias було створено в сховищі ключів NWUI:
"C:\Program Files\NRE\java\jre1.8.0_321\bin\keytool.exe" -list -keystore  "C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore"

 

  1.  Валідація симптому більше не зустрічається в NWUI.
Article Properties
Article Number: 000199953
Article Type: Solution
Last Modified: 30 Oct 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.