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.inior/root/.360monitoring/configor both do not exist at the server.
Cause
Corrupted 360 Monitoring installation.
Resolution
- Connect to the server via SSH.
Clean the current failed installation:
# /var/cpanel/plugins/monitoring/clean_snapshot
Re-create the correct 360 Monitoring installation:
# /scripts/initialize_360monitoring
If /etc/agent360-token.ini is missed :
- Create a new file by running the installation wget command once again.
Run the next command:
# /scripts/initialize_360monitoring
If /root/.360monitoring/config is missed:
Create a new file
/root/.360monitoring/configwith the next content:{"user_id":"USER_ID","api_key":"API_KEY_FROM_MONGO_DB","enabled":1}
Run the next command:
# /scripts/initialize_360monitoring
If both files are missed:
- Create a new file by running the installation wget command once again.
Create a new file
/root/.360monitoring/configwith the next content:{"user_id":"USER_ID","api_key":"API_KEY_FROM_MONGO_DB","enabled":1}
Run the next command:
# /scripts/initialize_360monitoring
Comments
Please sign in to leave a comment.