Hello,
We've been using ArcGIS Monitor 2023 since February when it was released and we have so many alerts that go off daily that our 100GB drive that has the postgres db is almost full. For reference, we currently have ~1500 components that are registered to Monitor and we are expecting that number to increase in the coming months. I recall ArcGIS Monitor automatically clears out old alerts after a certain time but don't remember how often. Would it be possible to change the frequency of how often it happens? Or what would the manual process look like if we were to create a procedure to do it ourselves?
Thanks!
Alex Bakhtin
@AlexBakhtin Thank you for this feedback.
Can you provide more info regarding the type of components and collection interval? Are these mainly arcgis server services, collecting 5 min? How many arcgis server node? They all would collect process information, which might explain the storage usage. We'll update documentation shortly.
Please let me know once documentation is updated.
We are monitoring approx. 5000 components (different environments) and currently at around 330gb for - would be good to understand what storage requirements will be going forward.
We have left the collecting time as default for all components. Is there a way to change this setting for all components or is this an individual setting per component?
For retention period for collection metrics etc.. is this setting controlled in Administrator under the Log Retention Period option or is this just the settings for the log files for Monitor itself?
@MKR , Of course, we'll announce shortly once the doc is updated.
The UI for partition retention will be under Administration>Database. This feature is scheduled to be part of 2023.2, June 2023.
So please allocate disk space for the next 2-3 months. In your case, it might be additional 300-400 GB.
If provisioning this disk space is an issue, please let us know. We can walk you through how to do this manually: this feature frees up disk space by dropping PostgreSQL older partitions in metrics_data table.
Thanks Andrew,
We should be ok with disk space. Likely we would only want to keep 2-3 months worth of historic data at any one time.
Hi there!
We are monitoring approx. 2000 components. We are experiencing the same issue... C drive is full again and again...
We cannot continue extending it, so we'd need you to provide how to do this manually (to free up disk space by dropping PostgreSQL older partitions in metrics_data table).
Additionally, we have found that suddenly there is a big peak on the disk space usage (see the pattern):
Thank you in advance!
I will contact you directly.
Hi @AndrewSakowicz, thanks for the information! With regards to the components and collection interval:
Hi Andrew,
we are also facing the issue that ArcgisMonitor postgresql DB won't shrink.
We tried to reduce the log time to 1 day, to unregister various components and even a "full vacuum" via pgAadmin didn't reduce the size of the database.
In our hosting environment, it is necessary to manage the processes related to monitored items and growth rates on the DB side.
Can you please provide us with instructions on how to manually clean up the ArcgisMonitor entries of the postresql DB?
We Use MS Server 2022 (latest patches), ArcGIS Monitor 2023.1 (latest) and pgAdmin 6.19.
Thank you very much.
Alexander
@AlexanderSchiestl please follow: