漏洞 ID 编号 |
BUG-000175372 |
已提交 | March 26, 2025 |
上次修改时间 | August 27, 2025 |
适用范围 | ArcGIS Monitor |
找到的版本 | 2024.1.1 |
操作系统 | Windows OS |
操作系统版本 | N/A |
修正版本 | Server 2025.0 |
状态 | Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
|
解决办法
- Shutdown ArcGIS Monitor.
- Take snapshot of ArcGIS Monitor Server.
- Create a database backup for good measure.
- Generate CREATE scripts of views that use metrics data (alerts_view, metrics_data_view, metrics_view).
- To generate scripts you would
- log into pgAdmin4.
- Expand the Monitor Database.
- Expand Schemas.
- Expand views.
- Right click the desired view (alerts_view, metrics_data_view, metrics_view).
- Copy the script from the new window to Notepad or Notepad++
- Drop above views that depend on metric_id (alerts_view, metrics_data_view, metrics_view).
- ALTER TABLE metrics ALTER COLUMN id TYPE BIGINT.
- ALTER TABLE metrics_data ALTER COLUMN metric_id TYPE BIGINT.
- ALTER TABLE alerts ALTER COLUMN metric_id TYPE BIGINT.
- ALTER sequence metrics_id_seq as bigint MAXVALUE 9223372036854775807.
- Recreate views previously dropped.
- Restart ArcGIS Monitor.
Please reach out to Marlon A. or Marlon S. for any clarification.
重现步骤