Articles in this section

360 Monitoring (Server Monitoring) does not work in WHM dashboard with 404 error message

Plesk 360 Platform 360

Symptoms

  • 360 Monitoring (Server Monitoring) does not work in WHM dashboard:

    Error: [POST] "https://api.monitoring360.io/metrics/get-metrics-data": 404

  • /etc/agent360-token.ini or /root/.360monitoring/config or both do not exist at the server.

Cause

Corrupted 360 Monitoring installation.

Resolution

  1. Connect to the server via SSH.
  2. Clean the current failed installation:

    # /var/cpanel/plugins/monitoring/clean_snapshot

  3. Re-create the correct 360 Monitoring installation:

    # /scripts/initialize_360monitoring

I.

If /etc/agent360-token.ini is missed :

  1. Create a new file by running the installation wget command once again.
  2. Run the next command:

    # /scripts/initialize_360monitoring

II.

If /root/.360monitoring/config is missed:

  1. Create a new file /root/.360monitoring/config with the next content:

    {"user_id":"USER_ID","api_key":"API_KEY_FROM_MONGO_DB","enabled":1}

  2. Run the next command:

    # /scripts/initialize_360monitoring

III.

If both files are missed:

  1. Create a new file by running the installation wget command once again.
  2. Create a new file /root/.360monitoring/config with the next content:

    {"user_id":"USER_ID","api_key":"API_KEY_FROM_MONGO_DB","enabled":1}

  3. Run the next command:

    # /scripts/initialize_360monitoring

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.