Select to view content in your preferred language

Cannot register ArcGIS Server in ArcGIS Monitor 2023.3.1 (An error occurred running the observer: undefined is not a function)

2440
6
Jump to solution
03-06-2024 11:42 AM
Feike
by
Emerging Contributor

In a fresh install of ArcGIS Monitor 2023.3.1 I have some troubles adding ArcGIS Servers. I can add some of our servers, but also some not. When registering the component Monitor responds with an error: An error occurred running the observer. Undefined is not a function (see attachment). 

All our ArcGIS Servers are on 11.1.

I read the solution mentioned in the another question, but we don't have any usage reports with number-only names.

I also tried without port 6443 in the url with no luck. 

Any ideas?

1 Solution

Accepted Solutions
Feike
by
Emerging Contributor

Problem solved. I looked at the Statistics Reports in ArcGIS Server Manager, but realized there's also the admin-interface. There I found usage reports with number-only names. After removing these, adding the ArcGIS Server succeeded. Thanks!

View solution in original post

0 Kudos
6 Replies
GeoJosh
Esri Regular Contributor

Hi @Feike,

Can you please attach a screenshot showing the usage reports that exist on the ArcGIS Server you are trying to register?

Josh

DavidColey
MVP Regular Contributor

Hi @GeoJosh - I am experiencing the exact same error in trying to register both my host site and my federated ArcGIS Server sites with a new Monitor 2023.3.1 setup on a Windows Server 2022 VM. 

I am using the host name https://myserver.net:6443/arcgis and the ArcGIS Server primary site account and password, per the Monitor help instructions.

As with @Feike , the portal component registered just fine.

Everything (Portal, Host, Federated Site) is at 11.1 on Windows Server 2022 VMs.  In fact, the 11.1 installs on these servers are new, not upgrades as we migrated servers from Windows 2016 to Windows 2022.

The Usage Reports from the ArcGIS Server Admin Directory:

As you can see, these are the default usage reports, I do not see any reports with 'number-only names'. 

Any suggestions and help is appreciated.

@DerekLaw 

0 Kudos
DavidColey
MVP Regular Contributor

Actually I got this working:

For the Host Site, I simply had not ever opened the statistics from Manager>Logs>Statistics.  Once I did that, the ArcGIS Server Component for the Hosting Site registered as expected.

For the Federated Site, I did have a numeric-names usage report for 'Max Timeouts for the past week'.  I think this report was inherited when I migrated our Federated Site to the new Windows Server 2022 VMs by Join Site method.  Once I deleted this usage report in ArcGIS Server Admin, the ArcGIS Server Component for the Federated Site registered as expected.

 

ZahidMia
Emerging Contributor

We have ArcGIS Monitor 2023.3.1 in ArcGIS Enterprise 10.9.1. I have looked into BUG-000165344 for ArcGIS Monitor

Check the ArcGIS Server Admin interface and found no report with number-only names. However, there are reports titled as below:

  1. agm-IP Address
  2. Max response times for the last 7 days
  3. Timed-out requests for the last 7 days
  4. Total requests for the last 7 days

Still having same error message “An error occurred running the observer”

Any advice is highly appreciated.

0 Kudos
Feike
by
Emerging Contributor

Problem solved. I looked at the Statistics Reports in ArcGIS Server Manager, but realized there's also the admin-interface. There I found usage reports with number-only names. After removing these, adding the ArcGIS Server succeeded. Thanks!

0 Kudos
Becky_Brown
Emerging Contributor

Thank you for sharing this! Last week, I used the Statistics Reports in Server Manager for the first time, which caused the connection to the ArcGIS Server to break in ArcGIS Monitor. I discovered a report with a numerical name in the server admin site, deleted it, and, after re-entering the credentials, ArcGIS Monitor was able to regain the connection.

I would have been scratching my head for a while if it wasn't for this post!