Collection of metrics
ISPmanager collects anonymous information about the use of control panel functions and errors that occur. This information contains only depersonalized data — the control panel does not transmit field, form, or table values, website information, etc. The information collected helps to improve the work of ISPmanager products.
Data collection can be partially disabled using the UsageStatAgree option of the COREmanager configuration file. Read more in Configuration file options.
The current version of ISPmanager does not provide disabling collection of metrics related to operation of:
- MySQL server;
- Dragon interface theme.
Collection of MySQL metrics
ISPmanager collects data on operation of MySQL with MySQLTuner utility. After updating the control panel, ISPmanager sends the log file of the /usr/local/mgr5/var/mysqlstat.log utility.
Example of data sent
{
"managers": ["ispmgr"],
"mysqltuner": [{
"additional": "",
"name": "innodb_buffer_pool_instances",
"status": "",
"value": "0"
}, {
"additional": "",
"name": "innodb_buffer_pool_size",
"status": "",
"value": "133169152"
}, {
"additional": "should be (=16M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.",
"name": "innodb_log_file_size",
"status": "",
"value": "50331648"
}, {
"additional": "",
"name": "max_connections",
"status": "",
"value": "151"
}, {
"additional": "recommendation",
"name": "configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1",
"status": "",
"value": ""
}, {
"additional": "recommendation",
"name": "before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2tcggtu",
"status": "",
"value": ""
}, {
"additional": "",
"name": "physical memory",
"status": "[--]",
"value": "3.7G"
}, {
"additional": "",
"name": "maximum reached memory usage",
"status": "[OK]",
"value": "174.3M (4.61% of installed RAM)"
}, {
"additional": "",
"name": "maximum possible memory usage",
"status": "[OK]",
"value": "345.4M (9.14% of installed RAM)"
}]
}
Collection of Dragon theme metrics
ISPmanager collects the dragon interface theme metrics in the directory /usr/local/mgr5/var/ispmgr_metric/. The data are sent by a cron job:
## ISPmanager metric task
*/5 * * * * /usr/local/mgr5/sbin/cron-ispmgr sbin/metric >/dev/null 2>&1
Note
Files with metrics are deleted from the server only after they have been sent. If you disable the task in cron, the files will be copied and take up space on the server disk.
Example of data sent
{
"appVersion": "5.275.0-2020.11.18_21:33",
"front": [{
"data": {
"totalSize": null
},
"date": 1605761504871,
"entryType": "totalSize"
}, {
"date": 1605761504871,
"entryType": "lastByte",
"startTime": 859
}, {
"data": {
"resolution": {
"height": 900,
"width": 1440
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"
},
"date": 1605761505462,
"entryType": "browser"
}],
"ip": "10.70.2.45",
"isApi": false,
"panelData": {},
"panelInstanceId": 1,
"panelLisence": "5fecebc86f3786c6d696c79c46729c239dd6ffc86f384e91bd73a27fb57e9",
"panelType": "isp",
"panelUserId": 15073720462352697000,
"panelUserRole": ["30"],
"panelVersion": "5.275.0-2020.11.18_21:33",
"product": [{
"data": {
"duration": 395,
"pathname": "/dashboard/dashboard/0"
},
"date": 1605761505241,
"event": "pm-visibility"
}, {
"data": {
"func": "firewall"
},
"date": 1605761506834,
"event": "user_click_main_menu_item"
}, {
"data": {
"duration": 1785,
"pathname": "/list/scheduler/2?p_num=1"
},
"date": 1605761507034,
"event": "pm-visibility"
}],
"tabUID": 8938747912055228000
}